solidus_mp 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33ef4a77689e3e5f47c6f63c5cb1bd23d54faa4381509cb0896bf99613096c0f
4
- data.tar.gz: 2840a3539a70733aa59bc9290a19a6e86db43a14e0b9974b0adfd116c32e9e63
3
+ metadata.gz: 17e9ca9188ad1dd41968f23f866f23fe7c040fb8d321022a3f54a360443ec7a7
4
+ data.tar.gz: 1a152a7a74ba1fcf82bb3ff9baba3c384f2ae60dd5f9d081fe4af2ad07ad757a
5
5
  SHA512:
6
- metadata.gz: 9d7edfdf6d41100e7d72daab3cd7c41d98a48ce98ea855ce0cd37ada07efb4daead926b513af5600380203703b84f99f58b83ed2fb6d68b141c27b879791b9f5
7
- data.tar.gz: b49afdafc986df3105fd8f36f501d1bb2323e5c44d43eb69821cad7dbf3e10c6947a97c6417e28572a1594b978f11c2e7c67da20d7d0f7ca0def5b7866aa7a3d
6
+ metadata.gz: bc8aeb78397d14d8b8e28a614d2a8d70c202cc717a9f6afe874f18dc95f62916f6a608171c403ec1df52292460f6af2c96d580d4e2fde8b4650fa9cbdc3c6874
7
+ data.tar.gz: e76dbd0ba88a43988f3e51243f8dce9ac6ee987e66f8fdf60dc09bb2088f63162f90d3fd1f3c2e377714c835de68af112fc1d423841d09602a2d579790b81f5b
@@ -22,7 +22,7 @@ module SolidusMp
22
22
  source.is_a?(payment_source_class)
23
23
  end
24
24
 
25
- def create_card_payment payment, user
25
+ def create_card_payment payment, user=nil
26
26
  if user
27
27
  customer = find_or_create_customer(payment, user)
28
28
  save_credit_card(payment, customer)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusMp
4
- VERSION = '1.1.1'
4
+ VERSION = '1.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_mp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - caio