forest_liana 1.3.39 → 1.3.40

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: 208db14b90ae794308c7e3ef5621a8bbaf62a0d5
4
- data.tar.gz: 1a3ba573ecb160e624a7fc6ba5f8af2017f129bc
3
+ metadata.gz: ba437e84188a8c063c4fe9e21da21e62faec401a
4
+ data.tar.gz: 8aec907e0d3e5020f81a518dd6c8df28850842b6
5
5
  SHA512:
6
- metadata.gz: 26a1cd352db2173795d39cfa4f809be5377ba45ff09b2e6899b82dc510f269dabe23083a8e3d19250defe991f87cb3f15b7c9ef9472d38e0d6f1d2b4f78dea27
7
- data.tar.gz: 25ef2a597b669de7251b048c53a0743a17ec5eb2e69fdcca3b97adb5ee4bb3fc60d782daa0925e3fcac794c0e9ac7f6ec86c0aa8b6d966efa7191057f0ed7e0b
6
+ metadata.gz: 8b112d7125f20cbaee68225b4dcfd68f1c4fd9183afe2b26839039482fafd89872c5c07a9fb4454f557d3d706aadf516428b5548295ed7602ba6788432d98d6f
7
+ data.tar.gz: 83588184632a5581a08dca9cb58c0c4dc15b9604778b8ad056a4270e1fc132fdf9b9907819002c2846d03a1dc5b50c4597046b83095b7cf2b89655956c3d9f67
@@ -111,7 +111,7 @@ module ForestLiana
111
111
 
112
112
  def has_acts_as_taggable?
113
113
  @resource.respond_to?(:acts_as_taggable) &&
114
- @resource.acts_as_taggable.try(:to_a)
114
+ @resource.acts_as_taggable.respond_to?(:to_a)
115
115
  end
116
116
  end
117
117
  end
@@ -9,7 +9,7 @@ module ForestLiana
9
9
  add_associations
10
10
 
11
11
  # ActsAsTaggable attribute
12
- if @model.respond_to?(:acts_as_taggable) && @model.acts_as_taggable.try(:to_a)
12
+ if @model.respond_to?(:acts_as_taggable) && @model.acts_as_taggable.respond_to?(:to_a)
13
13
  @model.acts_as_taggable.to_a.each do |key, value|
14
14
  field = collection.fields.find {|x| x[:field] == key.to_s}
15
15
 
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "1.3.39"
2
+ VERSION = "1.3.40"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_liana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.39
4
+ version: 1.3.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Munda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-26 00:00:00.000000000 Z
11
+ date: 2016-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails