effective_pages 3.4.8 → 3.4.9

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
  SHA256:
3
- metadata.gz: bb17baa68b9e5ac42e37d13c41235197891cf697b2e27020f95f3e4c6b83a3cc
4
- data.tar.gz: 4b7b349a5e0a302f7e5450f62d5f416897ab0194fc861285aca55101cb2c0cb4
3
+ metadata.gz: 5748cf10a1d447f6b636dc8972884464700b3752ed96086e3a16991621b2955a
4
+ data.tar.gz: 027050a2f8acd57d4e8170e3a900c02c4dde8c1a3b3f4f2465222dc91525cf5a
5
5
  SHA512:
6
- metadata.gz: 40b0e4fb34017fd46f59bee8156b5bd2bed53f7f681eda07bc7bff5f87106478a34727d2b09cab1e224c0e69927a149377cad8035b56a65628239631b2075b5a
7
- data.tar.gz: 3efa467421a972f644400b0a78bcce56e08e4072d15575b4e23888f1bbd4c25b4ee5154def5cffd9a7cb6cc4ca1d2f115bc69dc5efe01d5623a4738019688192
6
+ metadata.gz: 3be8ad1c24739aaf895becf0865176d6165cf5ebbf58a3f85b3df02763ef6d59449c298f2ba13c0b0dd6f0dee46828e78112b91a865773b693f330fa48496129
7
+ data.tar.gz: 5cdd3c7b4b294c525398d7b3405f042092de6d141d42bcdb175dfdd3eb32926c000fccf9eb3da9cb5f3fd5276188f8615ba5681c78d4931f08cc5716ff5a2a28
@@ -1,3 +1,3 @@
1
1
  module EffectivePages
2
- VERSION = '3.4.8'.freeze
2
+ VERSION = '3.4.9'.freeze
3
3
  end
@@ -60,11 +60,11 @@ module EffectivePages
60
60
  end
61
61
 
62
62
  def self.carousels?
63
- carousels.kind_of?(Array)
63
+ carousels.kind_of?(Array) && carousels.present?
64
64
  end
65
65
 
66
66
  def self.menus?
67
- menus.kind_of?(Array)
67
+ menus.kind_of?(Array) && menus.present?
68
68
  end
69
69
 
70
70
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.8
4
+ version: 3.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect