Jeremy Kemper
419226fe11
PostgreSQL: db:test:purge closes open database connections first. Closes #6236 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-09 06:34:57 +00:00
David Heinemeier Hansson
ccd32adeca
Fixed test:uncommitted on Windows (backslash issue) ( closes #4999 ) [paul@paulbutcher.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-09 02:23:03 +00:00
Jeremy Kemper
b96fbe81b8
Look for rake tasks in plugin subdirs. Closes #6259 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-22 00:03:05 +00:00
David Heinemeier Hansson
d48322ecca
Proper description syntax for test tasks ( closes #5308 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-05 15:35:50 +00:00
Michael Koziarski
7466c1125c
Formally deprecate the non-namespaced rake tasks. [Koz]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-04 00:49:08 +00:00
Jeremy Kemper
e34de4dc24
Firebird database tasks.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4597 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-09 00:36:49 +00:00
Jeremy Kemper
3398f74db1
db:test:clone should remove existing tables before reloading the schema. Closes #5607 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4557 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 18:35:06 +00:00
Jeremy Kemper
ce458a74a5
Don't assume Active Record is available. Closes #5497 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-28 23:51:50 +00:00
Rick Olson
441bba8091
Remove some cruft from the framework:update:configs task and fix the documentation. Closes #5300 . [jeremy@planetargon.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-21 02:11:59 +00:00
David Heinemeier Hansson
d84ba8b8a9
Added lib/ to the directories that will get application docs generated [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-28 23:05:08 +00:00
Jeremy Kemper
3de8239a7c
Session migration generator obeys pluralize_table_names. Closes #5145 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-22 21:09:47 +00:00
Marcel Molina
738c43c549
Add modifications to database rake tasks as part of #5139 . [schoenm@earthlink.net]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-21 20:17:22 +00:00
Jeremy Kemper
942132bda2
rake test:recent understands subdirectories. Closes #2925 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-12 04:41:23 +00:00
David Heinemeier Hansson
7a8ed3bbbf
Added pid file usage to script/process/spawner and script/process/reaper along with a directive in default config/lighttpd.conf file to record the pid. They will all save their pid file in tmp/pids [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4294 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-28 00:00:50 +00:00
David Heinemeier Hansson
bbbe4247a5
RAILS_ROOT, please
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-07 18:29:43 +00:00
David Heinemeier Hansson
c077a7308e
Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an uncommented RAILS_GEM_VERSION line, and not use require_gem [DHH] Added rake rails:update:configs to update config/boot.rb from the latest (also included in rake rails:update) [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-07 18:21:52 +00:00
David Heinemeier Hansson
3d99d33a64
Fixed that rake clone_structure_to_test should quit on pgsql if the dump is unsuccesful ( closes #4585 ) [augustz@augustz.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-05 03:15:50 +00:00
Scott Barron
6b3bc1bc52
A better idea, take the -qr HEAD log as before but use the root of the svn
...
instead of rails trunk. This allows svn 1.1.x (debian) to work with freeze
edge out of the box, without having to specify REVISION.
References #4356 , #4450 , #4569 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 17:44:34 +00:00
Scott Barron
fb8428fe0d
If using svn 1.1.x and no REVISION is specified, give an error message
...
to the user suggesting they use REVISION.
References #4450
Closes #4569
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 17:00:17 +00:00
David Heinemeier Hansson
f966c279cf
Fixed that spawner should daemonize if running in repeat mode [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 03:03:33 +00:00
David Heinemeier Hansson
802493ca6d
Added TAG option for rake rails:freeze:edge, so you can say rake rails:freeze:edge TAG=rel_1-1-0 to lock to the 1.1.0 release [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4133 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 02:38:12 +00:00
David Heinemeier Hansson
d08f838c0e
Added -f/--freeze option to rails command for freezing the application to the Rails version it was generated with [DHH] Fixed rake rails:freeze:gems ( closes #4518 ) [benji@silverinsanity.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-01 06:29:32 +00:00
David Heinemeier Hansson
31199a9e4a
Update description
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 01:11:09 +00:00
Michael Koziarski
66f546644b
Allow load_fixtures to load a subset of total fixture data. [Chad Fowler]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 00:59:55 +00:00
Scott Barron
c954a5b9a0
When doing svn log -qr HEAD trunk/url, a log message with revision will not
...
show if the last commit was not in the trunk/ path.
For example, changeset [4045] is for scriptaculous, so the command executed by
rails:freeze:edge:
svn -qr HEAD log http://dev.rubyonrails.org/svn/rails/trunk
Yields the following output:
------------------------------------------------------------------------
Causing the regex to bomb.
Change the command to use --limit 1 instead of HEAD, which will pick up the
last changeset against the trunk path.
Fixes #4356
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4046 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 16:12:48 +00:00
David Heinemeier Hansson
45e59c8a51
Dont require rake to run the server, just have a little undryness instead ( closes #4213 ) [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4037 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 03:29:09 +00:00
David Heinemeier Hansson
f340df798e
Clearing doesnt need migrations
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3996 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-20 05:49:19 +00:00
Rick Olson
30c42b21b3
Replaced old session rake tasks with db:sessions:create to generate a migration, and db:sessions:clear to remove sessions. [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3995 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-20 05:45:22 +00:00
David Heinemeier Hansson
8463cd646e
Fixed rails:freeze:gems for Windows ( closes #3274 ) [paul@paulbutcher.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-19 01:34:14 +00:00
David Heinemeier Hansson
f1a350a05c
Testing of uncommited should test controllers too ( closes #4265 ) [technomancy@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 06:47:46 +00:00
Tobias Lütke
e9d6fea533
Don't replace application.js in public/javascripts if it already exists [Cody Fauser]. Closes #4195
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-13 18:45:40 +00:00
Nicholas Seckar
c07c48d10a
Delay rake:uncommitted's execution of svn status
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-13 03:21:09 +00:00
David Heinemeier Hansson
2f9442c1d4
Added tracking of database and framework versions in script/about #4088 [charles.gerungan@gmail.com/Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-05 21:38:51 +00:00
Jamis Buck
b8134000c4
Silence the migration messages when importing the schema for tests
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-05 20:11:08 +00:00
David Heinemeier Hansson
3c756f85be
Dont mkdir for each framework now that theyre checked out in their entirety
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3779 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-05 19:29:40 +00:00
David Heinemeier Hansson
bfaf71cbc2
We need to silence_stderr on the call to svn in order not to get errors when svn is not available or the app is not checked in
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-04 18:04:55 +00:00
David Heinemeier Hansson
e9d6429ad3
Added that rake rails:freeze:edge will now just export all the contents of the frameworks instead of just lib, so stuff like rails:update:scripts, rails:update:javascripts, and script/server on lighttpd still just works ( closes #4047 ) [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-03 02:54:30 +00:00
David Heinemeier Hansson
8fdb4bc8f6
Added test:uncommitted to test changes since last checkin to Subversion ( closes #4035 ) [technomancy@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-02 00:17:53 +00:00
David Heinemeier Hansson
6f9ac79011
Update old alias too
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-01 16:13:33 +00:00
Scott Barron
9fcbd37d9c
When freezing to edge, we should also export railties/bin and railties/html so
...
that rails:update:scripts and rails:update:javascripts still function.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-01 16:02:50 +00:00
David Heinemeier Hansson
8adaf10eca
Match singular naming from directory structure [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 22:40:19 +00:00
Jamis Buck
1a91abe645
Add integration test support to app generation and testing
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 18:57:32 +00:00
David Heinemeier Hansson
c62c392289
Make clearing follow the object:action naming of the rest of the tasks
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 16:35:29 +00:00
David Heinemeier Hansson
14a8782e4f
Make clearing follow the object:action naming of the rest of the tasks
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 16:34:16 +00:00
David Heinemeier Hansson
1c59702464
Make clearing follow the object:action naming of the rest of the tasks
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 16:28:11 +00:00
David Heinemeier Hansson
abe5b1573e
Load, not dump, schema to test
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-27 06:03:50 +00:00
David Heinemeier Hansson
4df3554e8f
Include functionals in default test run
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-27 05:20:48 +00:00
David Heinemeier Hansson
985cb44110
Added namespaces to all tasks, so for example load_fixtures is now db:fixtures:load. All the old task names are still valid, they just point to the new namespaced names. "rake -T" will only show the namespaced ones, though [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-27 04:38:39 +00:00
David Heinemeier Hansson
67a978be5d
rake appdoc fails with unrecognized option ( closes #3757 ) [Jakob S]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-25 23:27:41 +00:00
David Heinemeier Hansson
3c8dbcbdf9
Fixed documentation tasks to work with Rake 0.7.0 ( closes #3563 ) [kazuhiko@fdiary.net]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3451 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-21 23:14:10 +00:00
Marcel Molina
16e41c6b75
Ignore version mismatch between pg_dump and the database server. Closes #3457 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 01:29:28 +00:00
Marcel Molina
56234bee14
Honor ActiveRecord::Base.pluralize_table_names when creating and destroying session store table. Closes #3204 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-18 20:20:49 +00:00
Marcel Molina
191dfe8c6d
Make load_fixtures include csv fixtures. Closes #3053 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-28 23:34:09 +00:00
Nicholas Seckar
ca7341d2a5
Fix freeze_gems so that the latest rails version is dumped by default
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-28 00:53:38 +00:00
Marcel Molina
7355d9f1bd
Make the db_schema_dump task honor the SCHEMA environment variable if present the way db_schema_import does. Closes #2931 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 08:01:41 +00:00
Jeremy Kemper
dfa8aa0e1e
PostgreSQL: the purge_test_database Rake task shouldn't explicitly specify the template0 template when creating a fresh test database. Closes #2964 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-20 12:00:46 +00:00
Tobias Lütke
60e425af33
replaced constant Plugin in documentation rake task with plugin local variable. This caused typo's migrations to fail because of name space collisions [Eridius]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-17 04:58:48 +00:00
Jeremy Kemper
fc51104fe2
Remove CHANGELOG from apidoc Rake task since it isn't included with new apps anymore.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-16 22:37:45 +00:00
Jeremy Kemper
d685e2cf18
SQLite: the clone_structure_to_test and purge_test_database Rake tasks should always use the test environment. Reference #2846 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-13 02:50:42 +00:00
Jeremy Kemper
91853b8a0d
SQLite: the clone_structure_to_test Rake task should always use the test environment. References #2846 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-13 01:12:48 +00:00
David Heinemeier Hansson
8e9484d3c1
Make sure that legacy db tasks also reference :database for SQLite ( closes #2830 ) [kazuhiko@fdiary.net]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-11 09:50:42 +00:00
Jeremy Kemper
917189b076
Correct versioning in :freeze_gems Rake task. Closes #2778 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-08 10:43:40 +00:00
Sam Stephenson
b661c9603a
Added an omnipresent RailsInfoController with a properties action that delivers an HTML rendering of Rails::Info (but only when local_request? is true). Added a new default index.html which fetches this with Ajax.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-08 04:26:34 +00:00
Scott Barron
c9ae41fe51
Adding new scripts should set them 0755.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 22:05:53 +00:00
Jamis Buck
c2eb22e5c6
Add 'add_new_scripts' rake task for adding new rails scripts to script/*
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 18:09:31 +00:00
David Heinemeier Hansson
3c8d425bb2
Fail gracefully from svn checks ( closes #2700 ) [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 09:46:40 +00:00
Jeremy Kemper
f457ef46cf
If specified, pass PostgreSQL client character encoding to createdb. Closes #2703 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-02 03:30:15 +00:00
Jeremy Kemper
b4b47e560e
Simplify gem search for :freeze_gems rake task.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-01 18:56:56 +00:00
Jeremy Kemper
30b9d6d28a
The freeze_gems Rake task accepts the VERSION environment variable to decide which version of Rails to pull into vendor/rails.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-01 18:26:06 +00:00
Jeremy Kemper
80a8d75bf1
The freeze_edge Rake task does smarter svn detection and can export a specific revision by passing the REVISION environment variable. For example: rake freeze_edge REVISION=1234. Closes #2663 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 17:17:05 +00:00
David Heinemeier Hansson
c21fdf31a5
Changed :dbfile to :database for SQLite adapter for consistency (old key still works as an alias) ( closes #2644 ) [Dan Peterson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 08:10:04 +00:00
Jeremy Kemper
eaf296f8fc
The *_plugindoc Rake tasks look deeper into the plugins' lib directories. Closes #2652 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-29 23:04:10 +00:00
Jeremy Kemper
39ada91f80
The PostgreSQL :db_structure_dump task limits its dump to the schema search path in database.yml.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-29 17:07:49 +00:00
Marcel Molina
2af3743ba2
Add task to generate rdoc for all installed plugins.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-29 15:52:07 +00:00
Jeremy Kemper
927b847239
Add Rakefile to plugin generator. Let test_plugins rake task look deeper into plugins' test dirs. Make plugin test cases flunk by default.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 20:28:09 +00:00
David Heinemeier Hansson
b7a2973f71
Added test_plugins task: Run the plugin tests in vendor/plugins/**/test (or specify with PLUGIN=name) [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 19:52:28 +00:00
David Heinemeier Hansson
706a8a8f96
rake should run functional tests even if the unit tests have failures [Jim Weirich]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-27 18:44:28 +00:00
David Heinemeier Hansson
50f7c9a98b
Load rake task files in alphabetical order so you can build dependencies and count on them ( closes #2554 ) [Blair Zajac]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-26 12:50:29 +00:00
David Heinemeier Hansson
3b33a6f336
Include tasks from vendor/plugins/*/tasks in the Rakefile #2545 [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-21 07:33:31 +00:00
David Heinemeier Hansson
41a2a63fee
Fix freeze_gems
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 20:33:37 +00:00
David Heinemeier Hansson
985574c940
Make freezing work with Windows
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 15:44:35 +00:00
David Heinemeier Hansson
8cfcc04d08
Added Rails framework freezing tasks: freeze_gems (freeze to current gems), freeze_edge (freeze to Rails SVN trunk), unfreeze_rails (float with newest gems on system)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 15:00:15 +00:00
Tobias Lütke
35d543f422
Adds update_javascripts task which will fetch all the latest js files from railties dir.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 04:06:39 +00:00
David Heinemeier Hansson
94a05920e1
Only dump schema if schema_format is :ruby
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 16:10:02 +00:00
David Heinemeier Hansson
c45ea78c6a
Cleaned it up a bit.. Dependencies can be declared inline
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 20:55:05 +00:00
Sam Stephenson
24c3599cc0
Support using different database adapters for development and test with ActiveRecord::Base.schema_format = :ruby
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 04:12:32 +00:00
David Heinemeier Hansson
6823f57b27
Use the correct scope for Rake tasks
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-12 01:07:57 +00:00
David Heinemeier Hansson
6fe5f65d87
Migrating should also dump the latest schema
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-12 00:02:11 +00:00
Jeremy Kemper
ec019d7bc1
Ticket 2297 - rake stats clearly labels functional and unit tests
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-27 22:09:21 +00:00
Jamis Buck
119855c438
Add db_schema_dump and db_schema_import rake tasks to work with the new ActiveRecord::SchemaDumper (for dumping a schema to and reading a schema from a ruby file).
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-23 13:45:32 +00:00
David Heinemeier Hansson
2eb29c231a
Include libs/ in rake stats #2223 [Marcel Molina]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2260 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-19 06:50:47 +00:00
David Heinemeier Hansson
0f8a3a31a7
Only include dirs that exists in the stats
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2236 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-13 18:43:23 +00:00
David Heinemeier Hansson
691f95e448
Use session_id instead of deprecated sessid
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 17:36:43 +00:00
David Heinemeier Hansson
c259ed9e02
Use session_id instead of deprecated sessid
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 17:35:17 +00:00
David Heinemeier Hansson
0d97f055c2
Sessions with an s
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 17:32:36 +00:00
David Heinemeier Hansson
d25fe84a01
Added create_session_table, drop_session_table, and purge_session_table as rake tasks for databases that supports migrations (MySQL, PostgreSQL, SQLite) to get a table for use with CGI::Session::ActiveRecordStore. Added configuration of session options through config.session_options in Rails::Configuration
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 17:30:40 +00:00
David Heinemeier Hansson
a16528f715
Added dump of schema version to the db_structure_dump task for databases that support migrations #1835 [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 05:33:18 +00:00
David Heinemeier Hansson
e234115b63
Fixed clone_structure_to_test task for SQLite #1864 [jon@burningbush.us]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 09:16:48 +00:00
David Heinemeier Hansson
e2ba2069e7
Moved config/tasks to lib/tasks and added more documentation to environment.rb
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 07:01:33 +00:00
Jamis Buck
b70e2db64a
Make the default stats task extendable by modifying the STATS_DIRECTORIES constant
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-05 15:39:20 +00:00
David Heinemeier Hansson
a4994d077f
Fix the spot looking for migrations
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 16:24:36 +00:00
David Heinemeier Hansson
6c3be611d4
Fix the spot looking for migrations
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 16:22:28 +00:00
David Heinemeier Hansson
bc011df210
Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is empty and doesn't require updating. Added Rails::Initializer and Rails::Configuration to abstract all of the common setup out of config/environment.rb (uses config/boot.rb to bootstrap the initializer and paths)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 15:13:06 +00:00