Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Relax json dependency (#49)
Browse files Browse the repository at this point in the history
- The dependency on JSON for what it provides this gem is not
  affected by whether it's 1.x or 2.x
- Other omniauth strategies (and older gems in general) depend
  on json 1.7. This lib works just fine with 1.7
  • Loading branch information
paulca authored and jonhue committed Jul 7, 2019
1 parent 39ac92f commit 5fc0af8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
omniauth-paypal-oauth2 (2.0.1)
json (~> 2.1)
json (>= 1.7, < 3)
omniauth-oauth2 (~> 1.5)

GEM
Expand All @@ -15,10 +15,10 @@ GEM
hashie (3.6.0)
jaro_winkler (1.5.3)
json (2.2.0)
jwt (2.1.0)
jwt (2.2.1)
multi_json (1.13.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
multipart-post (2.1.1)
oauth2 (1.4.1)
faraday (>= 0.8, < 0.16.0)
jwt (>= 1.0, < 3.0)
Expand Down
2 changes: 1 addition & 1 deletion omniauth-paypal-oauth2.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = '>= 2.3'

gem.add_dependency 'json', '~> 2.1'
gem.add_dependency 'json', '>= 1.7', '<3'
gem.add_dependency 'omniauth-oauth2', '~> 1.5'

gem.add_development_dependency 'rspec'
Expand Down

0 comments on commit 5fc0af8

Please sign in to comment.