Closed lucas-aragno closed 2 years ago
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Totals | |
---|---|
Change from base Build 1747006164: | 0.0% |
Covered Lines: | 77 |
Relevant Lines: | 91 |
So, the reason I left it flexible was that omniauth 2 had some breaking changes, and not all 3rd party omniauth strategies that inherit from this gem had updated and tested against the new omniauth. I'm not opposed to being stricter on this, but it would likely be a major version bump for this gem.
Also, prefer '~> 2.0'
to ['>= 2.0', '< 3']
I see, yeah I thought that may be the case. I agree this would require a major bump on the gem.
I think '~> 2.0'
makes sense
@BobbyMcWho Any updates on this? I'm happy to close this PR for now if this isn't something we wanna get it atm
Leave it open, it's just low priority for me at the moment
This has been released in v1.8.0 release notes rubygems
My team have been working on some security updates on our app and we noticed
omniauth-oauth2
was listing any version fromomniauth
between 1.9 and 3 as a valid dependency. bc of that we kept running on this security issue. We manually enforcedomniauth
2.x on our Gemfile to solve it, but I thought it may be useful to bump the version directly on the gem since the issue seems to exist on all 1.9.x versions