aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/tasks
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* rake appdoc fails with unrecognized option (closes #3757) [Jakob S]David Heinemeier Hansson2006-02-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentation tasks to work with Rake 0.7.0 (closes #3563) ↵David Heinemeier Hansson2006-01-211-2/+2
| | | | | | [kazuhiko@fdiary.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3451 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ignore version mismatch between pg_dump and the database server. Closes #3457.Marcel Molina2006-01-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Honor ActiveRecord::Base.pluralize_table_names when creating and destroying ↵Marcel Molina2005-12-181-3/+7
| | | | | | session store table. Closes #3204. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make load_fixtures include csv fixtures. Closes #3053.Marcel Molina2005-11-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix freeze_gems so that the latest rails version is dumped by defaultNicholas Seckar2005-11-281-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the db_schema_dump task honor the SCHEMA environment variable if ↵Marcel Molina2005-11-211-1/+1
| | | | | | 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
* PostgreSQL: the purge_test_database Rake task shouldn't explicitly specify ↵Jeremy Kemper2005-11-201-1/+1
| | | | | | 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
* replaced constant Plugin in documentation rake task with plugin local ↵Tobias Lütke2005-11-171-3/+3
| | | | | | 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
* Remove CHANGELOG from apidoc Rake task since it isn't included with new apps ↵Jeremy Kemper2005-11-161-1/+0
| | | | | | anymore. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: the clone_structure_to_test and purge_test_database Rake tasks ↵Jeremy Kemper2005-11-131-1/+1
| | | | | | should always use the test environment. Reference #2846. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: the clone_structure_to_test Rake task should always use the test ↵Jeremy Kemper2005-11-131-1/+1
| | | | | | environment. References #2846. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that legacy db tasks also reference :database for SQLite (closes ↵David Heinemeier Hansson2005-11-111-3/+6
| | | | | | #2830) [kazuhiko@fdiary.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct versioning in :freeze_gems Rake task. Closes #2778.Jeremy Kemper2005-11-081-20/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an omnipresent RailsInfoController with a properties action that ↵Sam Stephenson2005-11-081-1/+1
| | | | | | 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
* Adding new scripts should set them 0755.Scott Barron2005-11-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add 'add_new_scripts' rake task for adding new rails scripts to script/*Jamis Buck2005-11-071-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fail gracefully from svn checks (closes #2700) [Rick Olson]David Heinemeier Hansson2005-11-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* If specified, pass PostgreSQL client character encoding to createdb. Closes ↵Jeremy Kemper2005-11-021-1/+2
| | | | | | #2703. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Simplify gem search for :freeze_gems rake task.Jeremy Kemper2005-11-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The freeze_gems Rake task accepts the VERSION environment variable to decide ↵Jeremy Kemper2005-11-011-6/+21
| | | | | | 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
* The freeze_edge Rake task does smarter svn detection and can export a ↵Jeremy Kemper2005-10-301-7/+11
| | | | | | 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
* Changed :dbfile to :database for SQLite adapter for consistency (old key ↵David Heinemeier Hansson2005-10-301-3/+3
| | | | | | 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
* The *_plugindoc Rake tasks look deeper into the plugins' lib directories. ↵Jeremy Kemper2005-10-291-2/+2
| | | | | | Closes #2652. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de