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 +4 -4
- data/app/views/pay/payments/show.html.erb +1 -1
- data/lib/pay/engine.rb +4 -0
- data/lib/pay/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4633aee05e88559e1433e3cb2078d693db0acd19bf605e9de91c6c4fff5f182
|
4
|
+
data.tar.gz: b60f17927b33068b19b4890b2b484d120e096ac8cff44de6e32974617ce92183
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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.
|
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-
|
13
|
+
date: 2023-05-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|