bullet_train-integrations-stripe 1.0.1 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/integrations.rb +5 -0
- data/app/models/oauth.rb +5 -0
- data/app/models/webhooks/incoming/oauth.rb +5 -0
- data/app/models/webhooks/incoming.rb +5 -0
- data/app/models/webhooks.rb +5 -0
- data/lib/bullet_train/integrations/stripe/version.rb +1 -1
- data/lib/bullet_train/integrations/stripe.rb +8 -0
- metadata +65 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8810aee1c9e78284f28b9c7cbc07fda53ba3ab05684f218a8cc70c3323525de6
|
4
|
+
data.tar.gz: 523f353bc600b05826071093f61d9d4e229ec2f5ea0a18915a09588c2bf267dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a69783960896885c84bac12de24f44e19f42b4ac9608a9449aa461198f732c6eb1975a700f78662fb36a5f39ba0a622ad48c5c9afc633ec0db7cbedc58562d81
|
7
|
+
data.tar.gz: 97fd245e3bc5a46c0583035dc0edaed12fc3097acbef728b2e00bbe03a36f4df42343f30f1dadc8f0baa5fd445ed40f63450a583453b06d4cec00101b5e7e81c
|
data/app/models/oauth.rb
ADDED
@@ -1,6 +1,14 @@
|
|
1
1
|
require "bullet_train/integrations/stripe/version"
|
2
2
|
require "bullet_train/integrations/stripe/engine"
|
3
3
|
|
4
|
+
require "stripe"
|
5
|
+
require "omniauth"
|
6
|
+
require "omniauth-stripe-connect"
|
7
|
+
|
8
|
+
# TODO Remove when we're able to properly upgrade Omniauth.
|
9
|
+
# https://github.com/omniauth/omniauth/wiki/Resolving-CVE-2015-9284
|
10
|
+
require "omniauth/rails_csrf_protection"
|
11
|
+
|
4
12
|
module BulletTrain
|
5
13
|
module Integrations
|
6
14
|
module Stripe
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-integrations-stripe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 6.0.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
|
-
version:
|
26
|
+
version: 6.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: stripe
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: omniauth
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: omniauth-stripe-connect
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: omniauth-rails_csrf_protection
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
27
83
|
description: Example Stripe platform integration for Bullet Train applications.
|
28
84
|
email:
|
29
85
|
- andrew.culver@gmail.com
|
@@ -41,8 +97,13 @@ files:
|
|
41
97
|
- app/models/concerns/integrations/stripe_installations/base.rb
|
42
98
|
- app/models/concerns/oauth/stripe_accounts/base.rb
|
43
99
|
- app/models/concerns/webhooks/incoming/oauth/stripe_account_webhooks/base.rb
|
100
|
+
- app/models/integrations.rb
|
44
101
|
- app/models/integrations/stripe_installation.rb
|
102
|
+
- app/models/oauth.rb
|
45
103
|
- app/models/oauth/stripe_account.rb
|
104
|
+
- app/models/webhooks.rb
|
105
|
+
- app/models/webhooks/incoming.rb
|
106
|
+
- app/models/webhooks/incoming/oauth.rb
|
46
107
|
- app/models/webhooks/incoming/oauth/stripe_account_webhook.rb
|
47
108
|
- app/views/account/integrations/stripe_installations/_breadcrumbs.html.erb
|
48
109
|
- app/views/account/integrations/stripe_installations/_form.html.erb
|