aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Rake: use absolute paths to load lib and vendor tasks so they may be run ↵Jeremy Kemper2006-11-091-2/+2
| | | | | | outside of RAILS_ROOT. Closes #6584. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up the output of rake stats, de-emphasise components and apis, and ↵Michael Koziarski2006-10-271-5/+6
| | | | | | remove the indents for tests [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: db:test:purge closes open database connections first. Closes #6236.Jeremy Kemper2006-10-091-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed test:uncommitted on Windows (backslash issue) (closes #4999) ↵David Heinemeier Hansson2006-10-091-2/+2
| | | | | | [paul@paulbutcher.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Look for rake tasks in plugin subdirs. Closes #6259.Jeremy Kemper2006-09-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Proper description syntax for test tasks (closes #5308)David Heinemeier Hansson2006-09-051-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Formally deprecate the non-namespaced rake tasks. [Koz]Michael Koziarski2006-09-041-27/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Firebird database tasks.Jeremy Kemper2006-07-091-0/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4597 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* db:test:clone should remove existing tables before reloading the schema. ↵Jeremy Kemper2006-07-051-5/+5
| | | | | | Closes #5607. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4557 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't assume Active Record is available. Closes #5497.Jeremy Kemper2006-06-281-11/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove some cruft from the framework:update:configs task and fix the ↵Rick Olson2006-06-211-3/+1
| | | | | | documentation. Closes #5300. [jeremy@planetargon.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added lib/ to the directories that will get application docs generated [DHH]David Heinemeier Hansson2006-05-281-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Session migration generator obeys pluralize_table_names. Closes #5145.Jeremy Kemper2006-05-221-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add modifications to database rake tasks as part of #5139. ↵Marcel Molina2006-05-211-3/+3
| | | | | | [schoenm@earthlink.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rake test:recent understands subdirectories. Closes #2925.Jeremy Kemper2006-05-121-5/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pid file usage to script/process/spawner and script/process/reaper ↵David Heinemeier Hansson2006-04-281-1/+8
| | | | | | 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
* RAILS_ROOT, pleaseDavid Heinemeier Hansson2006-04-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an ↵David Heinemeier Hansson2006-04-071-2/+10
| | | | | | 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
* Fixed that rake clone_structure_to_test should quit on pgsql if the dump is ↵David Heinemeier Hansson2006-04-051-0/+1
| | | | | | unsuccesful (closes #4585) [augustz@augustz.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A better idea, take the -qr HEAD log as before but use the root of the svnScott Barron2006-04-041-12/+7
| | | | | | | | | | 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
* If using svn 1.1.x and no REVISION is specified, give an error messageScott Barron2006-04-041-2/+9
| | | | | | | | | | 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
* Fixed that spawner should daemonize if running in repeat mode [DHH]David Heinemeier Hansson2006-04-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TAG option for rake rails:freeze:edge, so you can say rake ↵David Heinemeier Hansson2006-04-031-10/+15
| | | | | | 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
* Added -f/--freeze option to rails command for freezing the application to ↵David Heinemeier Hansson2006-04-011-1/+1
| | | | | | 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
* Update descriptionDavid Heinemeier Hansson2006-03-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow load_fixtures to load a subset of total fixture data. [Chad Fowler]Michael Koziarski2006-03-281-10/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* When doing svn log -qr HEAD trunk/url, a log message with revision will notScott Barron2006-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* Dont require rake to run the server, just have a little undryness instead ↵David Heinemeier Hansson2006-03-261-4/+1
| | | | | | (closes #4213) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4037 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clearing doesnt need migrationsDavid Heinemeier Hansson2006-03-201-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3996 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replaced old session rake tasks with db:sessions:create to generate a ↵Rick Olson2006-03-201-15/+6
| | | | | | 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
* Fixed rails:freeze:gems for Windows (closes #3274) [paul@paulbutcher.com]David Heinemeier Hansson2006-03-191-10/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Testing of uncommited should test controllers too (closes #4265) ↵David Heinemeier Hansson2006-03-181-4/+9
| | | | | | [technomancy@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't replace application.js in public/javascripts if it already exists ↵Tobias Lütke2006-03-131-3/+6
| | | | | | [Cody Fauser]. Closes #4195 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Delay rake:uncommitted's execution of `svn status`Nicholas Seckar2006-03-131-5/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added tracking of database and framework versions in script/about #4088 ↵David Heinemeier Hansson2006-03-051-2/+9
| | | | | | [charles.gerungan@gmail.com/Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Silence the migration messages when importing the schema for testsJamis Buck2006-03-051-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont mkdir for each framework now that theyre checked out in their entiretyDavid Heinemeier Hansson2006-03-051-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3779 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We need to silence_stderr on the call to svn in order not to get errors when ↵David Heinemeier Hansson2006-03-041-3/+15
| | | | | | 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
* Added that rake rails:freeze:edge will now just export all the contents of ↵David Heinemeier Hansson2006-03-031-10/+2
| | | | | | 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
* Added test:uncommitted to test changes since last checkin to Subversion ↵David Heinemeier Hansson2006-03-021-1/+12
| | | | | | (closes #4035) [technomancy@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update old alias tooDavid Heinemeier Hansson2006-03-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* When freezing to edge, we should also export railties/bin and railties/html soScott Barron2006-03-011-1/+10
| | | | | | | 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
* Match singular naming from directory structure [DHH]David Heinemeier Hansson2006-02-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add integration test support to app generation and testingJamis Buck2006-02-282-9/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make clearing follow the object:action naming of the rest of the tasksDavid Heinemeier Hansson2006-02-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make clearing follow the object:action naming of the rest of the tasksDavid Heinemeier Hansson2006-02-281-9/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make clearing follow the object:action naming of the rest of the tasksDavid Heinemeier Hansson2006-02-284-30/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Load, not dump, schema to testDavid Heinemeier Hansson2006-02-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include functionals in default test runDavid Heinemeier Hansson2006-02-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added namespaces to all tasks, so for example load_fixtures is now ↵David Heinemeier Hansson2006-02-278-320/+411
| | | | | | 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