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 +4 -4
- data/lib/omniauth/paypal_oauth2/version.rb +1 -1
- data/lib/omniauth/strategies/paypal_oauth2.rb +2 -4
- data/omniauth-paypal-oauth2.gemspec +18 -18
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e5b73afd1f10088b5d39621e23a1c62daff401b5
|
|
4
|
+
data.tar.gz: 0bb38da974b16879f9342a911c3403e55c8e9a96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46599cde33b003799c934fbc882876dace6b6c7fa0abe8546c64b40a4a55ad0e2345318231bdbaf1dbd344b723bbd7fa1ce91ed30bed74fbb2d3f77faf1376cf
|
|
7
|
+
data.tar.gz: c794591b4ce53bd69c724de67533ce31cd3cf3a01a8504fec702a482cc14d9c6ff638f4c5c308ea8175520369469c40840d8f0c0bb6acf85a09a8fd8d9fb617c
|
|
@@ -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/
|
|
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/
|
|
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
|
-
|
|
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 |
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
15
|
-
|
|
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
|
-
|
|
20
|
-
s.add_runtime_dependency 'json', '~> 1.7', '>= 1.7.7'
|
|
17
|
+
gem.required_ruby_version = '>= 2.0'
|
|
21
18
|
|
|
22
|
-
|
|
23
|
-
|
|
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.
|
|
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
|
- - ">="
|