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: 1e3868c507ae814afb3d7f6be10acdbc3daf7631
4
- data.tar.gz: 64de2c0abd992df1b719936e907dde7959131df3
3
+ metadata.gz: 326047e4529a353d1c50f839fbc6e2fb1d1f408f
4
+ data.tar.gz: 7877b3c18b94f0d5d206ca3c8c6224f0ffd4da06
5
5
  SHA512:
6
- metadata.gz: 6ce41e0339bc27bb34a76afcce31e3ad7bbd8444fdc10e23859b8430be464b1acc3501ca69b18bdd9d809100c1e3a3c492a693fc54ef81e2adc86a554d3a3120
7
- data.tar.gz: e8775c05504b9cf18f3b82bb463fb7ed215926ece5d43ff91590562a17f721269c3e4f43806665c9f3ffa900d9e9a739fac71cd80df5c104de62ca5d27bfd399
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
- if custom_field.plat_list?
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
- if custom_field.plat_list?
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
 
@@ -1,3 +1,3 @@
1
1
  module FieldMapper
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
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.5
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-04-22 00:00:00.000000000 Z
11
+ date: 2014-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport