caboose-cms 0.9.1 → 0.9.2

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: 68fa060ae238f851781562c6bbdc67c99b757e2c
4
- data.tar.gz: 62c2fbbbfbab125e25ad71e33fa810e8f85f2de6
3
+ metadata.gz: 48cbc46f288c8ce3b3c85b2c9a4fb22b9ead9c51
4
+ data.tar.gz: b7ae8921bd015291bb825bd777a1f5dd734f0295
5
5
  SHA512:
6
- metadata.gz: 816f4317a6e8717c1bcfd40b3be784a0b6248f0fe52f173fadc883cbe85646eeb59a4b4eb7d7f2908e76192c5972724a67362427a4cc823d4d8d4233fd7c8ee4
7
- data.tar.gz: 71c13b3af1b80ac04da17eadc10e75f271a8cd7d2ddee6e7fee07afb2fe3377c7d37ca6e80789554c590aebd9dec8fbd7f77c139c991544ef800abab2e0a4900
6
+ metadata.gz: a95aaeb742ab75bb33dca9dedfea6da942c6ced04d80a371f59a421003b2b6177e34b842f3e479b97829da60b6f627a5ca18f8b9d22f95b1253752de63964d9f
7
+ data.tar.gz: 506ff6c24e72063b1a4c0daf8cbea9bc5c6ffbf3a468fd5391b4f0a301168b678c71071320f863eff57da54a4a11b9fc1cdeea8b87f20e076d43fe25d36e2099
@@ -142,9 +142,9 @@ module Caboose
142
142
 
143
143
  invoice.invoice_packages.all.each do |pk|
144
144
 
145
- carrier = pk.shipping_method.carrier
146
- service = pk.shipping_method.service_name
147
- package = pk.shipping_package.name
145
+ carrier = pk.shipping_method ? pk.shipping_method.carrier : nil
146
+ service = pk.shipping_method ? pk.shipping_method.service_name : nil
147
+ package = pl.shipping_package ? pk.shipping_package.name : nil
148
148
 
149
149
  pk.line_items.each_with_index do |li, index|
150
150
  options = ''
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.1'
2
+ VERSION = '0.9.2'
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.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry