emp_json 1.5.0.pre.g2ee19a819 → 1.5.0.pre.g3c92a8018
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/empathy/emp_json/helpers/slices.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 121becc966e6a9833e11c3c60bee8be33c16b923563ab42d16308e32f71cf95b
|
4
|
+
data.tar.gz: 68eca93dbd9657472016c6a678fe119c8c969d4d34d2d160411a2b4e896d0c58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f12f1975dcf8e7d503ac784a3244fab8df777ed7e031f12700f60bd6ae625e873ca8082f3dd6bd81c784cbf3b3d0c635e8a9c083eee0969282e793cf8d4b6f9f
|
7
|
+
data.tar.gz: 643f72eb86e12c1dcd5a0e4f0b3f8fe51e850bac06fd42fa4fb518673dce7ffe2f13350d9ea45deed304819d3dd6974c9702a67f212f16e361b2c0ec5bad1056
|
data/Gemfile.lock
CHANGED
@@ -56,7 +56,8 @@ module Empathy
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def retrieve_id(resource)
|
59
|
-
return
|
59
|
+
return RDF::URI(resource) if resource.is_a?(URI)
|
60
|
+
return resource if resource.is_a?(RDF::URI) || resource.is_a?(RDF::Node)
|
60
61
|
|
61
62
|
resource.try(:iri) || resource.try(:subject) || resource.try(:id) || resource
|
62
63
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emp_json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.0.pre.
|
4
|
+
version: 1.5.0.pre.g3c92a8018
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thom van Kalkeren
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Serializer for the EmpJson specification.
|
14
14
|
email:
|