active-fedora 6.0.0.pre2 → 6.0.0.pre3
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.
- data/.gitmodules +1 -1
- data/History.txt +3 -0
- data/lib/active_fedora/rdf_node.rb +1 -1
- data/lib/active_fedora/version.rb +1 -1
- data/spec/integration/complex_rdf_datastream_spec.rb +1 -1
- metadata +2 -2
data/.gitmodules
CHANGED
data/History.txt
CHANGED
|
@@ -188,7 +188,7 @@ module ActiveFedora
|
|
|
188
188
|
|
|
189
189
|
def rdf_type(uri_or_string=nil)
|
|
190
190
|
if uri_or_string
|
|
191
|
-
uri = RDF::URI
|
|
191
|
+
uri = uri_or_string.kind_of?(RDF::URI) ? uri_or_string : RDF::URI.new(uri_or_string)
|
|
192
192
|
self.config[:type] = {predicate: RDF.type}
|
|
193
193
|
@rdf_type = uri
|
|
194
194
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active-fedora
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.0.0.
|
|
4
|
+
version: 6.0.0.pre3
|
|
5
5
|
prerelease: 6
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2013-01-
|
|
14
|
+
date: 2013-01-25 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: rsolr
|