pay 4.2.0 → 4.2.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pay might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21dbf64c59853ff5226ba4896f3d25c29625182637cc4ac43f9eaffb60433ec7
4
- data.tar.gz: e0cd4bfa462306aa0ddf15244a2d536c36a97e45b2d4acb2564cee9c8143351b
3
+ metadata.gz: cfd57b19e4d88a7b44ce680b18018fb9f6d623a98354d3858f10ac97ec87711a
4
+ data.tar.gz: f18db44917f38b0d97f7907fe22c46e4408afa7acea95468381bfaab58b7c66e
5
5
  SHA512:
6
- metadata.gz: e3b007b3190cb534dec8953486a21fca0b9fe82d26a1caa80dc27a405f835bbb8424c034508e8adc5f36ce3d9ae526a4334d1a5a315b43ebba472dc60f0772f1
7
- data.tar.gz: 0f0390f51f53fad304ceb5866d1f68a3a5af7272ce33403c27b0362e916d0ad20de756f77a3375f466ec8866d0d2a97e006a15c6dd3f18ac221fb4fc10d3f467
6
+ metadata.gz: 2e34a3196a14ee151faf1ff5a6f7c69360e035f6d74374b91f2502225b3bdf93c2db05e44569a0939514b3aabb42e497a2064a9c2294d1220279d755c87da206
7
+ data.tar.gz: a20484911fb6f1e173a9f92af70ec44a7c9fad2f31b5486538079232d2cae92dc789949201fdbbe8060835c59ad91f7b4e5d1f435e5678c73d444758d2f67a90
@@ -178,6 +178,7 @@ module Pay
178
178
  end
179
179
 
180
180
  def create_setup_intent(options = {})
181
+ customer unless processor_id?
181
182
  ::Stripe::SetupIntent.create({
182
183
  customer: processor_id,
183
184
  usage: :off_session
data/lib/pay/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pay
2
- VERSION = "4.2.0"
2
+ VERSION = "4.2.1"
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: 4.2.0
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Charnes
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-07-29 00:00:00.000000000 Z
12
+ date: 2022-08-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails