omniauth-stripe-connect-v2 1.0.0 → 1.0.2
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 +1 -1
- data/lib/omniauth/strategies/stripe_connect_v2.rb +2 -2
- data/lib/omniauth/stripe_connect_v2.rb +1 -1
- data/lib/omniauth-stripe-connect-v2/version.rb +1 -1
- data/lib/omniauth-stripe-connect-v2.rb +1 -1
- data/spec_v2/omniauth/strategies/stripe_connect_v2_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 296dda4d069da35f66dfdd6e85c1c7b72e1f7bafdb274e1753cbd8074f82f72e
|
4
|
+
data.tar.gz: 1070df95b8832c18a93aa639d13194faba176f9c70d3d2a845cbf11e84b04efe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d476fddeb1b033869b7234885d2e05d948840633a5f7aebd429e9e533489780b9a795afe09c0b3df440e50544e22052a4b39c819e495cc764377e64f04292524
|
7
|
+
data.tar.gz: 6f0b140deafcd7a8d48b81b8fac947e14685778add36e3730dbe6ab1a18466d54153645ea852b1b07db65769cca0884c80aa3dcaf13f2c7aa78ed481387c8f6a
|
data/README.md
CHANGED
@@ -21,7 +21,7 @@ Or install it yourself as:
|
|
21
21
|
|
22
22
|
## Usage
|
23
23
|
|
24
|
-
OmniAuth::Strategies::
|
24
|
+
OmniAuth::Strategies::StripeConnect is simply a Rack middleware. Read the OmniAuth
|
25
25
|
1.0 docs for detailed instructions: https://github.com/intridea/omniauth.
|
26
26
|
|
27
27
|
### Non-Devise
|
@@ -2,8 +2,8 @@ require 'omniauth/strategies/oauth2'
|
|
2
2
|
|
3
3
|
module OmniAuth
|
4
4
|
module Strategies
|
5
|
-
class
|
6
|
-
option :name, :
|
5
|
+
class StripeConnect < OmniAuth::Strategies::OAuth2
|
6
|
+
option :name, :stripe_connect
|
7
7
|
|
8
8
|
option :client_options, {
|
9
9
|
:site => 'https://connect.stripe.com'
|
@@ -1 +1 @@
|
|
1
|
-
require 'omniauth/strategies/
|
1
|
+
require 'omniauth/strategies/stripe_connect'
|
@@ -1,2 +1,2 @@
|
|
1
|
-
require "omniauth-stripe-connect/version"
|
1
|
+
require "omniauth-stripe-connect-v2/version"
|
2
2
|
require 'omniauth/stripe_connect'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
describe OmniAuth::Strategies::
|
4
|
-
let(:fresh_strategy) { Class.new(OmniAuth::Strategies::
|
3
|
+
describe OmniAuth::Strategies::StripeConnect do
|
4
|
+
let(:fresh_strategy) { Class.new(OmniAuth::Strategies::StripeConnect) }
|
5
5
|
|
6
6
|
|
7
7
|
before(:each) do
|