caboose-cms 0.7.48 → 0.7.49

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: e90aa603ad21be1a2b9d3e2abe38a8ecd809610e
4
- data.tar.gz: 87b0b0d31dccb25263087ed7dd4b46ff3ea3d3ed
3
+ metadata.gz: 05df2133ce69c265c58154aae2612ddd8c018412
4
+ data.tar.gz: 65b19cc81afe0af3f2d617dd8c1cbdd33bf41f8b
5
5
  SHA512:
6
- metadata.gz: 803d27ab5a34e4671cc653eabb084126aef317a74d8b52b7feac67af24b776af3a29e10fa9c616f53b98da6d2e89259efa82e46466f46b180ac8102fa0499bac
7
- data.tar.gz: 2f2c7df6b1eae40ee8fc80079907b5b6024061595d7b0e31790e7e4ab31287d00d634d8cfcdabbc91927608c74d01cd44d5472000155d25778694b306c02e8d6
6
+ metadata.gz: b386a475e9c3592bc02be0e4252cc2c2de1e40af93ba6c8371a08f1bfdbb5cf2669b173ad2bb0fcebb5fcfabb79a082a82138c8d2cf7c1b672d39771ba233696
7
+ data.tar.gz: 8e66d3a6e7b8a638b4fd4aa668302f0c1c090d4e74dde92f82675c1f91a6425718435587d063cb5db82f42bcda9f24efb8bf3446bff321a9776709af97754839
@@ -125,8 +125,8 @@ module Caboose
125
125
  { :content => "Quantity" , :align => :right , :valign => :bottom }
126
126
  ]
127
127
  if !hide_prices
128
- tbl << { :content => "Price" , :align => :right , :valign => :bottom }
129
- tbl << { :content => "Amount" , :align => :right , :valign => :bottom }
128
+ tbl[0] << { :content => "Price" , :align => :right , :valign => :bottom }
129
+ tbl[0] << { :content => "Amount" , :align => :right , :valign => :bottom }
130
130
  end
131
131
 
132
132
  order.calculate
@@ -211,7 +211,7 @@ module Caboose
211
211
  tbl << [{ :content => "Grand Total" , :colspan => 6, :align => :right, :font_style => :bold }, { :content => "$" + sprintf("%.2f", order.total ) , :align => :right, :font_style => :bold }]
212
212
  end
213
213
 
214
- table tbl , :position => 7, :width => 530
214
+ table tbl , :position => 7, :width => 530
215
215
  end
216
216
 
217
217
  def gift_options(li)
@@ -124,8 +124,8 @@ module Caboose
124
124
  { :content => "Quantity" , :align => :right , :valign => :bottom }
125
125
  ]
126
126
  if !hide_prices
127
- tbl << { :content => "Price" , :align => :right , :valign => :bottom }
128
- tbl << { :content => "Amount" , :align => :right , :valign => :bottom }
127
+ tbl[0] << { :content => "Price" , :align => :right , :valign => :bottom }
128
+ tbl[0] << { :content => "Amount" , :align => :right , :valign => :bottom }
129
129
  end
130
130
 
131
131
  #order.calculate
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.7.48'
2
+ VERSION = '0.7.49'
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.7.48
4
+ version: 0.7.49
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-14 00:00:00.000000000 Z
11
+ date: 2016-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg