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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf2d7630a4fdb3a4f424ae823ba19cda29307cc4
4
- data.tar.gz: 341ef93edb4458bce664ae118758d4565ed8be74
3
+ metadata.gz: acb66ef2677682c17b78ad9f2d7e3cdfe6257bb5
4
+ data.tar.gz: 3483b053afd8087fdcd13f51b3b2fee3fff02fd1
5
5
  SHA512:
6
- metadata.gz: d2c05699532dde66a82204a92b3665d0554468fdaaa07b3a9f019ca70e114e4866c4997dbd1ce6d2be669c5fefca5d9bfa2208b2abd70e6afde2d0f654f8ac8e
7
- data.tar.gz: 4dc3e9f4cbb23b8cb1a3480eb79f11bd0034810b05c854043cfd19e1c652c130d8c2663af732c66da46fe8c780a30836ff82feefc82d3ca6d12c000528492b65
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
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.53'
2
+ VERSION = '0.9.54'
3
3
  end
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.53
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-02 00:00:00.000000000 Z
11
+ date: 2017-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg