Commit Graph

32 Commits

Author SHA1 Message Date
Ryan Bigg
961d5d5ff7 Will now output the relative path to a file rather than an absolute 2011-04-08 09:22:18 +10:00
Ryan Bigg
c1fdcfc44f fixed up rails-3 verb routing. convert 'method' into 'via' [mchung] 2011-04-08 08:32:04 +10:00
Ryan Bigg
11d0804831 Merge branch 'master' of git://github.com/tcopeland/rails_upgrade
* 'master' of git://github.com/tcopeland/rails_upgrade:
  Adding a test for 7a69f41
  grep with --exclude was resulting in hits on files with names like 'app/models/.svn/text-base/reading_list.rb.svn-base'.  Piping through an additional grep process seems a little wasteful, but it does the job for folks who have an app on Subversion.
2011-04-08 08:26:55 +10:00
Xavier Shay
e058beb488 Expand tmp file path so it does not float around 2011-04-08 08:21:00 +10:00
Xavier Shay
5223f9699c Support arrays in member/collection options in the routes upgrader: {:member => {:custom => [:get, :put]}} 2011-04-08 08:17:50 +10:00
Ryan Bigg
0fa6a78f62 Change options on upgraded routes to be more standard :key => value vs :key=>value 2011-04-08 08:11:43 +10:00
Ryan Bigg
b3188a6a3d Merge branch 'master' of git://github.com/jordan-brough/rails_upgrade
* 'master' of git://github.com/jordan-brough/rails_upgrade:
  preserve :only & :except options on resources
2011-04-08 08:06:56 +10:00
Ryan Bigg
e0420450fc Use Rails 3.0.6 2011-04-08 08:05:17 +10:00
Marc Chung
075c128f31 fixed up rails-3 verb routing. convert 'method' into 'via' 2011-02-26 11:04:21 -07:00
Oscar Del Ben
614186a1d3 Use rails 3.0.3 2011-01-09 23:04:07 +01:00
Jordan Brough
0098452976 preserve :only & :except options on resources 2010-12-10 13:51:59 -05:00
Tom Copeland
87e370c335 Adding a test for 7a69f41 2010-09-20 22:34:29 -04:00
Zac Williams
56b03373a8 correctly greping for depreciated ERb block helpers 2010-08-20 08:32:49 +08:00
Zac Williams
3015100b37 correctly greping for depreciated ERb block helpers 2010-08-20 08:32:49 +08:00
Josh Delsman
aa218395d3 Fixed syntax for previous test I created; added before_validation_on_* deprecation check 2010-07-27 21:28:06 +08:00
Josh Delsman
9eb81b7134 Added check for validate_on_create and validate_on_update, which have both been removed in Rails 3 2010-07-27 21:27:58 +08:00
Pat George
6674c844b9 Mail API checker no longer reports false positives from updated Mail files. 2010-06-11 23:58:04 +08:00
Neil Cook
7915c8df40 Second fix to route upgrade bug for :requirements Regexp conversion. Also handles string values, adds additional test and tests pass. 2010-06-11 23:57:35 +08:00
Pat George
865e3f7d2a check_old_ajax_helpers correctly prints nothing if no problems were found. 2010-06-05 05:30:50 +08:00
Michael Raidel
f44e5c7edf update gemfile_generator to current rails preamble and bundler syntax 2010-06-05 05:30:38 +08:00
José Valim
55b5d52786 Should use config.secret_token instead of config.cookie_secret. 2010-04-06 00:56:13 +02:00
Jeremy McAnally
33cbc3509b Add more checks for beta that's dropping soon: check for old ERb calls with block helpers and check for old session/cookie settings 2010-03-31 15:26:51 -05:00
Jeremy McAnally
e08de4f169 Merge branch 'master' of git@github.com:rails/rails_upgrade 2010-02-05 22:10:27 -06:00
Jeremy McAnally
b257acf322 Check for old-style constants and link to qrush's excellent post if we find one 2010-02-05 22:10:12 -06:00
Jeremy McAnally
366d1393c5 Merge in ability to ignore comments 2010-02-05 21:57:42 -06:00
Jesse Storimer
0a87d05430 App::Application.routes => App::Application.routes.draw 2010-02-06 11:51:13 +08:00
Jeremy McAnally
23cf363cd5 Check for deprecated require for 'test_help' 2010-02-03 10:58:52 -06:00
Jeremy McAnally
8fb1e9f4e8 Add new generator for generating an application.rb from your existing environment.rb code 2010-02-02 18:55:50 -06:00
Seth Thomas Rasmussen
49df0bb77a failing test 2010-02-01 23:47:44 -05:00
Jeremy McAnally
328e4de9fd Update preamble to work with bundler 0.9 2010-02-01 11:43:55 -06:00
Jeremy McAnally
dd6c92d99d Add test/unit require. Strange. 2010-01-31 23:10:22 -06:00
Jeremy McAnally
d6a740e2db Initial commit of Rake task/plugin version of rails-upgrade script 2010-01-31 20:27:32 -06:00