aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/tasks
Commit message (Collapse)AuthorAgeFilesLines
* 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
* The PostgreSQL :db_structure_dump task limits its dump to the schema search ↵Jeremy Kemper2005-10-291-1/+3
| | | | | | path in database.yml. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add task to generate rdoc for all installed plugins.Marcel Molina2005-10-291-1/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Rakefile to plugin generator. Let test_plugins rake task look deeper ↵Jeremy Kemper2005-10-281-4/+4
| | | | | | 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
* Added test_plugins task: Run the plugin tests in vendor/plugins/**/test (or ↵David Heinemeier Hansson2005-10-281-0/+13
| | | | | | specify with PLUGIN=name) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rake should run functional tests even if the unit tests have failures [Jim ↵David Heinemeier Hansson2005-10-271-1/+5
| | | | | | Weirich] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Load rake task files in alphabetical order so you can build dependencies and ↵David Heinemeier Hansson2005-10-261-2/+2
| | | | | | count on them (closes #2554) [Blair Zajac] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include tasks from vendor/plugins/*/tasks in the Rakefile #2545 [Rick Olson]David Heinemeier Hansson2005-10-211-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix freeze_gemsDavid Heinemeier Hansson2005-10-161-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make freezing work with WindowsDavid Heinemeier Hansson2005-10-151-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Rails framework freezing tasks: freeze_gems (freeze to current gems), ↵David Heinemeier Hansson2005-10-151-0/+31
| | | | | | 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