caboose-store 0.0.38 → 0.0.39
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
M2EzZjNiODZmYjdlNTdiYmVmY2RmNWI5M2I3MzZhMmMyOWQxODdmMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGY2NWM1NGI0NWFiZGMwYjM1NmM2YTVjNzI5MTU1NGJiNmVhYjhkNQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTczMTJlODdiZWJhNjMzNmJjNzEyMTY2Y2VkMmM3NzkyN2VhMDE3OWM0ZWJm
|
10
|
+
YjE0ZGMzNTM4MzlmYjFiODk1ZGM5ZDJkMDNlZjBiM2FhZTg4MDBhMTJjYTVi
|
11
|
+
YTI5ZmM4ZGYwYWE1ZTdlYzBjMmFmZGM0NzMyZDk0ODMxYjE4MTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZWMxMzUxYWVjOWY2MTVmNTg4MTg0MDhlY2I4MjQzMTNmYjY4MTA2MWRkZTNl
|
14
|
+
NzQ2MThlYmU1YjU5OThhZDhkZDI1MDNkYzJlOGRkMmRlYWEzYzY3NjdkOTQ2
|
15
|
+
YWM2Yjc4OTc2MDUxYzI0OGU3MmJiZDc0YjE1ZGNmYzE0MDQwMzA=
|
@@ -14,7 +14,14 @@ module CabooseStore
|
|
14
14
|
|
15
15
|
# GET /checkout/step-one
|
16
16
|
def step_one
|
17
|
-
|
17
|
+
if logged_in?
|
18
|
+
if @order.customer_id.nil?
|
19
|
+
@order.customer_id = logged_in_user.id
|
20
|
+
@order.save
|
21
|
+
end
|
22
|
+
redirect_to '/checkout/step-two'
|
23
|
+
return
|
24
|
+
end
|
18
25
|
end
|
19
26
|
|
20
27
|
# GET /checkout/step-two
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.39
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: caboose-cms
|