pay 6.3.3 → 6.4.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: 3dd5d8face3b7594984198d04cef9783a8b2ef213961a6eb44211fd9144d3f06
4
- data.tar.gz: fdf8774b97c605f1a1ade9ce50bbc4ce43c86a94d0aa361afe30b6438face5b9
3
+ metadata.gz: b4633aee05e88559e1433e3cb2078d693db0acd19bf605e9de91c6c4fff5f182
4
+ data.tar.gz: b60f17927b33068b19b4890b2b484d120e096ac8cff44de6e32974617ce92183
5
5
  SHA512:
6
- metadata.gz: a4b3921d316db733b60c841a4ebb9e16fe64ddd9e0581d832fd376feb5badf6e94e0aff348c0f3c11abb61e1dbda21f79fbe3a6f957dc9bcf958c4a9e86467dc
7
- data.tar.gz: 80ca7cd637ca444b74a76af17bc682f96cf446ebe4cac043dc677d8e5b24d81a0e0721afee3455c7d2af942a6374ad8599f056f7f055fce72606f00e8765ca88
6
+ metadata.gz: 340aad778f4df4390481a3e1afdd38427410d31343e739a86ed1f14491f4d4ada04c1027ce1f82621a408b277f47d58b3366c59ed4266caed046f5e43ad0714e
7
+ data.tar.gz: 467739d756394085a5f0113ee2be78ab477f61f25982eb77342e549e525ab8907abf43860674d0ecc3299c46dad859d8b889fbcfa95c33093dc769aaf3c253c9
@@ -66,7 +66,7 @@
66
66
  <script type="module">
67
67
  window.stripe = Stripe('<%= Pay::Stripe.public_key %>');
68
68
 
69
- import { Application, Controller } from 'https://unpkg.com/@hotwired/stimulus'
69
+ import { Application, Controller } from 'https://unpkg.com/@hotwired/stimulus/dist/stimulus.js'
70
70
  const application = Application.start()
71
71
 
72
72
  application.register('payment-intent', class extends Controller {
data/lib/pay/engine.rb CHANGED
@@ -17,6 +17,10 @@ module Pay
17
17
  end
18
18
  end
19
19
 
20
+ config.after_initialize do
21
+ ActiveSupport.run_load_hooks(:pay, Pay)
22
+ end
23
+
20
24
  # Add webhook subscribers before app initializers define extras
21
25
  # This keeps the processing in order so that changes have happened before user-defined webhook processors
22
26
  config.before_initialize do
data/lib/pay/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pay
2
- VERSION = "6.3.3"
2
+ VERSION = "6.4.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pay
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.3.3
4
+ version: 6.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Charnes
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-04-21 00:00:00.000000000 Z
13
+ date: 2023-05-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails