active_fedora_relsint 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27,7 +27,7 @@ module ActiveFedora
|
|
|
27
27
|
|
|
28
28
|
def to_resource(object, literal=false)
|
|
29
29
|
if object.is_a? ActiveFedora::Datastream
|
|
30
|
-
RDF::URI.new(object.
|
|
30
|
+
RDF::URI.new("info:fedora/#{object.pid}/#{object.dsid}")
|
|
31
31
|
elsif object.respond_to? :internal_uri
|
|
32
32
|
RDF::URI.new(object.internal_uri)
|
|
33
33
|
elsif object.is_a? RDF::Resource
|
|
@@ -113,4 +113,4 @@ module ActiveFedora
|
|
|
113
113
|
end
|
|
114
114
|
end
|
|
115
115
|
end
|
|
116
|
-
end
|
|
116
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_fedora_relsint
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-08-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: active-fedora
|
|
@@ -192,4 +192,3 @@ summary: ActiveFedora library supporting RELS-INT datastreams
|
|
|
192
192
|
test_files:
|
|
193
193
|
- spec/spec_helper.rb
|
|
194
194
|
- spec/unit/relsint_spec.rb
|
|
195
|
-
has_rdoc:
|