field_mapper 0.3.5 → 0.3.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 326047e4529a353d1c50f839fbc6e2fb1d1f408f
|
4
|
+
data.tar.gz: 7877b3c18b94f0d5d206ca3c8c6224f0ffd4da06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6aec1e1cdbc7ceec8988b2c52f51be45e235920ac178a8625e6abf778a343529f71cd5433735ac53778a5f1217e651b539a8443c197f76249f784365756048bf
|
7
|
+
data.tar.gz: 36880e7eb5aa03c569614a84f15df51818f788c484ee9429b9a197d09ccecee722fa8be35188f55afced5221f414c577877971a34d15cefb170fce35d77f8ad5
|
@@ -58,9 +58,7 @@ module FieldMapper
|
|
58
58
|
end
|
59
59
|
|
60
60
|
if custom_field.plat_list?
|
61
|
-
|
62
|
-
return compute_raw_standard_value_for_plat_list(custom_field, raw_custom_value)
|
63
|
-
end
|
61
|
+
return compute_raw_standard_value_for_plat_list(custom_field, raw_custom_value)
|
64
62
|
end
|
65
63
|
end
|
66
64
|
|
@@ -47,9 +47,6 @@ module FieldMapper
|
|
47
47
|
define_method("#{attr_name name}=") do |value|
|
48
48
|
self[name] = value
|
49
49
|
end
|
50
|
-
|
51
|
-
define_method("custom_to_standard_#{name}", &custom_to_standard)
|
52
|
-
define_method("standard_to_custom_#{name}", &standard_to_custom)
|
53
50
|
end
|
54
51
|
|
55
52
|
def find_mapped_fields(standard_field)
|
@@ -51,9 +51,7 @@ module FieldMapper
|
|
51
51
|
end
|
52
52
|
|
53
53
|
if custom_field.plat_list?
|
54
|
-
|
55
|
-
return compute_raw_custom_value_for_plat_list(custom_field, raw_standard_value)
|
56
|
-
end
|
54
|
+
return compute_raw_custom_value_for_plat_list(custom_field, raw_standard_value)
|
57
55
|
end
|
58
56
|
end
|
59
57
|
|
data/lib/field_mapper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: field_mapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Hopkins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|