Commit Graph

52 Commits

Author SHA1 Message Date
David Heinemeier Hansson
1d79a17c25 ST is Cap (closes #4214)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 21:57:08 +00:00
David Heinemeier Hansson
11de94748e Run set load path so others can do boot and get path
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-30 15:13:44 +00:00
David Heinemeier Hansson
a65835968e Fixed pointer to tasks location #2175
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-13 06:15:50 +00:00
David Heinemeier Hansson
558707f61a Silence logger initialization
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 23:05:58 +00:00
David Heinemeier Hansson
8367316826 Proper clean rakefile
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 15:20:42 +00:00
David Heinemeier Hansson
bc011df210 Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is empty and doesn't require updating. Added Rails::Initializer and Rails::Configuration to abstract all of the common setup out of config/environment.rb (uses config/boot.rb to bootstrap the initializer and paths)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 15:13:06 +00:00
Jamis Buck
49c67ea1b7 Don't require the environment just to clear the logs #2093 [Scott Barron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2092 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-01 21:36:50 +00:00
Jamis Buck
2a8e33872b Make the default rakefile read *.rake files from config/tasks (for easy extension of the rakefile by e.g. generators)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-31 09:15:09 +00:00
Jamis Buck
bb7f60ca1c Remove switchtower integration from rails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-30 20:47:09 +00:00
Jamis Buck
3d4a323776 Add integration with SwitchTower (rake tasks, default deploy.rb recipe)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-03 15:02:31 +00:00
David Heinemeier Hansson
852e5a435d Made Oracle a first-class connection adapter by adhering closer to idiomatic Oracle style #1798 [The Gang of Oracles]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-24 14:05:09 +00:00
David Heinemeier Hansson
9b0b66b7b7 Added load_fixtures task to the Rakefile, which will load all the fixtures into the database for the current environment #1791 [Marcel Molina]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-22 06:43:03 +00:00
David Heinemeier Hansson
34cbf15e72 Added support for SQL Server in the database rake tasks #1652 [ken.barker@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1785 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-09 17:05:01 +00:00
David Heinemeier Hansson
14f06c2cc1 Fixed SQL Server test #1678 [Tom Ward]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-09 16:59:35 +00:00
David Heinemeier Hansson
47a3bafe26 Added a VERSION parameter to the migrate task that allows you to do "rake migrate VERSION=34" to migrate to the 34th version traveling up or down depending on the current version. Added ActiveRecord::Migrator.migrate that can figure out whether to go up or down based on the target version and the current
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-09 15:46:29 +00:00
David Heinemeier Hansson
6eee49aa2e Backed out of create/destroy_db -- didnt yet work right in mysql and breaks AWD
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 09:15:21 +00:00
David Heinemeier Hansson
91afb9298b Added create_db and destroy_db tasks in the Rakefile to make it easier to load the dumped structure into the database #1587 [Sam Stephenson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 07:58:13 +00:00
David Heinemeier Hansson
c570ebc143 Added migrate task to default rakefile (this is still a sqlite/mysql feature only, please do pitch in)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 09:22:12 +00:00
David Heinemeier Hansson
55850818e3 Fixed rakefile actions against PostgreSQL when the password is all numeric #1462 [michael@schubert.cx]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-25 11:19:47 +00:00
David Heinemeier Hansson
70757cb273 Fix spelling
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-16 06:12:15 +00:00
David Heinemeier Hansson
154668898a Fixed that purge_test_database would use database settings from the development environment when recreating the test database #1122 [rails@cogentdude.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-17 10:00:37 +00:00
David Heinemeier Hansson
ecf82d127b Added Rake target clear_logs that'll truncate all the *.log files in log/ to zero #1079 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-13 05:32:21 +00:00
David Heinemeier Hansson
1ee780b3bb Fixed that ownership is brought over in pg_dump during tests for PostgreSQL #1060 [pburleson@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-10 17:32:03 +00:00
David Heinemeier Hansson
04c7e82369 Made ready for the release of 0.11.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-27 14:10:42 +00:00
David Heinemeier Hansson
065cb2a08d Made ready for better release automation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-27 13:33:54 +00:00
David Heinemeier Hansson
61d236d941 Dont include WS docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 13:36:04 +00:00
David Heinemeier Hansson
eb73846f48 Fixed stuff for vendor/rails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@953 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-21 00:16:14 +00:00
David Heinemeier Hansson
9fe45f31eb Fixed the PGPORT option used #875
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@943 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 21:50:19 +00:00
David Heinemeier Hansson
16287608bb More postgresql rakefile tweaking #875
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@938 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 16:55:39 +00:00
David Heinemeier Hansson
f22b000546 Fixed the Rakefile's interaction with postgresql use PGPASSWORD and PGHOST in the environment to fix prompting for passwords when connecting to a remote db and local socket connections. Also added a '-x' flag to pg_dump which stops it dumping privileges #807 [rasputnik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@931 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 14:41:26 +00:00
David Heinemeier Hansson
58bf8f430e Fixed the Rakefile's interaction with postgresql to quote the user name and use template0 when dumping so the functions doesn't get dumped too #855 [pburleson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@929 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 14:29:59 +00:00
David Heinemeier Hansson
af081b3677 Fix database creation for postgres (again) #790 [adamm <gnuman1@gmail.com>]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 23:40:19 +00:00
David Heinemeier Hansson
10a86b21fb Allow unit tests to run on a remote server for PostgreSQL #781 [adamm@galacticasoftware.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@856 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:18:27 +00:00
David Heinemeier Hansson
6e5a7340e6 stats need the include paths set by the environment #782 [adamm]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@854 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:14:47 +00:00
David Heinemeier Hansson
12c775f20c Added app/apis and components to code statistics report #729 [Scott Barron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 12:32:02 +00:00
David Heinemeier Hansson
b53f94d2bf Include Action Web Service and Active Support in the documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@797 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-24 13:36:25 +00:00
David Heinemeier Hansson
e712f63872 Rake recent should clone db structure like test_units/functional
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-23 02:17:12 +00:00
David Heinemeier Hansson
2af41fc036 Added 'recent' as a rake target that'll run tests for files that changed in the last 10 minutes #612 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-17 20:12:27 +00:00
David Heinemeier Hansson
aef06f3b60 Added that running test_units and test_functional now performs the clone_structure_to_test as well #566 [rasputnik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-07 14:08:38 +00:00
David Heinemeier Hansson
daee6fd92a Added new generator framework that informs about its doings on generation and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-07 13:14:05 +00:00
David Heinemeier Hansson
2257980c50 Fixed skeleton Rakefile to work with sqlite3 out of the box #521 [rasputnik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@490 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 13:12:40 +00:00
David Heinemeier Hansson
fb13b7a495 Removed the Ruby 1.8.2 test/unit fix as it didnt work anyway
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 20:55:19 +00:00
David Heinemeier Hansson
dbb5341691 Added that rake clone_structure_to_test, db_structure_dump, and purge_test_database tasks now pick up the source database to use from RAILS_ENV instead of just forcing development #424 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-11 00:07:35 +00:00
David Heinemeier Hansson
590ea2930d Added inclusion of fix for test/unit and rake problems with Ruby 1.8.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-10 00:33:03 +00:00
David Heinemeier Hansson
02c21bc986 Added support for SQLite in the auto-dumping/importing of schemas for development -> test #416
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@325 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-03 23:15:22 +00:00
David Heinemeier Hansson
ebf2b12b07 Fixed "rake stats" to work with sub-directories in models and controllers and to report the code to test ration [Scott Baron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-22 13:08:26 +00:00
David Heinemeier Hansson
60fad97551 Upgraded to Action Pack 1.0.1 for important bug fix. Updated gem dependencies.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@202 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-17 00:42:53 +00:00
David Heinemeier Hansson
870632dba3 Remember to include the right breakpoint for the docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 12:57:08 +00:00
David Heinemeier Hansson
bf33b6ccae Fixed a few issues for the breakpointing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-09 23:04:37 +00:00
David Heinemeier Hansson
bf0e37b3cf Added preliminary remote breakpoint support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-09 17:20:00 +00:00