emp_json 1.5.0.pre.g3c92a8018 → 1.5.0.pre.gcbfeca403

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: 121becc966e6a9833e11c3c60bee8be33c16b923563ab42d16308e32f71cf95b
4
- data.tar.gz: 68eca93dbd9657472016c6a678fe119c8c969d4d34d2d160411a2b4e896d0c58
3
+ metadata.gz: d19955ed6b61ccd7b3267b375cf66fe3c0f449108f1b626c36942a1d476d73ae
4
+ data.tar.gz: 5598736227a1e5ec56307cd6f8a5566dbe73fc7d0fe59b4d3dc3e4d311d6710e
5
5
  SHA512:
6
- metadata.gz: f12f1975dcf8e7d503ac784a3244fab8df777ed7e031f12700f60bd6ae625e873ca8082f3dd6bd81c784cbf3b3d0c635e8a9c083eee0969282e793cf8d4b6f9f
7
- data.tar.gz: 643f72eb86e12c1dcd5a0e4f0b3f8fe51e850bac06fd42fa4fb518673dce7ffe2f13350d9ea45deed304819d3dd6974c9702a67f212f16e361b2c0ec5bad1056
6
+ metadata.gz: 4bc905c8410946c95ad9b082e5277ab3ba2617b4d8c267eacf5461f0a76eb46e63a6479e08cde1c51592bb8e9e4fba7c76cd3a44890628898e005fa1529dc4a9
7
+ data.tar.gz: 962d2b00c9028124d38344a49f294e0faf44e24350182dec33d45aaa9a7966a46e51fd53dbab6ea2624a2c7b5f55061940cf01f33a372d0fab0785ee3430f5c5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- emp_json (1.5.0.pre.g3c92a8018)
4
+ emp_json (1.5.0.pre.gcbfeca403)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -56,8 +56,7 @@ module Empathy
56
56
  end
57
57
 
58
58
  def retrieve_id(resource)
59
- return RDF::URI(resource) if resource.is_a?(URI)
60
- return resource if resource.is_a?(RDF::URI) || resource.is_a?(RDF::Node)
59
+ return resource if resource.is_a?(URI) || resource.is_a?(RDF::URI) || resource.is_a?(RDF::Node)
61
60
 
62
61
  resource.try(:iri) || resource.try(:subject) || resource.try(:id) || resource
63
62
  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.5.0.pre.g3c92a8018
4
+ version: 1.5.0.pre.gcbfeca403
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thom van Kalkeren