grom 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/grom/helper.rb +8 -1
- data/lib/grom/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7a585bd4a657c6d3747c88833fd4859bfdf3007
|
4
|
+
data.tar.gz: d72ca4ca778b4c19720be1f0cfe1bb35054e3f54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5e8debd4e7da0f2377a2ea163cfff5700b61e46f162cd11ef1c31474dbfdd982c3a2ce6df51db00fb39a7103fe90327893f948ac233e65f3be613b80ad84f69
|
7
|
+
data.tar.gz: 1f2ff02000b8b281fb0ca7ce2d61fa06cb97da2c2cf4a4657b4b88dbe02f078ae813a5affac5a0377bf459baa20575519f740b89b2b40ae65867648b8bcce4e9
|
data/lib/grom/helper.rb
CHANGED
@@ -40,7 +40,14 @@ module Grom
|
|
40
40
|
def self.get_id(uri)
|
41
41
|
return nil if uri.to_s['/'].nil?
|
42
42
|
|
43
|
-
uri == RDF.
|
43
|
+
if uri == RDF::RDFS.label.to_s
|
44
|
+
return 'label'
|
45
|
+
elsif uri == RDF.type.to_s
|
46
|
+
return 'type'
|
47
|
+
else
|
48
|
+
uri.to_s.split('/').last
|
49
|
+
end
|
50
|
+
|
44
51
|
end
|
45
52
|
end
|
46
53
|
end
|
data/lib/grom/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rebecca Appleyard
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-
|
13
|
+
date: 2017-06-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdf
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.6.
|
163
|
+
rubygems_version: 2.6.10
|
164
164
|
signing_key:
|
165
165
|
specification_version: 4
|
166
166
|
summary: Grom is a Graph Object Mapper
|