caboose-store 0.0.30 → 0.0.31

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
- MjRhMmJkYjY1MGIzOTE5ODFiYjMzZTA1YTUxYzVmMTEwNzAxM2YyOQ==
4
+ MzEwZmM2ODVmMzE3NzU4NDg2OTZlMWRkMGUwOTYxOTI4MGYzNTM1ZA==
5
5
  data.tar.gz: !binary |-
6
- OGE2ZTVjZTg2OTJkMjQzNTU1ZTg2YWJiZmRhYjQ5MmI4NDg3MjUxMA==
6
+ NDIwODhiMjJmNTYxOTU0YmNhMWFiZGJkOTQ3YzFiNDQ0YjhmOTA1Zg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OGE0ZTBmYTg3MzBmMzhkOGEwMjZiM2Q1YzhjZDBmNDIxOGU3NzE4OGE2Y2Q5
10
- NDZmYTE1MzUyODQ1MGQ0OTQxYWFhOTIyYjYyN2UwODhiMzNhYWYxZGM2Mzc4
11
- OTJhOTI5ZTRhOThiMjI5NjdkOTYzOTcwZDI4MmQ1ZThiYWVjNTc=
9
+ YjVmN2QwZTliY2VkMzU1ZTZkOWQ4MWFhMjE1NjY5MWVmZmZiNzc1MmMyYjI0
10
+ NjNkOTRiNWY1OWE1OWJjYWQyNTFjZDFhN2I1YWRjMWQ3MDhhYmE1ZDBhNTU1
11
+ NjE0ZGNiMzQxN2MyZDJkOGI0NmQ1Zjc1YzE2MjgwNTAwMzJhOWE=
12
12
  data.tar.gz: !binary |-
13
- MTYyNjEzMjMwNGQ1OTM5ZGUzMzU1MjUzNDMwYzkyOTQ1YWQxNThiZTQxOWFl
14
- Mzg2NDc3M2ViZGFhM2E3OWU2NDc3NGQ3MTRhZDAyZjVjOGZlM2QxNzZmMDMy
15
- YzAwN2FlNmQ3Y2Q2YzE4ZGVlMjQzZWFiNzhjMGI0YTRiMjBkMTk=
13
+ MGI4ZTQyOGNhYmEyZWQyOGRkNDc0NTZlODgzODkzNzhmNTM5ZWI0YWU1ZDM2
14
+ ZDkyNGI3ZjgyYjM4OWFiMTc0ZmVlYjVkZDM4YzRlMGI3MmUwZGNiMjEzYWE1
15
+ OGU1YjQ3MjEzZjgxMjlkYWQ4YzYzOTk4MzlkM2FjZGRmMDJjMzk=
@@ -114,7 +114,7 @@ module CabooseStore
114
114
  end
115
115
 
116
116
  def in_stock
117
- Variant.where(:product_id => self.id).where('quantity > 0').count > 0
117
+ Variant.where(:product_id => self.id).where('quantity_in_stock > 0').count > 0
118
118
  end
119
119
 
120
120
  def input_required?
@@ -1,3 +1,3 @@
1
1
  module CabooseStore
2
- VERSION = '0.0.30'
2
+ VERSION = '0.0.31'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.30
4
+ version: 0.0.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry