Commit Graph

32 Commits

Author SHA1 Message Date
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
Gregory Moeck
51fac11ae2 add ajax helpers to be removed 2010-04-20 05:32:18 +08:00
Jeremy McAnally
34c08d2958 Add more files to backup task 2010-04-10 06:45:37 -05:00
Jeremy McAnally
19de6797c0 Add actually informative link about new session and cookie stuff. Thanks Mikel\! 2010-04-07 22:35:22 -05:00
José Valim
55b5d52786 Should use config.secret_token instead of config.cookie_secret. 2010-04-06 00:56:13 +02:00
Jeremy McAnally
c3b269e486 Change language related to helper changes 2010-03-31 23:06:44 -05:00
Jeremy McAnally
93dc581119 Fix bug where it always gave false positives about old generators 2010-03-31 15:30:43 -05: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
Jesse Storimer
ce22c72ee8 Underscore the app_name before classifying it.
Fixes invalid constant if your app name has a dash in it.
'rails-upgrade'.classify # => Rails-upgrade
'rails-upgrade'.underscore.classify # => RailsUpgrade
2010-02-06 12:11:39 +08: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
James Conroy-Finn
00a7255a88 ApplicationChecker compatibility and bug fix
- Ruby 1.8 returns method names as strings whereas 1.9 returns symbols
   so remove both within run method.

 - Wrap culprits in Array to ensure we can enumerate over them.
2010-02-06 11:50:22 +08:00
Jack Dempsey
035b8168e6 fix location of tasks to silence deprecation warning 2010-02-06 11:49:15 +08:00
Jack Dempsey
4ce16b80b7 try to only catch conditions when a find is involved 2010-02-06 11:49:15 +08:00
Filip Tepper
ca96342054 grep skips .svn directories 2010-02-06 11:49:04 +08:00
Seth Thomas Rasmussen
8ea7166feb ignore comments 2010-02-04 22:21:58 -05:00
Jeremy McAnally
23cf363cd5 Check for deprecated require for 'test_help' 2010-02-03 10:58:52 -06:00
Jeremy McAnally
28b809bc01 Fix bug where our fake AC::Routing::Routes was stomping on the real one. 2010-02-03 10:58:52 -06:00
Jeremy McAnally
8370c86b03 Remove extra newline (thanks greatseth) 2010-02-02 21:13:52 -06:00
Jeremy McAnally
411b5283e0 Remove 100% escape and selectively escape text for grep 2010-02-02 21:13:32 -06:00
James Sanders
93b8e4e9b4 Escape grep_for text when using grep
The rak code already does this and it is necessary for grep as well.
2010-02-03 11:09:23 +08: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
685d28e6e4 no, you don't 2010-02-02 16:10:53 -05:00
Seth Thomas Rasmussen
3d400ed03a fix gemfile generator, a joint effort of loincloth and bakineggs 2010-02-01 22:07:54 -05:00
Jeremy McAnally
328e4de9fd Update preamble to work with bundler 0.9 2010-02-01 11:43:55 -06:00
Jeremy McAnally
3315d899d6 Get rid of cattr_accessor 2010-01-31 23:10:07 -06:00
Jeremy McAnally
d6a740e2db Initial commit of Rake task/plugin version of rails-upgrade script 2010-01-31 20:27:32 -06:00