caboose-cms 0.5.126 → 0.5.127
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/models/caboose/variant.rb +1 -1
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjhhNzA1NGZjMjA4ZjA3OWUzOTI0OGEwZjY2MGE1YWUxZGU0OGE4ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGQxMjg5ZDA4Njg4NmU5MjU1ZTY4YTM5MTk2NWVlODA4Zjg0NzdiMw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjRmOTlmZGI0NzVmOTdmYTJjNjEwN2QyZThjYzllZDdhMGE0ODYxMTJjMzk2
|
10
|
+
ZjUyNmNhMTkyOGEzNjVjZDIyODJlZjBlZmE0NzA5YThmMzhlOWZlZjE5ZTI1
|
11
|
+
YzVhYWYyOGY3NDY2YWJkZjY4MDNiMGFjM2U2ZWE5ZWI5ZGQ3N2U=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTdmOWYzYzE3NjFhNzYxNTBkMTU1Njg2N2YyNTM2YWM4YzA0YzU5MmJlMGZl
|
14
|
+
NzJjOTA4MGE5MDlmOWQ0YzUzZDM2ODk1YmE4OGU5ODQ1YjIzMDYzYzllZDk3
|
15
|
+
Y2MxNmQwYzg5MzNjNDNmN2EyNWY2MWFjMTUxYmFiM2I1Y2NhNDU=
|
@@ -110,7 +110,7 @@ module Caboose
|
|
110
110
|
end
|
111
111
|
|
112
112
|
def on_sale?
|
113
|
-
return false if self.sale_price.nil?
|
113
|
+
return false if self.sale_price.nil? || self.sale_price == 0.0
|
114
114
|
d = DateTime.now.utc
|
115
115
|
return false if self.date_sale_starts && d < self.date_sale_starts
|
116
116
|
return false if self.date_sale_ends && d > self.date_sale_ends
|
data/lib/caboose/version.rb
CHANGED