emp_json 1.4.0.pre.g41bf02753 → 1.4.0.pre.g116cfb0af

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: a5f8e3136621bfd8b2017c23529c955ff84635a5cd42e2da36628adb039b67e6
4
- data.tar.gz: d780b6c30a993811b1c3b9547d63bdf2583480379a4c4fa77d000208d7e6fd7c
3
+ metadata.gz: db8ae7e00135fe90e122cafa2334da420e5f880ad18b9bc38ef5185974896c71
4
+ data.tar.gz: 6570ec075a62745233853b38e5d9d6d15a4732356b8c22afb9c087818912a94e
5
5
  SHA512:
6
- metadata.gz: 788b38c53b9917a2f5f82d3302190d5ddeebace976b4ebd5d1b348855f538314e30d3abb3c7b90434ba809a31b166f6a41a47748cddf541b5449f4fa31a311e2
7
- data.tar.gz: efa78974a239b2cb38aa2aab182849d3a1024c060398ae036dcbf57203b9b7604a452724aaa793608a94ae50e7d1659811826e202e3a196636b2ceaf80aca617
6
+ metadata.gz: 850ba38394542800c7f40f08f9be4403ccf1a8b5a91ade1d56852f16fb89238c544b3569db778a7139aee37cc4ea6aa6889172f18cc1bfb1e46214b3eebbff7a
7
+ data.tar.gz: e2fbc4da1d07b53a03da240a325423eeed185099a24b9c1f069a4f181975f658c88b80e1def378d9284aedd469f77a01c9b59fd9e795885f9921f74b2576a772
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- emp_json (1.4.0.pre.g41bf02753)
4
+ emp_json (1.4.0.pre.g116cfb0af)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -58,7 +58,7 @@ module Empathy
58
58
  end
59
59
 
60
60
  def value_for_attribute(attr, resource, serialization_params)
61
- return resource.try(attr.method) if attr.method.is_a?(Symbol) || attr.method.is_a?(String)
61
+ return resource.try(attr.method) if attr.method.is_a?(Symbol)
62
62
 
63
63
  FastJsonapi.call_proc(attr.method, resource, serialization_params)
64
64
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emp_json
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0.pre.g41bf02753
4
+ version: 1.4.0.pre.g116cfb0af
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thom van Kalkeren