-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for Rails 5.0, 5.1 and 5.2 #143
base: master
Are you sure you want to change the base?
Conversation
Any plans to get this into master @Sutto ? |
Hey @parse, sorry I missed this - I've been ignoring this repository for silly reasons. Does this break backwards compat? Travis is broken so I can't check there, but will try to fix Travis ASAP to make sure I know. If not broken, I'll merge it in asap and release. Thank you for contributing - I appreciate it and really regret being pretty bad at running this. I'm looking to add some more people to help manage it. |
I have not tested it on rails 4 sorry. I've been using it on my rails 5 setup for about a year now so it's been pretty stable. Awesome that you are coming back to this now! |
I've been using this fork while upgrading to Rails 5, and it throws one deprecation warning when running tests (over and over again):
This is being thrown in non-Rocket-Pants-related controller specs, when the request in question doesn't actually have any parameters, ie. If I add empty params (eg. |
Presumably something having issues with our implementation of the test helpers (get etc) in that case? |
Yeah - the |
I'm aware of the deprecations being logged in 5.0. In 5.1rc1 they have been
removed permanently so it completely fails tests.
Currently don't have time to dig into this, so if anyone is up for it, I would love to get a
PR on it and try to land this into master.
|
@sevenseacat The tests have now been fixed for Rails 5. Enjoy! |
Copying changes over from this PR on the main repo for Rails 5 support: Sutto#143
👍 |
Will this PR be merged? |
Would love to get this merged in. After looking through all the various replacement options now that I've switched to Rails 5.1, I still massively prefer this gem. |
Does this still work for Rails 4 and 3? 3 is less of a concern, but Rails 4 should be maintained. If w can make sure it works on that and doesn't break other stuff, I'm happy to merge it in. |
@Sutto how can we asure that? Fixing the tests? |
@avitus I submitted a PR here: Sutto/api_smith#12 |
Support for Rails 5.1 was kindly added by @MatayoshiMariano |
This now works for Rails 5.2 as well. @Zhong-z kindly added support for Bugsnag v6. @Sutto Any chance we can get this merged and cut a new major version perhaps to avoid breaking support for Rails 4. (FYI, I am not using Rails 4, but I haven't heard about any issues on it for people using this fork) |
Made a few changes to make RocketPants support Rails 5.