Commit Graph

28 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
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
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
Pat George 865e3f7d2a check_old_ajax_helpers correctly prints nothing if no problems were found. 2010-06-05 05:30:50 +08:00
Gregory Moeck 51fac11ae2 add ajax helpers to be removed 2010-04-20 05:32:18 +08: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
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
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 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 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
Seth Thomas Rasmussen 685d28e6e4 no, you don't 2010-02-02 16:10:53 -05:00
Jeremy McAnally d6a740e2db Initial commit of Rake task/plugin version of rails-upgrade script 2010-01-31 20:27:32 -06:00