omniauth-stripe-connect 2.9.0 → 2.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02c080c1be1d00dfd6d2dab3f6a5af6314c5ad86
4
- data.tar.gz: bb99a80b0bab7e920088e46c9827680642be74b2
3
+ metadata.gz: 4387f29f832052ec5b332f15d5591eb7dbb612c8
4
+ data.tar.gz: e3e5e76778209f214ec002f3ee221b92428418fe
5
5
  SHA512:
6
- metadata.gz: 71c2ebead1aded009888469e4f06d5c66f712f37e8e4f0d0573a0f8ce5d4ffdb723cf0f11cd64b47f81e4c3e41ec9b17362a487cf868a13129280e12bf9f3f1b
7
- data.tar.gz: bb2cfef6b17d42fcb99fc01f316413804ad216d6e041e081c7f7da5950889b7c5cdac3cfede1326cd9e3f3ec208d2648e2be4f5c9830341db8f147256520d536
6
+ metadata.gz: a41264e55a7826d2df923f017968cee74c2b3e5512f54ae2672e8eaec11c8da49f8e18a375328308dd37ecff0f7e9ccdb18eb1fd8ce4b9ea9342221d29cc7a08
7
+ data.tar.gz: 05664bfd1947423eb194e52e6a5e47c35f538a447072e98f2636c53d93c8ca7c8201034507b1ff608cb25ce1be4ed5801eea5ec15a5258bc46d031b346d3cf61
data/README.md CHANGED
@@ -80,12 +80,16 @@ Here is an example of the Auth Hash you get back from calling `request.env['omni
80
80
  "provider"=>"stripe_connect",
81
81
  "uid"=>"<STRIPE_USER_ID>",
82
82
  "info"=> {
83
+ "email"=>"email@example.com",
84
+ "name"=>"Name",
85
+ "nickname"=>"Nickname",
83
86
  "scope"=>"read_write", # or "read_only"
84
87
  "livemode"=>false,
85
88
  "stripe_publishable_key"=>"<STRIPE_PUBLISHABLE_KEY>",
86
89
  },
87
90
  "credentials"=> {
88
91
  "token"=>"<STRIPE_ACCESS_TOKEN>",
92
+ "refresh_token"=>"<STRIPE_REFRESH_TOKEN>",
89
93
  "expires"=>false
90
94
  },
91
95
  "extra"=> {
@@ -95,6 +99,25 @@ Here is an example of the Auth Hash you get back from calling `request.env['omni
95
99
  "scope"=>"read_only",
96
100
  "stripe_publishable_key"=>"<STRIPE_PUBLISHABLE_KEY>",
97
101
  "livemode"=>false
102
+ },
103
+ "extra_info"=> {
104
+ "business_logo"=>"https://stripe.com/business_logo.png",
105
+ "business_name"=>"Business Name",
106
+ "business_url"=>"example.com",
107
+ "charges_enabled"=>true,
108
+ "country"=>"US",
109
+ "default_currency"=>"eur",
110
+ "details_submitted"=>true,
111
+ "display_name"=>"Business Name",
112
+ "email"=>"email@example.com",
113
+ "id"=>"<STRIPE_USER_ID>",
114
+ "managed"=>false,
115
+ "object"=>"account",
116
+ "statement_descriptor"=>"EXAMPLE.COM",
117
+ "support_email"=>"support@example.com",
118
+ "support_phone"=>"123456789",
119
+ "timezone"=>"Europe/Berlin",
120
+ "transfers_enabled"=>true
98
121
  }
99
122
  }
100
123
  }
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module StripeConnect
3
- VERSION = "2.9.0"
3
+ VERSION = "2.10.0"
4
4
  end
5
5
  end
@@ -18,6 +18,6 @@ Read the Stripe Connect docs for more details: https://stripe.com/docs/connect
18
18
  gem.require_paths = ["lib"]
19
19
  gem.version = OmniAuth::StripeConnect::VERSION
20
20
 
21
- gem.add_dependency 'omniauth', '~> 1.0'
22
- gem.add_dependency 'omniauth-oauth2', '~> 1.3.1'
21
+ gem.add_dependency 'omniauth', '~> 1.3'
22
+ gem.add_dependency 'omniauth-oauth2', '~> 1.4'
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-stripe-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.10.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: 2015-07-26 00:00:00.000000000 Z
11
+ date: 2017-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: '1.3'
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
- version: '1.0'
26
+ version: '1.3'
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.3.1
33
+ version: '1.4'
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.3.1
40
+ version: '1.4'
41
41
  description: Stripe Connect OAuth2 Strategy for OmniAuth 1.0.
42
42
  email:
43
43
  - isaac@isaacbfsanders.com
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  version: '0'
77
77
  requirements: []
78
78
  rubyforge_project:
79
- rubygems_version: 2.2.2
79
+ rubygems_version: 2.6.8
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