Skip to content

Commit

Permalink
Explicitly declare direct dependency on OAuth2 gem (zquestz#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyta authored Sep 7, 2020
1 parent 1b405a4 commit dac8bb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/omniauth/strategies/google_oauth2.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

require 'jwt'
require 'oauth2'
require 'omniauth/strategies/oauth2'
require 'uri'

Expand Down
1 change: 1 addition & 0 deletions omniauth-google-oauth2.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Gem::Specification.new do |gem|
gem.required_ruby_version = '>= 2.2'

gem.add_runtime_dependency 'jwt', '>= 2.0'
gem.add_runtime_dependency 'oauth2', '~> 1.1'
gem.add_runtime_dependency 'omniauth', '>= 1.1.1'
gem.add_runtime_dependency 'omniauth-oauth2', '>= 1.6'

Expand Down

0 comments on commit dac8bb7

Please sign in to comment.