Commit Graph

61 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 cbdae476d9 Pass the H option to grep to ALWAYS show the filename 2011-04-08 09:19:30 +10:00
Ryan Bigg 9aebd050f9 Add installation instructions 2011-04-08 08:34:33 +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
Tom Copeland 7a69f41cb5 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. 2010-09-20 21:59:16 -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
Aaron Hurley 22ce8cab63 Fix potential for double path on grep. Fixed broken generators check. Better regex to check for commented out lines when grep returns path name first 2010-08-11 22:25:29 +08:00
Josh Delsman fcf23ffecf Don't display if empty 2010-07-27 21:28:06 +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
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 a5ebcb32ff Remove backtrace silencers to make upgrade issues easier to debug since most issues you'll hit will be coming from within Rails. 2010-02-03 11:22:17 -06: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 af9b73e2af Update README 2010-02-02 19:15:37 -06:00
Jeremy McAnally ff685a759c Have some nice instructions after the installation of the plugin 2010-02-02 19:14:27 -06:00