bullet_train-integrations-stripe 1.14.2 → 1.15.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7114ccd13a3c424b9dd267560ebc8a1d29a0d77c03b9f192c3f9b9fda3086886
4
- data.tar.gz: 24d2af20296114ec7b86a9f6b1704971c96e5c27b147dcc4b5d572ad7fc94799
3
+ metadata.gz: 8acd7a0686ebf84c287e658132fbf42561bc74b6e2510dd7e768e58e82265b1d
4
+ data.tar.gz: '009da6740c21a913bd91e2fe2c1e03e3c5512b43e59ec1f587bcc462f605ed7f'
5
5
  SHA512:
6
- metadata.gz: 218583e0eed29acddcd18724946d914d3c269b29ed17da47ee8c50e60e3195a330b071f782525bb3acb2892192316b912854be550525cca39fa30fc28c8c717b
7
- data.tar.gz: ffead311bd3ba67246342802d96be6f61f6cd2ad9d40495730717838cb9deffb54b693063335cd60898f542f7e228ea2c34484b61d05cbaad4c6d05b4eb93ae9
6
+ metadata.gz: 4c75875fc343ae13e924de6a13e384482dec8294fe0a84a89006074242c153e2da71475b7ca99e324ae58335830adcd46fe6b32c6033d3762fab7a487e011f4d
7
+ data.tar.gz: 2dd277a68471f2d068eb9803eb239bf79ad5a2a7dc8d9f5cabbe6bd31f046e74a681c231b33c697d1c6404b52af7ac23a573cccf1f59c14c1b6ed6c8e7f91c6d
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Integrations
3
3
  module Stripe
4
- VERSION = "1.14.2"
4
+ VERSION = "1.15.0"
5
5
  end
6
6
  end
7
7
  end
@@ -3,10 +3,14 @@ require "bullet_train/integrations/stripe/engine"
3
3
 
4
4
  require "stripe"
5
5
  require "omniauth"
6
- require "omniauth-stripe-connect"
6
+ require "omniauth-stripe-connect-v2"
7
7
 
8
- # TODO Remove when we're able to properly upgrade Omniauth.
8
+ # This helps to resolve this CVE:
9
9
  # https://github.com/omniauth/omniauth/wiki/Resolving-CVE-2015-9284
10
+ # It also just allows things to work as expected.
11
+ # Initially it seemed like we could remove this gem after updating omniauth
12
+ # to version > 2. But If we remove it the built-in TokenValidator from omniauth
13
+ # throws an error when we try to connect.
10
14
  require "omniauth/rails_csrf_protection"
11
15
 
12
16
  module BulletTrain
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-integrations-stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.2
4
+ version: 1.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-27 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rails
@@ -41,18 +41,18 @@ dependencies:
41
41
  name: omniauth
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - ">="
44
+ - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0'
46
+ version: '2.0'
47
47
  type: :runtime
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ">="
51
+ - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '0'
53
+ version: '2.0'
54
54
  - !ruby/object:Gem::Dependency
55
- name: omniauth-stripe-connect
55
+ name: omniauth-stripe-connect-v2
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - ">="
@@ -69,16 +69,16 @@ dependencies:
69
69
  name: omniauth-rails_csrf_protection
70
70
  requirement: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ">="
72
+ - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '0'
74
+ version: '1.0'
75
75
  type: :runtime
76
76
  prerelease: false
77
77
  version_requirements: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ">="
79
+ - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '0'
81
+ version: '1.0'
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: simplecov
84
84
  requirement: !ruby/object:Gem::Requirement