-
Notifications
You must be signed in to change notification settings - Fork 27
Add support for Ruby 3.2 #30
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
base: master
Are you sure you want to change the base?
Conversation
Upgrade omniauth and oauth2 gems.
| # removed in 1.4.0: https://github.com/intridea/omniauth-oauth2/pull/70 | ||
| def callback_url | ||
| full_host + script_name + callback_path | ||
| full_host + callback_path |
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.
script_name is part of callback_path and so its redundant to have here.
| authorize_url: 'oauth2/authorize', | ||
| token_url: 'oauth2/token' |
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.
These are the default values in later versions of OmniAuth.
| authorize_url: 'oauth2/authorize', | ||
| token_url: 'oauth2/token' |
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.
wouldn't this be a breaking change?
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.
Should not be. This is the same change done in the upstream gem. I do think we need a PoL before merge though.
Adds support for Ruby 3.2 and upgrades omniauth and oauth2 gems.
Adds CircleCI builds