Commit Graph

68 Commits

Author SHA1 Message Date
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