omniauth-paypal-oauth2 1.4.12 → 1.4.13
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/README.md +2 -4
- data/lib/omniauth/paypal_oauth2/version.rb +1 -1
- data/omniauth-paypal-oauth2.gemspec +4 -4
- metadata +7 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2e4a7a29dbe49818dd003fba0c84883a3b25dc67
|
|
4
|
+
data.tar.gz: 7d47686bf5f3fd6d1a445ff149c2467eae949644
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2d916910b12788dfe14e24018cbb786bc36d7891dbe79abc1cef4b6718e6f7f329198a51ec611dd3fc8d0e7f2c04a1f94c82030682d7c526d6bce901d5ed061
|
|
7
|
+
data.tar.gz: 1b6e4ec2e840037f609f7171e5d4908546f4e95eead7c8f50635639c1440626327069d6117f46c039429c1b6a70632cca0e702cf322efb9b36853ea9ccfdb302
|
data/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Strategy to authenticate with PayPal via OmniAuth.
|
|
|
5
5
|
Get your API key at: https://developer.paypal.com/developer/applications/ in the section **RESTApps**. Note the Client ID and the Client Secret.
|
|
6
6
|
|
|
7
7
|
**Note**: You generate separate keys for development (sandbox) and production (live) with each application you register.
|
|
8
|
-
Use the [config Gem](https://rubygems.org/gems/config) to organize your keys and keep them
|
|
8
|
+
Use the [config Gem](https://rubygems.org/gems/config) to organize your keys and keep them safe.
|
|
9
9
|
|
|
10
10
|
For more details, read the PayPal docs: https://developer.paypal.com/docs/integration/direct/identity/
|
|
11
11
|
|
|
@@ -134,11 +134,9 @@ For more details see the PayPal [List Of Attributes](https://developer.paypal.co
|
|
|
134
134
|
|
|
135
135
|
First define your application id and secret in `config/initializers/devise.rb`. Do not use the snippet mentioned in the [Usage](https://github.com/jonhue/omniauth-paypal-oauth2#usage) section.
|
|
136
136
|
|
|
137
|
-
Configuration options can be passed as the last parameter here as key/value pairs.
|
|
138
|
-
|
|
139
137
|
```ruby
|
|
140
138
|
require "omniauth-paypal-oauth2"
|
|
141
|
-
config.omniauth :paypal_oauth2, "PAYPAL_CLIENT_ID", "PAYPAL_CLIENT_SECRET"
|
|
139
|
+
config.omniauth :paypal_oauth2, "PAYPAL_CLIENT_ID", "PAYPAL_CLIENT_SECRET"
|
|
142
140
|
```
|
|
143
141
|
|
|
144
142
|
Then add the following to 'config/routes.rb' so the callback routes are defined.
|
|
@@ -5,8 +5,8 @@ Gem::Specification.new do |gem|
|
|
|
5
5
|
gem.name = 'omniauth-paypal-oauth2'
|
|
6
6
|
gem.version = OmniAuth::PaypalOauth2::VERSION
|
|
7
7
|
gem.license = 'MIT'
|
|
8
|
-
gem.summary = 'A PayPal OAuth2 strategy for OmniAuth
|
|
9
|
-
gem.description = 'A PayPal OAuth2 strategy for OmniAuth
|
|
8
|
+
gem.summary = 'A PayPal OAuth2 strategy for OmniAuth'
|
|
9
|
+
gem.description = 'A PayPal OAuth2 strategy for OmniAuth'
|
|
10
10
|
gem.authors = ['Jonas Hübotter']
|
|
11
11
|
gem.email = ['jonas@slooob.com']
|
|
12
12
|
gem.homepage = 'https://github.com/jonhue/omniauth-paypal-oauth2'
|
|
@@ -17,8 +17,8 @@ Gem::Specification.new do |gem|
|
|
|
17
17
|
gem.required_ruby_version = '>= 2.0'
|
|
18
18
|
|
|
19
19
|
gem.add_runtime_dependency 'omniauth-oauth2', '~> 1.4'
|
|
20
|
-
gem.add_runtime_dependency 'json', '~> 1.7'
|
|
20
|
+
gem.add_runtime_dependency 'json', '~> 1.7'
|
|
21
21
|
|
|
22
|
-
gem.add_development_dependency 'rspec', '~> 3
|
|
22
|
+
gem.add_development_dependency 'rspec', '~> 3'
|
|
23
23
|
gem.add_development_dependency 'rake'
|
|
24
24
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonas Hübotter
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-08-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: omniauth-oauth2
|
|
@@ -31,9 +31,6 @@ dependencies:
|
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '1.7'
|
|
34
|
-
- - ">="
|
|
35
|
-
- !ruby/object:Gem::Version
|
|
36
|
-
version: 1.7.7
|
|
37
34
|
type: :runtime
|
|
38
35
|
prerelease: false
|
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -41,23 +38,20 @@ dependencies:
|
|
|
41
38
|
- - "~>"
|
|
42
39
|
- !ruby/object:Gem::Version
|
|
43
40
|
version: '1.7'
|
|
44
|
-
- - ">="
|
|
45
|
-
- !ruby/object:Gem::Version
|
|
46
|
-
version: 1.7.7
|
|
47
41
|
- !ruby/object:Gem::Dependency
|
|
48
42
|
name: rspec
|
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
|
50
44
|
requirements:
|
|
51
45
|
- - "~>"
|
|
52
46
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '3
|
|
47
|
+
version: '3'
|
|
54
48
|
type: :development
|
|
55
49
|
prerelease: false
|
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
51
|
requirements:
|
|
58
52
|
- - "~>"
|
|
59
53
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: '3
|
|
54
|
+
version: '3'
|
|
61
55
|
- !ruby/object:Gem::Dependency
|
|
62
56
|
name: rake
|
|
63
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -72,7 +66,7 @@ dependencies:
|
|
|
72
66
|
- - ">="
|
|
73
67
|
- !ruby/object:Gem::Version
|
|
74
68
|
version: '0'
|
|
75
|
-
description: A PayPal OAuth2 strategy for OmniAuth
|
|
69
|
+
description: A PayPal OAuth2 strategy for OmniAuth
|
|
76
70
|
email:
|
|
77
71
|
- jonas@slooob.com
|
|
78
72
|
executables: []
|
|
@@ -113,8 +107,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
113
107
|
version: '0'
|
|
114
108
|
requirements: []
|
|
115
109
|
rubyforge_project:
|
|
116
|
-
rubygems_version: 2.6.
|
|
110
|
+
rubygems_version: 2.6.12
|
|
117
111
|
signing_key:
|
|
118
112
|
specification_version: 4
|
|
119
|
-
summary: A PayPal OAuth2 strategy for OmniAuth
|
|
113
|
+
summary: A PayPal OAuth2 strategy for OmniAuth
|
|
120
114
|
test_files: []
|