caboose-cms 0.9.53 → 0.9.54
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/caboose/cart_controller.rb +1 -1
- data/lib/caboose/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acb66ef2677682c17b78ad9f2d7e3cdfe6257bb5
|
4
|
+
data.tar.gz: 3483b053afd8087fdcd13f51b3b2fee3fff02fd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fa9d77f7095f4fe05b67401991ef29ce3f690a1e7514b763dda6e1afd75ea38d40d29affee605bc6f3dc19b2cb945b597fb12cf5ebf604bb9cbd375698824d1
|
7
|
+
data.tar.gz: 46cdef18a1b45e330bbbe1ce91ab46b74fbfa1012f4b552a0c52b282127ed07c59448974721f94c7d7254e25ceb7c63eff63a53f6bdab055a4e2e23d39fd289a
|
@@ -131,7 +131,7 @@ module Caboose
|
|
131
131
|
resp.quantity_message = "You must purchase at least #{vl.min_quantity(@invoice)} of this item, your cart has been updated."
|
132
132
|
elsif vl.qty_too_high(qty2, @invoice)
|
133
133
|
qty = vl.max_quantity(@invoice) - vl.current_value
|
134
|
-
if vl.max_quantity == vl.current_value
|
134
|
+
if vl.max_quantity(@invoice) == vl.current_value
|
135
135
|
resp.success = false
|
136
136
|
resp.error = "You have already purchased the maximum quantity allowed for this item."
|
137
137
|
render :json => resp
|
data/lib/caboose/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.54
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|