awesome-print / awesome_print

Pretty print your Ruby objects with style -- in full color and with proper indentation
http://github.com/michaeldv/awesome_print
MIT License
4.08k stars 454 forks source link

Add Appraisal #173

Closed maurogeorge closed 9 years ago

maurogeorge commented 9 years ago

Add appraisal to this way we can test agains different versions of activesupport, activerecord, mongoid etc.

I defined the default rake task so when run $ rake all the dependencies will be installed over the different gemfiles and run the tests in all the gemfiles.

It is possible to run a specifc gemfile with $ appraisal rails-3.2 rake for example.

The only gemfile we have all tests green is rails 4.1($ appraisal rails-4.1 rake).

I propose that merge this PR, and the next steps focus on make the tests pass on all gemsets.

This way Travis will run this gemfiles too. And will be more easy to catch bugs.

What you guys think?

maurogeorge commented 9 years ago

@imajes on this branch all tests are green. I added Travis too, you need to do the config on travis, since I am not have persmission on the repository.

maurogeorge commented 9 years ago

@imajes I start with the appraisal, but I add more stuffs in here. All the changes can be viewd on the CHANGELOG.

IMHO you need to review/merge this before any other PR since the other PRs are only running specs in a single Rails version.

In this PR we have all tests green on all gemfiles and the adition of travis, so after the merge you can configure the Travis to run specs automaticaly this way we be more easy to merge the others PRs.

cc/ @michaeldv

imajes commented 9 years ago

Alright. This PR is now merged via rebase. Thanks for the work. :)