Thomas Fuchs
fe218684d5
Include Active Resource in rails:freeze:edge rake task
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6567 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-24 09:15:20 +00:00
Jeremy Kemper
8dfe5b78fa
Windows: include MinGW in RUBY_PLATFORM check. Closes #2982 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-06 09:22:07 +00:00
David Heinemeier Hansson
ee2b5dda80
Added source-annotations extractor tasks to rake [Jamis Buck]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-25 19:40:37 +00:00
Michael Koziarski
89cb34c9cf
Stop swallowing errors during rake test [Koz]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-20 03:15:26 +00:00
Jeremy Kemper
aa7859c976
Plugins may be symlinked in vendor/plugins. Closes #4245 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-01 20:12:36 +00:00
Jeremy Kemper
089d3ec318
Rake: use absolute paths to load lib and vendor tasks so they may be run outside of RAILS_ROOT. Closes #6584 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-09 07:56:10 +00:00
Michael Koziarski
e808315725
Clean up the output of rake stats, de-emphasise components and apis, and remove the indents for tests [Koz]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-27 01:26:11 +00:00
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