field_mapper 0.3.0 → 0.3.1

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: ce39c6b7c34a6d374ac954c8b363b4b8836189a9
4
- data.tar.gz: c095ddb362a9e9a58c563bb6f5b2560d7ccc47b0
3
+ metadata.gz: 21fc384108374221144d5b3cfb2d14666b29cc1a
4
+ data.tar.gz: 05112e21f301d60c2f92053e6e18d35981dfcc80
5
5
  SHA512:
6
- metadata.gz: 3534a25c5d9b804d4ee358e0268ee923f62611134fe672a76053bb211e889f0f5ecadef9147595219d658ea80d9d6380caeafdd0e8d5df984e02e5cec6e8f787
7
- data.tar.gz: a7fd0752dbb928571392bd9229416f26269340322041ca2b29a38ea64fdb88aa18ae59ecf4473a230046dd83579b897aae4983e491707db7594800d71978a833
6
+ metadata.gz: 479f659e7ff278f7dd5f3373d03455a226e6a7f74a0bdcca079d5125e60a599742ffa704064ef7a5cd9f5fdd7a4adf0003e27903708448970832fe995ae3b441
7
+ data.tar.gz: 51144f54751163fa79e26a20312452d35a602a093541fe94aabf1386a16ddedb1373b19a859869722b35c65d2d8a6a871fd4cc1a45ed9e643457c27c9fe9857f
@@ -91,7 +91,7 @@ module FieldMapper
91
91
  def find_values_mapped_to_standard(standard_value)
92
92
  values.select do |val|
93
93
  val.standard_value == standard_value ||
94
- val.standard_value.value == standard_value
94
+ val.standard_value.try(:value) == standard_value
95
95
  end
96
96
  end
97
97
 
@@ -1,3 +1,3 @@
1
1
  module FieldMapper
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: field_mapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Hopkins