Commit Graph

14 Commits

Author SHA1 Message Date
Ryan Fitzgerald 035d5c8203 Add Rails 5.2 and 6.0 to build, fixing up issues
In addition to adding scenarios for 5.2 and 6.0, I had to do some
cleanup to get everything working well:

* Replace string-based version checks with numeric ones, and update all
  version checks to treat 6+ the same as 5 (except where necessary).

* Avoid touching `ActiveSupport::Deprecation::DeprecationProxy`
  instances to fix a couple of warnings in Rails 6.

* Update Bundler as part of container setup, because Rails 6's config
  seems to rely on a newer version of Bundler than the one that comes
  with the Ruby image.

* Update the regexes in the `show-routes` spec to be compatible with 5.2
  and up.

* Add a new code path to `show-routes` for Rails 6.

* Upgrade all bundles, just for hygiene.
2018-12-29 15:58:08 -08:00
Ryan Fitzgerald 098f2f1541 Fix show-models spec for Rails 5.0 2017-03-25 16:56:18 -07:00
Ryan Fitzgerald 493b7f9160 Make treatment of Pry.color consistent 2015-02-07 23:27:45 -08:00
Ryan Fitzgerald 17e1096155 Update Appraisals, remove Ruby 1.8 and 1.9.2 support 2014-11-22 23:10:58 -08:00
Kyrylo Silin 10c0fd2650 ShowModelsSpec: fix failing test
For some strange reason it is showing wrong results because `Pry.color`
at the moment of the `show-models` command invocation is set to true.
2013-05-19 10:33:24 +03:00
Ryan Fitzgerald 16de581516 Update spec to match inverted output 2013-04-08 00:15:50 -07:00
☈king e5e145af31 Add Mongoid spec to regain coverage 2013-04-01 01:22:49 -05:00
☈king 34fda2ccaf Omit non-matching models from --grep output 2013-04-01 00:33:25 -05:00
☈king 0a8f16790c Tolerate difference in Mongoid output w/r/t _type 2013-03-31 22:55:21 -05:00
Ryan Fitzgerald c3feb6f3d8 1.8 compatibility and Readme updates 2012-09-23 15:29:39 -07:00
Ryan Fitzgerald f26477de96 Re-add color to both AR and Mongoid 2012-09-23 15:28:49 -07:00
Ryan Fitzgerald 02da9d5018 Refactor and test mongoid models (w/o color for now) 2012-09-23 15:28:49 -07:00
Ryan Fitzgerald 9208a850a1 Refactor AR show-model and test --grep 2012-09-23 15:28:49 -07:00
Ryan Fitzgerald 72694e070f Move and test show-models 2012-09-23 15:28:49 -07:00