caboose-cms 0.5.4 → 0.5.5

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
- ZjAyOWY2MjUyOWFiN2JjOTQxYTQxZGQzMGM1N2QxYTczYjQwN2JmMA==
4
+ OThhZmNiZGRmMDU2M2ZjN2ZmOGQyNTljYjk2NGVhZTcwNGQzYzU2MQ==
5
5
  data.tar.gz: !binary |-
6
- ZDk4NjI5ZWQ0Mjg2ZDkyYTQyOGJhMjY0MzYzZWViZmIwZWQ4YzUwNg==
6
+ NDdjNGEyYWZjMzk1MjI3ZTc2MWFlMmQ2OTc5NmY4YjkzYmEzMzk1OA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NTNmYmYyMDA5NmEyNGE2ZmZmMWQwNDc3NzgzYjM5MDM5OGNlMzdmYzBjYjZi
10
- ZThhMWI3NmM1NzFkMWEwODBiOGFhOGJiYmJmNmQ0MzgzNzUzOWYwMTBiYWM3
11
- ZjMyYjI3YWU2ZDZjNTRkODlhMWQ1YmZhYzBjYzczZTNiYmU4NjA=
9
+ NDU3NzE3ZDZlZjJhNWE5Y2FkNjVkNjI4NTUyMjg4YmJkMmMwYjk2ZjIwMmU2
10
+ NWUxODA0ODRkY2U1N2U4YWI1YWU3NzU4MjRlYWVkODFiZDZlMjZmZmQ0ZDc3
11
+ MTgyYWRkNTE3ZWRjYmNiNGRhZTZhZDEwZTAwMzgwYmM0ZWMxNDI=
12
12
  data.tar.gz: !binary |-
13
- NGM2NzBlZjNiMGI0NGI0YzEwZTFjZGUwMzc4Mjc4MzRlNmQxYzM4MGRkZDhi
14
- OTVjYzIzZTBlMjRiNDA4ZmFmOTllYzk2MTFmYWY2NDY3NjMxOTQyZWNkNTkz
15
- MmM3Njg2MGEyZGI3NjgyY2VjY2U0ZmY0Mzk1OWY1M2YwYjU4NmU=
13
+ OWNlOTNiNDBkNDhiZmFkYjdhZDExZWU3MTMzNjY2NjA2NWU1NzBmOTc1M2Zl
14
+ YWIyOTI2M2NiNDkyMDc1MmI1MTljMmEyMjk0NDg1YjVjYzM5OWJjYzExMGM1
15
+ OTgzZDg4OWI0Y2RjYzI1OWM3NTllNDdhMzI1MmQ3MzMxYTFhZjg=
@@ -53,7 +53,8 @@ class Caboose::Schema < Caboose::Utilities::Schema
53
53
  :repeat_sat ,
54
54
  :repeat_start ,
55
55
  :repeat_end
56
- ]
56
+ ],
57
+ Caboose::Variant => [:quantity]
57
58
  }
58
59
  end
59
60
 
@@ -494,8 +495,7 @@ class Caboose::Schema < Caboose::Utilities::Schema
494
495
  [ :barcode , :string ],
495
496
  [ :price , :numeric , :default => 0 ],
496
497
  [ :available , :boolean ],
497
- #[ :quantity_in_stock , :integer ],
498
- [ :quantity , :integer , :default => 0 ],
498
+ [ :quantity_in_stock , :integer , :default => 0 ],
499
499
  [ :ignore_quantity , :boolean ],
500
500
  [ :allow_backorder , :boolean ],
501
501
  [ :weight , :decimal ],
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.4'
2
+ VERSION = '0.5.5'
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.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry