kkt_shoppe 2.0.0 → 2.0.1

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
  SHA1:
3
- metadata.gz: 77f73aae190d929e1b27577771dd3144d27a2964
4
- data.tar.gz: 9f09682d22e387fa69ff05277c0f177d6530e07f
3
+ metadata.gz: 77f6316a5c4da9a9cd003c1842c9f0697165a9f0
4
+ data.tar.gz: d57a3255fb5eb0507a138bf79d118d10933b0b95
5
5
  SHA512:
6
- metadata.gz: bf8e65bf71de2e49f0275e427ab2b1da0b9ea17f4ed33a532ae3d975f3ed3243adb80bfa3d2ffb21b51fe07b4b54e061479d48febbfb90705dde8edf520f71c3
7
- data.tar.gz: 4800eb03becbab1d4cc981746084f0d6c6a2e7e2ac32ebc5289610c7a0cfbe56fe79c48918ea16f5038cdc6b46443fe4b7e9a4c177f11471324226c9de8b9801
6
+ metadata.gz: 2eef25284f9e3727f77941ee935ab6684628a6cdf5320959c578c96ae872e9565255d729736f09e7996c4e7882bef3ac30157012d13a255a78cf6144706d3e0a
7
+ data.tar.gz: 3b78cd88d13df245ece2457da0d48cd8251cd75c7ed6ae39c323f89764846a75e6dda4074e563ee91a8e6fe37fcbc0bfc234b899dab9817a3275b2b4e828deb1
@@ -19,7 +19,7 @@ module KktShoppe
19
19
  @order = KktShoppe::Order.new(safe_params)
20
20
  @order.status = 'confirming'
21
21
 
22
- if safe_params[:customer_id]
22
+ if !safe_params[:customer_id].empty?
23
23
  @customer = KktShoppe::Customer.find safe_params[:customer_id]
24
24
  @order.first_name = @customer.first_name
25
25
  @order.last_name = @customer.last_name
@@ -1,3 +1,3 @@
1
1
  module KktShoppe
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kkt_shoppe
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Thompson