caboose-cms 0.9.22 → 0.9.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/caboose/variants_controller.rb +2 -2
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59f9739998eaf8c55b5dc7dadf1415f48b204749
|
4
|
+
data.tar.gz: 32ed06ef7e5f79a0011a3783bd8be9759fc6f79f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39e4656764424870785429abe0c26cf7fce8c8d38d4992e0a0785d77bd8cbf013e15c7dc4df36b29af5a2678037a98a80191eef6622004ae4e3894b17fb114c7
|
7
|
+
data.tar.gz: 82cce5d558e8894faa429a9a0104b8d2f04000c090545d78c4455770eac656885ac4f3e3dfd9b73e20310977ae24c7614a9f85b2d8c195b18d4fd9f2546e7e62
|
@@ -280,13 +280,13 @@ module Caboose
|
|
280
280
|
value = value == true || value == 1 || value == '1' ? true : false
|
281
281
|
variants.each { |v|
|
282
282
|
v.requires_shipping = value
|
283
|
-
v.downloadable =
|
283
|
+
v.downloadable = false if value
|
284
284
|
}
|
285
285
|
when 'downloadable' then
|
286
286
|
value = value == true || value == 1 || value == '1' ? true : false
|
287
287
|
variants.each { |v|
|
288
288
|
v.downloadable = value
|
289
|
-
v.requires_shipping =
|
289
|
+
v.requires_shipping = false if value
|
290
290
|
}
|
291
291
|
when 'download_path' then variants.each { |v| v.download_path = value }
|
292
292
|
when 'is_subscription' then variants.each { |v| v.is_subscription = value }
|
data/lib/caboose/version.rb
CHANGED