caboose-store 0.0.31 → 0.0.32

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
- MzEwZmM2ODVmMzE3NzU4NDg2OTZlMWRkMGUwOTYxOTI4MGYzNTM1ZA==
4
+ Zjg2OGY0ZTNmM2VlZjc3OGIzOTNkYmM5YjgwYzcyZDg5NjhkM2UwNw==
5
5
  data.tar.gz: !binary |-
6
- NDIwODhiMjJmNTYxOTU0YmNhMWFiZGJkOTQ3YzFiNDQ0YjhmOTA1Zg==
6
+ YmY3MzliNmJlOWQzMTA3OTlmMGE3ZDE0YmY4ZTBmN2NmMTdjNjNmZg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YjVmN2QwZTliY2VkMzU1ZTZkOWQ4MWFhMjE1NjY5MWVmZmZiNzc1MmMyYjI0
10
- NjNkOTRiNWY1OWE1OWJjYWQyNTFjZDFhN2I1YWRjMWQ3MDhhYmE1ZDBhNTU1
11
- NjE0ZGNiMzQxN2MyZDJkOGI0NmQ1Zjc1YzE2MjgwNTAwMzJhOWE=
9
+ NDJhZDkxNDhkYWU0ZTNiOWE1MDU3NTU1OTYyYTEwYzEyOGFkNmFjZTJmZjgz
10
+ ODdmY2I3NThlYTgwNjUzY2E4NTI2MTBmODYxMjc4ZmQ0MDM1YzQ0OTIwNDg3
11
+ NzlhM2FmZWZmNzBjZWE1MzE5OTg3N2QzNzY4MWM4MDM0ZTJkMzc=
12
12
  data.tar.gz: !binary |-
13
- MGI4ZTQyOGNhYmEyZWQyOGRkNDc0NTZlODgzODkzNzhmNTM5ZWI0YWU1ZDM2
14
- ZDkyNGI3ZjgyYjM4OWFiMTc0ZmVlYjVkZDM4YzRlMGI3MmUwZGNiMjEzYWE1
15
- OGU1YjQ3MjEzZjgxMjlkYWQ4YzYzOTk4MzlkM2FjZGRmMDJjMzk=
13
+ OWYyOWFiM2FhYTZiN2I5ZGM2MTVkZDdiZTY1ZTZmNjFhZjlmOWM3NTk3ODc1
14
+ MjM3ZjRmM2Y2NDQ5MDZhN2VmNjIxMGY3Y2RkYzY0OTAxNjRhNmY4ZmQyMzUx
15
+ Mzc4OWQ5ZTNlNzUyNmU3Mjc4ZjM4NTU2YWNmODc3OGNiODIwN2Y=
@@ -96,8 +96,8 @@ module CabooseStore
96
96
  min = 100000
97
97
  max = 0
98
98
 
99
- variants.each do |variant|
100
- next if variant.nil? or variant.price.nil? or variant.price < 0
99
+ self.variants.each do |variant|
100
+ next if variant.nil? or variant.price.nil? or variant.price <= 0
101
101
  min = variant.price if variant.price < min
102
102
  max = variant.price if variant.price > max
103
103
  end
@@ -1,3 +1,3 @@
1
1
  module CabooseStore
2
- VERSION = '0.0.31'
2
+ VERSION = '0.0.32'
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.31
4
+ version: 0.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry