-
Notifications
You must be signed in to change notification settings - Fork 85
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
Upgrade rspec and fix warnings #15
base: master
Are you sure you want to change the base?
Conversation
This needed some minor changes due to be_true not working in the same way. Otherwise, all specs still green, although with a number of deprecation warnings which I'll tackle next.
Specs updated automatically using transpec. All specs still green.
The new custom matcher protocol uses `#failure_message` rather than `#failure_message_for_should`.
According to the yard documentation, "Note that the @see tag automatically links its data. You should not use the link syntax in this tag".
These add a number of cool features that are turned off by default for compatibility reasons. For more info, see http://ivoanjo.me/blog/2016/09/25/why-you-should-regenerate-your-spec-helper/
Instead, just prefix top-level rspec methods with RSpec.
rfc6570.rb requires regex_builder.rb which requires rfc6570.rb . To break the cycle, this commit adds a test that only requires rfc6570 if URITemplate::RFC6570 isn't already defined.
rfc6570.rb requires expression.rb which requires rfc6570.rb . To break the cycle, this commit adds a test that only requires rfc6570 if URITemplate::RFC6570 isn't already defined.
Both of these files are indirect dependencies of rfc5670.rb (and are indirectly required by it), so this commit adds a test that these files should only require rfc5670.rb if URITemplate::RFC6570 isn't already defined.
This seems to have been carried over during a refactoring and was actually never used by the current method.
Successfully tested on both jruby 9.1.5.0 and mri 2.3.3 .
Ruby 1.9 has been deprecated for more than two years now, so let's drop it from travis, rather than fighting dependencies to support it.
As travis was failing to install the latest versions of some of the test dependencies for 1.9 rubies, I took the liberty of dropping them from the test matrix. Give me a shout if you'd prefer to still support it. |
Any news? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hahaha took more then three niggas to hack me? Y'all some sorry ass people 😂😂😂
This PR:
All specs still green, and I tested on both mri and jruby! Happy holidays!