Skip to content
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

Relax omniauth oauth2 dependency #1

Merged
merged 4 commits into from
Nov 18, 2015
Merged

Relax omniauth oauth2 dependency #1

merged 4 commits into from
Nov 18, 2015

Conversation

franciscoj
Copy link

omniauth-oauth2 dependency is set to ~> 1.1.1 which makes it
impossible to upgrade to any other omniauth-oauth2 version which is in
the 1.x release. Since omniauth-oauth2 seems to be using semver this
dependency can be relaxed, making it easier to upgrade gems when needed.

I also fixed a failing spec and added some more modern rubies to the CI script.

Fran Casas added 4 commits November 16, 2015 12:45
Omniauth-oauth2 dependency is set to `~> 1.1.1` which makes it
impossible to upgrade to any other `omniauth-oauth2` version which is in
the `1.x` release. Since `omniauth-oauth2` seems to be using semver this
dependency can be relaxed, making it easier to upgrade gems when needed.
Gemfile.lock is supossed to be out of version control in gems.
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
gem.version = OmniAuth::Signnow::VERSION

gem.add_dependency 'omniauth', '~> 1.0'
gem.add_dependency 'omniauth-oauth2', '~> 1.1.1'
gem.add_dependency 'omniauth-oauth2', '~> 1.1'
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the important change here. It prevents any 1.x from being used with this gem, which makes it hard to keep dependencies up to date when using it.

@franciscoj
Copy link
Author

Hello @andresbravog! Do you think this patch could be valuable for the gem? Would you mind merging/releasing it?

Thanks!

@andresbravog
Copy link
Owner

thx @franciscoj

andresbravog added a commit that referenced this pull request Nov 18, 2015
@andresbravog andresbravog merged commit 8bb365e into andresbravog:master Nov 18, 2015
@franciscoj
Copy link
Author

thx @franciscoj

You're welcome! Glad I could help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants