emp_json 1.4.0.pre.g2c7b34d0b → 1.4.0.pre.g4cafffeae

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: 1ff805dc9dbb50dd3f829cae6ed5e4b6520bbf5be74a3a72db23b956b03416d9
4
- data.tar.gz: 2cb4ba20b7678212f9961d736292315e5af18f98ded5efb79e534610cb86c03d
3
+ metadata.gz: d2cfd4b534090019df728bd1403998dec3dfb37c6028c3f423f4688cfaa4cd8f
4
+ data.tar.gz: 6d312acaac6c1c97bbaba8e9a2c7a5873af24765f7d473866a5745c3c1e98691
5
5
  SHA512:
6
- metadata.gz: d2fc0b677b6758c91d674484f470935037b567985a2596904033c94e0aef4c94de751cc165c718c9a6f9b336336f1eaf8e5becd89bcc70a900ada4200c238474
7
- data.tar.gz: 9290dcf28b062bd42d5b669295e49f46eabef69a8f34d422e61fe67e0dff935171dd7d68637152cbb0d0bd64d961edab92ef92ec0111f15e0a9ce5937b406830
6
+ metadata.gz: 6ccf00e83ea0fc8da9fb80b989c16dcfd3b34780359bdc5d6e442041c591dafd3066c14abfa68cfd6d72c1fc3012ce9fced3ef8a71c13c6e236bec788fe679c0
7
+ data.tar.gz: 6e9290bbc3c01f72f1b3414a3b74fb2040d547b5fac2762c1ff4ecee1ff1eb40b49e6205319f276cd593c96401417098246842be69ae7dfc13f91d71bc2bbb84
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- emp_json (1.4.0.pre.g2c7b34d0b)
4
+ emp_json (1.4.0.pre.g4cafffeae)
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.g2c7b34d0b
4
+ version: 1.4.0.pre.g4cafffeae
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thom van Kalkeren