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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59202d3071c2856775cffaf63b2e216e4de66f75
4
- data.tar.gz: 67d7e83ee8a41b641b3bf92e7f24b75983b0fbbd
3
+ metadata.gz: 59f9739998eaf8c55b5dc7dadf1415f48b204749
4
+ data.tar.gz: 32ed06ef7e5f79a0011a3783bd8be9759fc6f79f
5
5
  SHA512:
6
- metadata.gz: bd94d54fd68ac9ed397c7526cf0df7cb920562fe38cc0601254426abe5517835b6742f527f9e2e11545395ce46bc1636247893c8a13a00cc43098e7851533c34
7
- data.tar.gz: 8d43606f498ac336f8f108ea2f363803a46c950f44e6dd03956b8fada850aebacc53ddb0bb4c02dc7cece663e194b5d6b99078a864b5a2ecf7a6ac665d853815
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 = !value
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 = !value
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 }
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.22'
2
+ VERSION = '0.9.23'
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.9.22
4
+ version: 0.9.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry