omniauth-paypal-oauth2 1.4.6 → 1.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f84e50f823ab30b0e7762678ffff12b47d654e0
4
- data.tar.gz: 71e9b3a3219c841f85c8d3db02dfbe4f9b39d862
3
+ metadata.gz: e5b73afd1f10088b5d39621e23a1c62daff401b5
4
+ data.tar.gz: 0bb38da974b16879f9342a911c3403e55c8e9a96
5
5
  SHA512:
6
- metadata.gz: 70e1ad87cfe1f8d9c769223fe66e1426b32c812e12322b6ab0ff6f46a160342f0903e51af372b3dfd10b72a17c66a5d1fd1bf2d47a5be1d8787de0eb16f168bc
7
- data.tar.gz: 3998871e8d664b8cf9a02eb5e93104fb5a0a665f532984fccfc9b7cfaf5b80915815c4de6d75889392cdb3d04c068002f5d8f0ff7f1f699ae0120ed2c7d01b34
6
+ metadata.gz: 46599cde33b003799c934fbc882876dace6b6c7fa0abe8546c64b40a4a55ad0e2345318231bdbaf1dbd344b723bbd7fa1ce91ed30bed74fbb2d3f77faf1376cf
7
+ data.tar.gz: c794591b4ce53bd69c724de67533ce31cd3cf3a01a8504fec702a482cc14d9c6ff638f4c5c308ea8175520369469c40840d8f0c0bb6acf85a09a8fd8d9fb617c
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module PayPalOauth2
3
- VERSION = "1.3"
3
+ VERSION = "1.4.7"
4
4
  end
5
5
  end
@@ -6,13 +6,13 @@ module OmniAuth
6
6
  DEFAULT_SCOPE = "email,profile"
7
7
  DEFAULT_RESPONSE_TYPE = "code"
8
8
  SANDBOX_SITE = "https://api.sandbox.paypal.com"
9
- SANDBOX_AUTHORIZE_URL = 'https://www.sandbox.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize'
9
+ SANDBOX_AUTHORIZE_URL = 'https://www.sandbox.paypal.com/signin/authorize'
10
10
 
11
11
  option :name, "paypal_oauth2"
12
12
 
13
13
  option :client_options, {
14
14
  :site => 'https://api.paypal.com',
15
- :authorize_url => 'https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize',
15
+ :authorize_url => 'https://www.paypal.com/signin/authorize',
16
16
  :token_url => '/v1/identity/openidconnect/tokenservice',
17
17
  :setup => true
18
18
  }
@@ -89,5 +89,3 @@ module OmniAuth
89
89
  end
90
90
  end
91
91
  end
92
-
93
- OmniAuth.config.add_camelization('oauth', 'OAuth')
@@ -1,24 +1,24 @@
1
1
  # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path('../lib', __FILE__)
3
- require 'omniauth/paypal_oauth2/version'
2
+ require File.expand_path(File.join('..', 'lib', 'omniauth', 'paypal_oauth2', 'version'), __FILE__)
4
3
 
5
- Gem::Specification.new do |s|
6
- s.name = 'omniauth-paypal-oauth2'
7
- s.version = '1.4.6'
8
- s.authors = ['Jonas Hübotter']
9
- s.email = ['jonas@slooob.com']
10
- s.summary = 'A PayPal OAuth2 strategy for OmniAuth 1.x'
11
- s.homepage = 'https://github.com/jonhue/omniauth-paypal-oauth2'
12
- s.license = 'MIT'
4
+ Gem::Specification.new do |gem|
5
+ gem.name = 'omniauth-paypal-oauth2'
6
+ gem.version = OmniAuth::PayPalOauth2::VERSION
7
+ gem.license = 'MIT'
8
+ gem.summary = %q{A PayPal OAuth2 strategy for OmniAuth 1.x}
9
+ gem.description = %q{A PayPal OAuth2 strategy for OmniAuth 1.x}
10
+ gem.authors = ['Jonas Hübotter']
11
+ gem.email = ['jonas@slooob.com']
12
+ gem.homepage = 'https://github.com/jonhue/omniauth-paypal-oauth2'
13
13
 
14
- s.files = `git ls-files`.split("\n")
15
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
- s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
17
- s.require_paths = ['lib']
14
+ gem.files = `git ls-files`.split("\n")
15
+ gem.require_paths = ["lib"]
18
16
 
19
- s.add_runtime_dependency 'omniauth-oauth2', '~> 1.4.0'
20
- s.add_runtime_dependency 'json', '~> 1.7', '>= 1.7.7'
17
+ gem.required_ruby_version = '>= 2.0'
21
18
 
22
- s.add_development_dependency 'rspec', '~> 2.99.0'
23
- s.add_development_dependency 'rake'
19
+ gem.add_runtime_dependency 'omniauth-oauth2', '~> 1.4.0'
20
+ gem.add_runtime_dependency 'json', '~> 1.7', '>= 1.7.7'
21
+
22
+ gem.add_development_dependency 'rspec', '~> 2.99.0'
23
+ gem.add_development_dependency 'rake'
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-paypal-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Hübotter
@@ -72,7 +72,7 @@ dependencies:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
- description:
75
+ description: A PayPal OAuth2 strategy for OmniAuth 1.x
76
76
  email:
77
77
  - jonas@slooob.com
78
78
  executables: []
@@ -106,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: '0'
109
+ version: '2.0'
110
110
  required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  requirements:
112
112
  - - ">="