caboose-cms 0.5.218 → 0.5.219

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTU2M2U3MjdlNWU4ZjgzNjViY2Y5ZmZmMDM0YmYyMjkwMmQxYTE4Nw==
4
+ ZWVlZjlkNDZjNzY0ZDY1N2IzOTgwOTQzMmFjOWU5Y2NkMmIwYTkwZQ==
5
5
  data.tar.gz: !binary |-
6
- MDZjMzdiMTFhNDY0MTY2OGNmMmQ2NWQ2NGNiZmQwMzYxM2YyZDYwZQ==
6
+ ZTBmOGRiYmZiN2M2NTI4NzVkM2NhMjUwOTBiNGMxMTQ1M2IzY2IxMA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjFiMjM3NzRkYTRiNGQ5NjhlMDY2OTE0NmQ4NGYyODZiMDFlNDcxMjEyMmU0
10
- NTcxYzcyODdmYmRiNmFkYTc4NjcxOTBhOTE5MzZhN2EzM2EzNjhjZTVhYjVi
11
- OTYzMjljMjljZmZiOTNkOTE3OTE0ODBhZTcxYWQwMmU5Y2IxYzc=
9
+ ZmFiZWZhMTY5MzE5ZDUwNDliYTk2NzlmOTJjOGYxNjk5MTc0YzI3YWU2N2Rl
10
+ YTZlYTA4ODQ2NGMxZDk5NDg5MDBjYTM1NGY2MGRhMWY1M2I4MDBiN2NlODcw
11
+ MGI0YjEyZDA0OWIwYjI4NjBiYzMyYjdkOGQ0NTAwOGMzNzhiZTc=
12
12
  data.tar.gz: !binary |-
13
- MGE1NWI4ZmM0YTVhYTkwNDUwZjg0YTFkZjljYmEyYzgwOTliMGQxM2YzOTcy
14
- Y2M1YzExNjc0NTVjMzY5Y2EzMmJjNWYwOGFkYTJiMDc0N2MwMThjMmI3Zjgz
15
- ZTMzODFhNWE3M2MyYTEwZWFiZTZjMzI0YjA2NjJmYzMzZDM3YjM=
13
+ ODJlMGY3MWRiMjE3ODI5OWQxNWM5NjhjYjExOTk4OTA5MjM3ODY4ZjMyZTFl
14
+ YzE0Y2RmY2FiMDRjN2NiZWMwZDE1MDE3MWQ5MDM5NDZmMTU4YmM4YzRkYjQ2
15
+ ZjQzMGVlYjY3OGM4ZjlkMmE3MDRhNDljZjhlYTQyM2EwMmU0ZGY=
@@ -95,13 +95,13 @@ module Caboose
95
95
 
96
96
  def decrement_quantities
97
97
  self.line_items.each do |line_item|
98
- line_item.variant.update_attribute(:quantity, line_item.variant.quantity_in_stock - line_item.quantity)
98
+ line_item.variant.update_attribute(:quantity_in_stock, line_item.variant.quantity_in_stock - line_item.quantity)
99
99
  end
100
100
  end
101
101
 
102
102
  def increment_quantities
103
103
  self.line_items.each do |line_item|
104
- line_item.variant.update_attribute(:quantity, line_item.variant.quantity_in_stock - line_item.quantity)
104
+ line_item.variant.update_attribute(:quantity_in_stock, line_item.variant.quantity_in_stock - line_item.quantity)
105
105
  end
106
106
  end
107
107
 
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.218'
2
+ VERSION = '0.5.219'
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.5.218
4
+ version: 0.5.219
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry