omniauth-stripe-connect 2.4.0 → 2.5.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: 934f1c84bc9bb71f22a9c1fd6028be3028fb4399
4
- data.tar.gz: 22ad5ab94bd71e30ed33e0bc306050f0c92fee1a
3
+ metadata.gz: b2bf24ebcf5c04cbd924c85e104451e1b31ff363
4
+ data.tar.gz: 6ce956526f0b059aea13ee4c207e38edff64b6d7
5
5
  SHA512:
6
- metadata.gz: 2e8ee024adcfed30d5e6b2525811a5efdab972773123c4fc0de7d9b0f3ed070bdff9dfe14d53cda9597b872842979100ef40c719a62c18684a3176e2eeb25b73
7
- data.tar.gz: e7389c890d625f975bd57dd3dc6e2d0771ebe0e2f466b512641f7c4195a7c699d31b6d35623041016601349dbe029326f10fb7fecebf639902825e8777e979f9
6
+ metadata.gz: 1f2237315286c58f926825665936747f517c3c50c38b8959038c3b388a793f7f7d4a43e3805960ca707ca40374e738e2c24798baaf810833c807de45fa8d1d5f
7
+ data.tar.gz: 00fbc0b7ba3ef038925c216591aebd659d10459ef8f4b0cd4a21358562fbdfe6c104ff2c0b468c2b349cbf66c17fff62407e086fe6100bd02b12bc93502bf3f4
data/README.md CHANGED
@@ -60,21 +60,6 @@ Then you can hit `/auth/stripe_connect`
60
60
 
61
61
  If you hit `/auth/stripe_connect` with any query params, they will be passed along to Stripe. Read [Stripe's OAuth Reference](https://stripe.com/docs/connect/reference) for more information.
62
62
 
63
- ### Ruby on Rails apps with Devise
64
-
65
- After setting up Devise to use OmniAuth, you only need to add the following line of code to handle the OAuth2 part of Stripe Connect. Since this Devise initializer code takes care of OmniAuth, do not use a separate OmniAuth initializer.
66
-
67
- ```ruby
68
- # Put this in config/initializers/devise.rb with the rest of your Devise configuration
69
- config.omniauth :stripe_connect,
70
- ENV['STRIPE_CONNECT_CLIENT_ID'],
71
- ENV['STRIPE_SECRET_KEY'],
72
- :scope => 'read_write', # or :scope => 'read_only'
73
- :stripe_landing => 'login' # or :stripe_landing => 'register'
74
- ```
75
-
76
- Now your done!
77
-
78
63
  ## Auth Hash
79
64
 
80
65
  Here is an example of the Auth Hash you get back from calling `request.env['omniauth.auth']`:
@@ -104,6 +89,9 @@ Here is an example of the Auth Hash you get back from calling `request.env['omni
104
89
  }
105
90
  ```
106
91
 
92
+ ## Additional Tutorials
93
+ [Stripe Connect in Rails Tutorial](http://www.munocreative.com/nerd-notes/winvoice)
94
+
107
95
  ## Contributing
108
96
 
109
97
  1. Fork it
@@ -9,7 +9,7 @@ module OmniAuth
9
9
  :site => 'https://connect.stripe.com'
10
10
  }
11
11
 
12
- option :authorize_options, [:scope, :stripe_landing]
12
+ option :authorize_options, [:scope, :stripe_landing, :always_prompt]
13
13
  option :provider_ignores_state, true
14
14
 
15
15
  uid { raw_info[:stripe_user_id] }
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module StripeConnect
3
- VERSION = "2.4.0"
3
+ VERSION = "2.5.0"
4
4
  end
5
5
  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.4.0
4
+ version: 2.5.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: 2014-09-24 00:00:00.000000000 Z
11
+ date: 2014-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth