caboose-cms 0.7.29 → 0.7.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6a19ce084683f65c5a6cbae50ebb24dd39ae3fd
4
- data.tar.gz: 9ca547dd829a14261d9cf4d815da60682b7e84ab
3
+ metadata.gz: e1a2b599d4b6436f4ec68b1bbda09ad14dc412d2
4
+ data.tar.gz: 1eac458365e4df16bb53ffbaab07771de308b64d
5
5
  SHA512:
6
- metadata.gz: e1f99a0e6bcf457cf4d921625ec81d54214198148d9d3cd7c6bf5700d7b9679ad236049e123a5c15a1154571762eed176ce0adaffaa741b8a7877a8c3331ed47
7
- data.tar.gz: b5bca74153fd3b5f8c8835ce830dfe48a58045e47e7b710961b9ea1431805121d50d65eb9d10e003c8a7736eb250fdd455293f6a0267669e5f2887ffaf3b7df5
6
+ metadata.gz: 40904aa6cac95f6f64e06af5832a405c5eae3f0f180f99e58db8d0228bc25a9cb928b58b53da325412c316f0ba1e684d09dda1d6fbdd004500852a9b07ebe6e2
7
+ data.tar.gz: acaf7f38eef8595d9814a416107a62134bd52adf5b688a3f6981af32624af812b848ca99b20eb6124138c4078c4eb1cb8a50887ece59b5c772d91ba843f60499
@@ -189,18 +189,7 @@ module Caboose
189
189
  @order.calculate
190
190
  total = @order.total
191
191
  end
192
- #render :json => total.to_f
193
- ap @order
194
-
195
- render :json => {
196
- :subtotal => @order.calculate_subtotal.to_f ,
197
- :tax => @order.calculate_tax.to_f ,
198
- :shipping => @order.calculate_shipping.to_f ,
199
- :handling => @order.calculate_handling.to_f ,
200
- :gift_wrap => @order.calculate_gift_wrap.to_f ,
201
- :discount => @order.calculate_discount.to_f ,
202
- :total => @order.calculate_total.to_f
203
- }
192
+ render :json => total.to_f
204
193
  end
205
194
 
206
195
  # GET /checkout/address
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.7.29'
2
+ VERSION = '0.7.30'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.29
4
+ version: 0.7.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry