acts_as_rdf 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/acts_as_rdf.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/lib/acts_as_rdf.rb
CHANGED
@@ -109,7 +109,7 @@ module ActsAsRdf
|
|
109
109
|
if ('String'.eql?(thing.class.name) || 'Class'.eql?(thing.class.name)) then
|
110
110
|
return RDF::URI.new("#{get_host()}/#{thing.to_s}")
|
111
111
|
end
|
112
|
-
return RDF::URI.new("#{get_host()}/#{thing.class.name.
|
112
|
+
return RDF::URI.new("#{get_host()}/#{thing.class.name.tableize}/#{thing.id}")
|
113
113
|
end
|
114
114
|
|
115
115
|
return RDF::URI.new("#{get_host()}##{thing.to_s}")
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_rdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andrew Sodt
|