emp_json 1.5.0.pre.g2ee19a819 → 1.5.0.pre.g8e529b5e8
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 +1 -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: f2feee6cd265c7bdc83f26b6d19788354c644393a6837e661bdd64d971743992
|
4
|
+
data.tar.gz: d76ebac0405df69ed5608aa4805f49c7ecf0b24affc42094e398d8f19d9d22f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 165cacc16051ea055664cfa4a67f511e4d3f05111aa7ed62f5e5bdd8291cf3360778d7458e52fa31fbbe871f36875abff1832976a0c21391e387a66d9415f464
|
7
|
+
data.tar.gz: 5d299408e8dca5a1a4f8f21d0390998ebd0fcfada6eb61c752a76b33989e1f987c756b590ffea58bb7e78459af93ff8fe54699115cab2395bc31921c36c2e4d4
|
data/Gemfile.lock
CHANGED
@@ -56,7 +56,7 @@ module Empathy
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def retrieve_id(resource)
|
59
|
-
return resource
|
59
|
+
return resource if resource.is_a?(URI) || resource.is_a?(RDF::URI) || resource.is_a?(RDF::Node)
|
60
60
|
|
61
61
|
resource.try(:iri) || resource.try(:subject) || resource.try(:id) || resource
|
62
62
|
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.g8e529b5e8
|
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:
|