omniauth-stripe-connect 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/lib/omniauth/strategies/stripe_connect.rb +8 -0
- data/lib/omniauth-stripe-connect/version.rb +1 -1
- data/omniauth-stripe-connect.gemspec +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 934f1c84bc9bb71f22a9c1fd6028be3028fb4399
|
4
|
+
data.tar.gz: 22ad5ab94bd71e30ed33e0bc306050f0c92fee1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e8ee024adcfed30d5e6b2525811a5efdab972773123c4fc0de7d9b0f3ed070bdff9dfe14d53cda9597b872842979100ef40c719a62c18684a3176e2eeb25b73
|
7
|
+
data.tar.gz: e7389c890d625f975bd57dd3dc6e2d0771ebe0e2f466b512641f7c4195a7c699d31b6d35623041016601349dbe029326f10fb7fecebf639902825e8777e979f9
|
data/.gitignore
CHANGED
@@ -28,6 +28,14 @@ module OmniAuth
|
|
28
28
|
}
|
29
29
|
end
|
30
30
|
|
31
|
+
credentials do
|
32
|
+
hash = {'token' => access_token.token}
|
33
|
+
hash.merge!('refresh_token' => access_token.refresh_token) if access_token.refresh_token
|
34
|
+
hash.merge!('expires_at' => access_token.expires_at) if access_token.expires?
|
35
|
+
hash.merge!('expires' => access_token.expires?)
|
36
|
+
hash
|
37
|
+
end
|
38
|
+
|
31
39
|
def raw_info
|
32
40
|
@raw_info ||= deep_symbolize(access_token.params)
|
33
41
|
end
|
@@ -19,5 +19,5 @@ Read the Stripe Connect docs for more details: https://stripe.com/docs/connect
|
|
19
19
|
gem.version = OmniAuth::StripeConnect::VERSION
|
20
20
|
|
21
21
|
gem.add_dependency 'omniauth', '~> 1.0'
|
22
|
-
gem.add_dependency 'omniauth-oauth2', '
|
22
|
+
gem.add_dependency 'omniauth-oauth2', '~> 1.2.0'
|
23
23
|
end
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-stripe-connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Isaac Sanders
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: omniauth-oauth2
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.0
|
33
|
+
version: 1.2.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.0
|
40
|
+
version: 1.2.0
|
41
41
|
description: Stripe Connect OAuth2 Strategy for OmniAuth 1.0.
|
42
42
|
email:
|
43
43
|
- isaac@isaacbfsanders.com
|
@@ -45,7 +45,7 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- .gitignore
|
48
|
+
- ".gitignore"
|
49
49
|
- Gemfile
|
50
50
|
- LICENSE
|
51
51
|
- README.md
|
@@ -66,17 +66,17 @@ require_paths:
|
|
66
66
|
- lib
|
67
67
|
required_ruby_version: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- -
|
69
|
+
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
78
|
rubyforge_project:
|
79
|
-
rubygems_version: 2.
|
79
|
+
rubygems_version: 2.2.2
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: 'Supports the OAuth 2.0 server-side and client-side flows. Read the Stripe
|