forest_liana 9.3.3 → 9.3.4

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: 9ecd4446f9771ce43fd82ea5384d49a285026a45e2eb738ebe77ef050e1577bc
4
- data.tar.gz: 2e0c98d7abce8bd30cd506d8cad97c3722dd81f1fb238f3ef7af688d593eb565
3
+ metadata.gz: f051f67c326d7421e2dfe96664caf091e7bc3844d3ce81f1aa0906ef272c1f57
4
+ data.tar.gz: c8d9cce9f4b85ee41364789821994534901ccf8b35b0730da92598705b135567
5
5
  SHA512:
6
- metadata.gz: 6c20f0891a944d64922eef062be12392bdcb4aacd2b598441bc8db226dbc18693da546e0958f101dc714d111ca959b3df841cc30f083ca99516dee93213010da
7
- data.tar.gz: a25c0512b808f257529fc4d2af8df3c5353af503aecff8707fb0c2b15721f71dc2986882f48812e259631b6faa1a064d5960cd387da9730545fc0e7001ecd586
6
+ metadata.gz: 5c7171fc45cfb2e7e8413fd5d138afaadbd120f615d0ed3c7d1e452a7bbebcf6a8e2fc6dd4806c694906335ff3b1ad09b59cf36968c02f5cb679a762f254e89d
7
+ data.tar.gz: 65070076fdb2418e13bdd7f8d0b2bd98000d2fc2f98c777d46ff58453eea4fb4bcac787a1547be91b8504883b5a305a9afe68aabf4db97229beb52f1dc2aabf4
@@ -17,7 +17,7 @@ module ForestLiana
17
17
  if @data.nil?
18
18
  new_value = nil
19
19
  else
20
- association_klass = SchemaUtils.polymorphic_models(@association).select { |a| a.name.downcase == @data[:type] }.first
20
+ association_klass = SchemaUtils.polymorphic_models(@association).select { |a| a.name == @data[:type] }.first
21
21
  new_value = association_klass.find(@data[:id]) if @data && @data[:id]
22
22
  end
23
23
  else
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "9.3.3"
2
+ VERSION = "9.3.4"
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: 9.3.3
4
+ version: 9.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Munda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-17 00:00:00.000000000 Z
11
+ date: 2024-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails