Repository navigation
Allow Hashie version 4.0.x - #977
Merged
Merged
Conversation
For some reason coveralls has decided that various changes in the gemspec and Gemfile have decreased code coverage by .1%, so let's go overboard and add a bunch of coverage for the builder.
The settings tests were causing tests in other files to fail depending on the order they were run in. We'll reset the config values after each expectation.
Now that rack is locked to > 1.6.2, we don't need all of this custom logic in the builder initializer. Using a memoizer we can remove the initial @options set.
BobbyMcWho
commented
Nov 11, 2019
Comment on lines
-3
to
-21
| def initialize(app, &block) | ||
| @options = nil | ||
| if rack14? || rack2? | ||
| super | ||
| else | ||
| @app = app | ||
| super(&block) | ||
| @ins << @app | ||
| end | ||
| end | ||
|
|
||
| def rack14? | ||
| Rack.release.start_with?('1.') && (Rack.release.split('.')[1].to_i >= 4) | ||
| end | ||
|
|
||
| def rack2? | ||
| Rack.release.start_with? '2.' | ||
| end | ||
|
|
Member
Author
There was a problem hiding this comment.
Now that we've locked rack above 1.6, we don't need any of this anymore.
BobbyMcWho
commented
Nov 11, 2019
Comment on lines
+3
to
+6
| - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true | ||
| - gem install bundler -v '1.17.3' | ||
| install: | ||
| - bundle _1.17.3_ install --jobs=3 --retry=3 |
Member
Author
There was a problem hiding this comment.
bundler 2 doesn't work on ruby < 2.3
Member
|
Thanks for the work on this PR @BobbyMcWho and thank you for getting CI to be green again. Sorry for the delay in reviews :( |
Contributor
|
I think this should not have a maximum version of Hashie at this point declared here. There are no known issues with Hashie 5 yet that would prevent any version of omniauth from working with it, so there's no need to restrict. |
BobbyMcWho
added a commit
to BobbyMcWho/hashie
that referenced
this pull request
Nov 17, 2019
Until omniauth releases the changes merged from omniauth/omniauth#977 , we must point at master branch.
michaelherold
pushed a commit
to hashie/hashie
that referenced
this pull request
Nov 17, 2019
* Update github urls to hashie/hashie * Point omniauth in integration tests at master. Until omniauth releases the changes merged from omniauth/omniauth#977 , we must point at master branch. * revert incorrect change of gem email Co-Authored-By: Michael Herold <[email protected]> * Reference open issue for release
michaelzedwards
added a commit
to michaelzedwards/hashie
that referenced
this pull request
Feb 11, 2022
* Update github urls to hashie/hashie * Point omniauth in integration tests at master. Until omniauth releases the changes merged from omniauth/omniauth#977 , we must point at master branch. * revert incorrect change of gem email Co-Authored-By: Michael Herold <[email protected]> * Reference open issue for release
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://github.com/intridea/hashie/releases/tag/v4.0.0
We released the 4.0.0 release as a major semver change due to multiple non-destructive hash methods being changed to return Mash subclasses instead of plain ol' Ruby hashes. This shouldn't affect the majority of projects, but versioning changes allow projects to choose whether to upgrade or not.
The other included changes were the result of some yak-shaving I had to do to get CI passing again since it's been failing for 4 months :(
closes #976