active-fedora 6.0.0.pre4 → 6.0.0.pre5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/active-fedora.gemspec +1 -1
- data/lib/active_fedora.rb +1 -0
- data/lib/active_fedora/base.rb +4 -1
- data/lib/active_fedora/rdf_list.rb +40 -0
- data/lib/active_fedora/rdf_node.rb +7 -0
- data/lib/active_fedora/version.rb +1 -1
- data/spec/unit/base_spec.rb +3 -3
- data/spec/unit/rdf_list_spec.rb +107 -0
- metadata +48 -7
- checksums.yaml +0 -7
data/History.txt
CHANGED
data/active-fedora.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.add_dependency('rsolr')
|
19
19
|
s.add_dependency('om', '~> 1.8.0')
|
20
20
|
s.add_dependency('nom-xml', '>=0.5.1')
|
21
|
-
s.add_dependency('solrizer', '~>3.0.0.
|
21
|
+
s.add_dependency('solrizer', '~>3.0.0.pre4')
|
22
22
|
s.add_dependency("activeresource", '>= 3.0.0')
|
23
23
|
s.add_dependency("activesupport", '>= 3.0.0')
|
24
24
|
s.add_dependency("builder", '~> 3.0.0')
|
data/lib/active_fedora.rb
CHANGED
data/lib/active_fedora/base.rb
CHANGED
@@ -304,7 +304,10 @@ module ActiveFedora
|
|
304
304
|
c_time = Time.parse(c_time) unless c_time.is_a?(Time)
|
305
305
|
m_time = modified_date
|
306
306
|
m_time = Time.parse(m_time) unless m_time.is_a?(Time)
|
307
|
-
|
307
|
+
Solrizer.set_field(solr_doc, 'system_create', c_time)
|
308
|
+
Solrizer.set_field(solr_doc, 'system_modified', m_time)
|
309
|
+
Solrizer.set_field(solr_doc, 'active_fedora_model', self.class.inspect, :symbol)
|
310
|
+
solr_doc.merge!(SOLR_DOCUMENT_ID.to_sym => pid)
|
308
311
|
solrize_profile(solr_doc)
|
309
312
|
end
|
310
313
|
datastreams.each_value do |ds|
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module ActiveFedora
|
2
|
+
module RdfList
|
3
|
+
attr_reader :graph, :subject
|
4
|
+
def initialize(graph, subject)
|
5
|
+
@graph = graph
|
6
|
+
@subject = subject
|
7
|
+
end
|
8
|
+
def first
|
9
|
+
self[0]
|
10
|
+
end
|
11
|
+
|
12
|
+
def [](idx)
|
13
|
+
idx == 0 ? head.value : tail[idx-1]
|
14
|
+
end
|
15
|
+
|
16
|
+
def size
|
17
|
+
tail ? tail.size + 1 : 0
|
18
|
+
end
|
19
|
+
|
20
|
+
def value
|
21
|
+
v = graph.query([subject, RDF.first, nil]).first
|
22
|
+
return v.object if v.object.uri?
|
23
|
+
if v.object.resource?
|
24
|
+
type = graph.query([v.object, RDF.type, nil]).first
|
25
|
+
return ActiveFedora::RdfNode.rdf_registry[type.object].new(graph, v.object)
|
26
|
+
end
|
27
|
+
v
|
28
|
+
end
|
29
|
+
|
30
|
+
def head
|
31
|
+
@head ||= self.class.new(graph, subject)
|
32
|
+
end
|
33
|
+
|
34
|
+
def tail
|
35
|
+
rest = graph.query([subject, RDF.rest, nil]).first
|
36
|
+
return unless rest
|
37
|
+
self.class.new(graph, rest.object)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -5,6 +5,12 @@ module ActiveFedora
|
|
5
5
|
|
6
6
|
autoload :TermProxy
|
7
7
|
|
8
|
+
# Mapping from URI to ruby class
|
9
|
+
def self.rdf_registry
|
10
|
+
@@rdf_registry ||= {}
|
11
|
+
end
|
12
|
+
|
13
|
+
|
8
14
|
##
|
9
15
|
# Get the subject for this rdf object
|
10
16
|
def rdf_subject
|
@@ -191,6 +197,7 @@ module ActiveFedora
|
|
191
197
|
uri = uri_or_string.kind_of?(RDF::URI) ? uri_or_string : RDF::URI.new(uri_or_string)
|
192
198
|
self.config[:type] = {predicate: RDF.type}
|
193
199
|
@rdf_type = uri
|
200
|
+
ActiveFedora::RdfNode.rdf_registry[uri] = self
|
194
201
|
end
|
195
202
|
@rdf_type
|
196
203
|
end
|
data/spec/unit/base_spec.rb
CHANGED
@@ -392,8 +392,8 @@ describe ActiveFedora::Base do
|
|
392
392
|
@test_object.should_receive(:create_date).and_return("2012-03-04T03:12:02Z")
|
393
393
|
@test_object.should_receive(:modified_date).and_return("2012-03-07T03:12:02Z")
|
394
394
|
solr_doc = @test_object.to_solr
|
395
|
-
solr_doc[ActiveFedora::SolrService.solr_name("system_create", type: :date)].should eql("2012-03-04T03:12:02Z")
|
396
|
-
solr_doc[ActiveFedora::SolrService.solr_name("system_modified", type: :date)].should eql("2012-03-07T03:12:02Z")
|
395
|
+
solr_doc[ActiveFedora::SolrService.solr_name("system_create", type: :date)].should eql(["2012-03-04T03:12:02Z"])
|
396
|
+
solr_doc[ActiveFedora::SolrService.solr_name("system_modified", type: :date)].should eql(["2012-03-07T03:12:02Z"])
|
397
397
|
solr_doc[:id].should eql("#{@test_object.pid}")
|
398
398
|
end
|
399
399
|
|
@@ -411,7 +411,7 @@ describe ActiveFedora::Base do
|
|
411
411
|
stub_get_content(@this_pid, ['RELS-EXT', 'someData', 'withText2', 'withText'])
|
412
412
|
@test_history = FooHistory.new()
|
413
413
|
solr_doc = @test_history.to_solr
|
414
|
-
solr_doc[ActiveFedora::SolrService.solr_name("active_fedora_model", :symbol)].should eql("FooHistory")
|
414
|
+
solr_doc[ActiveFedora::SolrService.solr_name("active_fedora_model", :symbol)].should eql(["FooHistory"])
|
415
415
|
end
|
416
416
|
|
417
417
|
it "should call .to_solr on all SimpleDatastreams and OmDatastreams, passing the resulting document to solr" do
|
@@ -0,0 +1,107 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe ActiveFedora::RdfList do
|
4
|
+
before :each do
|
5
|
+
class MADS < RDF::Vocabulary("http://www.loc.gov/mads/rdf/v1#")
|
6
|
+
property :complexSubject
|
7
|
+
property :authoritativeLabel
|
8
|
+
property :elementList
|
9
|
+
property :elementValue
|
10
|
+
property :TopicElement
|
11
|
+
property :TemporalElement
|
12
|
+
end
|
13
|
+
class DemoList < ActiveFedora::RdfxmlRDFDatastream
|
14
|
+
map_predicates do |map|
|
15
|
+
map.elementList(:in => MADS, :to => 'elementList', :class_name=>'List')
|
16
|
+
end
|
17
|
+
class List
|
18
|
+
include ActiveFedora::RdfList
|
19
|
+
class TopicElement
|
20
|
+
include ActiveFedora::RdfObject
|
21
|
+
rdf_type MADS.TopicElement
|
22
|
+
map_predicates do |map|
|
23
|
+
map.elementValue(:in=> MADS)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
class TemporalElement
|
27
|
+
include ActiveFedora::RdfObject
|
28
|
+
rdf_type MADS.TemporalElement
|
29
|
+
map_predicates do |map|
|
30
|
+
map.elementValue(:in=> MADS)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
after(:each) do
|
37
|
+
Object.send(:remove_const, :DemoList)
|
38
|
+
Object.send(:remove_const, :MADS)
|
39
|
+
end
|
40
|
+
|
41
|
+
subject do
|
42
|
+
subject = DemoList.new(stub('inner object', :pid=>'foo', :new? =>true), 'descMetadata')
|
43
|
+
subject.content =<<END
|
44
|
+
<rdf:RDF
|
45
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:mads="http://www.loc.gov/mads/rdf/v1#">
|
46
|
+
|
47
|
+
<mads:ComplexSubject rdf:about="info:fedora/foo">
|
48
|
+
<mads:elementList rdf:parseType="Collection">
|
49
|
+
<rdf:Description rdf:about="http://library.ucsd.edu/ark:/20775/bbXXXXXXX6"/>
|
50
|
+
<mads:TopicElement>
|
51
|
+
<mads:elementValue>Relations with Mexican Americans</mads:elementValue>
|
52
|
+
</mads:TopicElement>
|
53
|
+
<rdf:Description rdf:about="http://library.ucsd.edu/ark:/20775/bbXXXXXXX4"/>
|
54
|
+
<mads:TemporalElement>
|
55
|
+
<mads:elementValue>20th century</mads:elementValue>
|
56
|
+
</mads:TemporalElement>
|
57
|
+
</mads:elementList>
|
58
|
+
</mads:ComplexSubject>
|
59
|
+
</rdf:RDF>
|
60
|
+
END
|
61
|
+
|
62
|
+
subject
|
63
|
+
end
|
64
|
+
it "should have a subject" do
|
65
|
+
subject.rdf_subject.to_s.should == "info:fedora/foo"
|
66
|
+
end
|
67
|
+
it "should have fields" do
|
68
|
+
list = subject.elementList.first
|
69
|
+
list.first.should == "http://library.ucsd.edu/ark:/20775/bbXXXXXXX6"
|
70
|
+
list[1].should be_kind_of DemoList::List::TopicElement
|
71
|
+
list[1].elementValue.should == ["Relations with Mexican Americans"]
|
72
|
+
list[2].should == "http://library.ucsd.edu/ark:/20775/bbXXXXXXX4"
|
73
|
+
list[3].should be_kind_of DemoList::List::TemporalElement
|
74
|
+
list[3].elementValue.should == ["20th century"]
|
75
|
+
end
|
76
|
+
|
77
|
+
it "should have size" do
|
78
|
+
list = subject.elementList.first
|
79
|
+
list.size.should == 4
|
80
|
+
end
|
81
|
+
|
82
|
+
it "should update fields" do
|
83
|
+
list = subject.elementList.first
|
84
|
+
list[3].elementValue = ["1900s"]
|
85
|
+
expected_xml =<<END
|
86
|
+
<rdf:RDF
|
87
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:mads="http://www.loc.gov/mads/rdf/v1#">
|
88
|
+
|
89
|
+
<mads:ComplexSubject rdf:about="info:fedora/foo">
|
90
|
+
<mads:elementList rdf:parseType="Collection">
|
91
|
+
<rdf:Description rdf:about="http://library.ucsd.edu/ark:/20775/bbXXXXXXX6"/>
|
92
|
+
<mads:TopicElement>
|
93
|
+
<mads:elementValue>Relations with Mexican Americans</mads:elementValue>
|
94
|
+
</mads:TopicElement>
|
95
|
+
<rdf:Description rdf:about="http://library.ucsd.edu/ark:/20775/bbXXXXXXX4"/>
|
96
|
+
<mads:TemporalElement>
|
97
|
+
<mads:elementValue>1900s</mads:elementValue>
|
98
|
+
</mads:TemporalElement>
|
99
|
+
</mads:elementList>
|
100
|
+
</mads:ComplexSubject>
|
101
|
+
</rdf:RDF>
|
102
|
+
|
103
|
+
END
|
104
|
+
subject.content.should be_equivalent_to expected_xml
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
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.pre5
|
5
|
+
prerelease: 6
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Matt Zumwalt
|
@@ -10,11 +11,12 @@ authors:
|
|
10
11
|
autorequire:
|
11
12
|
bindir: bin
|
12
13
|
cert_chain: []
|
13
|
-
date: 2013-01-
|
14
|
+
date: 2013-01-26 00:00:00.000000000 Z
|
14
15
|
dependencies:
|
15
16
|
- !ruby/object:Gem::Dependency
|
16
17
|
name: rsolr
|
17
18
|
requirement: !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
18
20
|
requirements:
|
19
21
|
- - ! '>='
|
20
22
|
- !ruby/object:Gem::Version
|
@@ -22,6 +24,7 @@ dependencies:
|
|
22
24
|
type: :runtime
|
23
25
|
prerelease: false
|
24
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
25
28
|
requirements:
|
26
29
|
- - ! '>='
|
27
30
|
- !ruby/object:Gem::Version
|
@@ -29,6 +32,7 @@ dependencies:
|
|
29
32
|
- !ruby/object:Gem::Dependency
|
30
33
|
name: om
|
31
34
|
requirement: !ruby/object:Gem::Requirement
|
35
|
+
none: false
|
32
36
|
requirements:
|
33
37
|
- - ~>
|
34
38
|
- !ruby/object:Gem::Version
|
@@ -36,6 +40,7 @@ dependencies:
|
|
36
40
|
type: :runtime
|
37
41
|
prerelease: false
|
38
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
39
44
|
requirements:
|
40
45
|
- - ~>
|
41
46
|
- !ruby/object:Gem::Version
|
@@ -43,6 +48,7 @@ dependencies:
|
|
43
48
|
- !ruby/object:Gem::Dependency
|
44
49
|
name: nom-xml
|
45
50
|
requirement: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
46
52
|
requirements:
|
47
53
|
- - ! '>='
|
48
54
|
- !ruby/object:Gem::Version
|
@@ -50,6 +56,7 @@ dependencies:
|
|
50
56
|
type: :runtime
|
51
57
|
prerelease: false
|
52
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
53
60
|
requirements:
|
54
61
|
- - ! '>='
|
55
62
|
- !ruby/object:Gem::Version
|
@@ -57,20 +64,23 @@ dependencies:
|
|
57
64
|
- !ruby/object:Gem::Dependency
|
58
65
|
name: solrizer
|
59
66
|
requirement: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
60
68
|
requirements:
|
61
69
|
- - ~>
|
62
70
|
- !ruby/object:Gem::Version
|
63
|
-
version: 3.0.0.
|
71
|
+
version: 3.0.0.pre4
|
64
72
|
type: :runtime
|
65
73
|
prerelease: false
|
66
74
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
67
76
|
requirements:
|
68
77
|
- - ~>
|
69
78
|
- !ruby/object:Gem::Version
|
70
|
-
version: 3.0.0.
|
79
|
+
version: 3.0.0.pre4
|
71
80
|
- !ruby/object:Gem::Dependency
|
72
81
|
name: activeresource
|
73
82
|
requirement: !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
74
84
|
requirements:
|
75
85
|
- - ! '>='
|
76
86
|
- !ruby/object:Gem::Version
|
@@ -78,6 +88,7 @@ dependencies:
|
|
78
88
|
type: :runtime
|
79
89
|
prerelease: false
|
80
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
81
92
|
requirements:
|
82
93
|
- - ! '>='
|
83
94
|
- !ruby/object:Gem::Version
|
@@ -85,6 +96,7 @@ dependencies:
|
|
85
96
|
- !ruby/object:Gem::Dependency
|
86
97
|
name: activesupport
|
87
98
|
requirement: !ruby/object:Gem::Requirement
|
99
|
+
none: false
|
88
100
|
requirements:
|
89
101
|
- - ! '>='
|
90
102
|
- !ruby/object:Gem::Version
|
@@ -92,6 +104,7 @@ dependencies:
|
|
92
104
|
type: :runtime
|
93
105
|
prerelease: false
|
94
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
95
108
|
requirements:
|
96
109
|
- - ! '>='
|
97
110
|
- !ruby/object:Gem::Version
|
@@ -99,6 +112,7 @@ dependencies:
|
|
99
112
|
- !ruby/object:Gem::Dependency
|
100
113
|
name: builder
|
101
114
|
requirement: !ruby/object:Gem::Requirement
|
115
|
+
none: false
|
102
116
|
requirements:
|
103
117
|
- - ~>
|
104
118
|
- !ruby/object:Gem::Version
|
@@ -106,6 +120,7 @@ dependencies:
|
|
106
120
|
type: :runtime
|
107
121
|
prerelease: false
|
108
122
|
version_requirements: !ruby/object:Gem::Requirement
|
123
|
+
none: false
|
109
124
|
requirements:
|
110
125
|
- - ~>
|
111
126
|
- !ruby/object:Gem::Version
|
@@ -113,6 +128,7 @@ dependencies:
|
|
113
128
|
- !ruby/object:Gem::Dependency
|
114
129
|
name: mediashelf-loggable
|
115
130
|
requirement: !ruby/object:Gem::Requirement
|
131
|
+
none: false
|
116
132
|
requirements:
|
117
133
|
- - ! '>='
|
118
134
|
- !ruby/object:Gem::Version
|
@@ -120,6 +136,7 @@ dependencies:
|
|
120
136
|
type: :runtime
|
121
137
|
prerelease: false
|
122
138
|
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
none: false
|
123
140
|
requirements:
|
124
141
|
- - ! '>='
|
125
142
|
- !ruby/object:Gem::Version
|
@@ -127,6 +144,7 @@ dependencies:
|
|
127
144
|
- !ruby/object:Gem::Dependency
|
128
145
|
name: rubydora
|
129
146
|
requirement: !ruby/object:Gem::Requirement
|
147
|
+
none: false
|
130
148
|
requirements:
|
131
149
|
- - ~>
|
132
150
|
- !ruby/object:Gem::Version
|
@@ -134,6 +152,7 @@ dependencies:
|
|
134
152
|
type: :runtime
|
135
153
|
prerelease: false
|
136
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
none: false
|
137
156
|
requirements:
|
138
157
|
- - ~>
|
139
158
|
- !ruby/object:Gem::Version
|
@@ -141,6 +160,7 @@ dependencies:
|
|
141
160
|
- !ruby/object:Gem::Dependency
|
142
161
|
name: rdf
|
143
162
|
requirement: !ruby/object:Gem::Requirement
|
163
|
+
none: false
|
144
164
|
requirements:
|
145
165
|
- - ! '>='
|
146
166
|
- !ruby/object:Gem::Version
|
@@ -148,6 +168,7 @@ dependencies:
|
|
148
168
|
type: :runtime
|
149
169
|
prerelease: false
|
150
170
|
version_requirements: !ruby/object:Gem::Requirement
|
171
|
+
none: false
|
151
172
|
requirements:
|
152
173
|
- - ! '>='
|
153
174
|
- !ruby/object:Gem::Version
|
@@ -155,6 +176,7 @@ dependencies:
|
|
155
176
|
- !ruby/object:Gem::Dependency
|
156
177
|
name: rdf-rdfxml
|
157
178
|
requirement: !ruby/object:Gem::Requirement
|
179
|
+
none: false
|
158
180
|
requirements:
|
159
181
|
- - ~>
|
160
182
|
- !ruby/object:Gem::Version
|
@@ -162,6 +184,7 @@ dependencies:
|
|
162
184
|
type: :runtime
|
163
185
|
prerelease: false
|
164
186
|
version_requirements: !ruby/object:Gem::Requirement
|
187
|
+
none: false
|
165
188
|
requirements:
|
166
189
|
- - ~>
|
167
190
|
- !ruby/object:Gem::Version
|
@@ -169,6 +192,7 @@ dependencies:
|
|
169
192
|
- !ruby/object:Gem::Dependency
|
170
193
|
name: deprecation
|
171
194
|
requirement: !ruby/object:Gem::Requirement
|
195
|
+
none: false
|
172
196
|
requirements:
|
173
197
|
- - ! '>='
|
174
198
|
- !ruby/object:Gem::Version
|
@@ -176,6 +200,7 @@ dependencies:
|
|
176
200
|
type: :runtime
|
177
201
|
prerelease: false
|
178
202
|
version_requirements: !ruby/object:Gem::Requirement
|
203
|
+
none: false
|
179
204
|
requirements:
|
180
205
|
- - ! '>='
|
181
206
|
- !ruby/object:Gem::Version
|
@@ -183,6 +208,7 @@ dependencies:
|
|
183
208
|
- !ruby/object:Gem::Dependency
|
184
209
|
name: yard
|
185
210
|
requirement: !ruby/object:Gem::Requirement
|
211
|
+
none: false
|
186
212
|
requirements:
|
187
213
|
- - ! '>='
|
188
214
|
- !ruby/object:Gem::Version
|
@@ -190,6 +216,7 @@ dependencies:
|
|
190
216
|
type: :development
|
191
217
|
prerelease: false
|
192
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
none: false
|
193
220
|
requirements:
|
194
221
|
- - ! '>='
|
195
222
|
- !ruby/object:Gem::Version
|
@@ -197,6 +224,7 @@ dependencies:
|
|
197
224
|
- !ruby/object:Gem::Dependency
|
198
225
|
name: RedCloth
|
199
226
|
requirement: !ruby/object:Gem::Requirement
|
227
|
+
none: false
|
200
228
|
requirements:
|
201
229
|
- - ! '>='
|
202
230
|
- !ruby/object:Gem::Version
|
@@ -204,6 +232,7 @@ dependencies:
|
|
204
232
|
type: :development
|
205
233
|
prerelease: false
|
206
234
|
version_requirements: !ruby/object:Gem::Requirement
|
235
|
+
none: false
|
207
236
|
requirements:
|
208
237
|
- - ! '>='
|
209
238
|
- !ruby/object:Gem::Version
|
@@ -211,6 +240,7 @@ dependencies:
|
|
211
240
|
- !ruby/object:Gem::Dependency
|
212
241
|
name: rake
|
213
242
|
requirement: !ruby/object:Gem::Requirement
|
243
|
+
none: false
|
214
244
|
requirements:
|
215
245
|
- - ! '>='
|
216
246
|
- !ruby/object:Gem::Version
|
@@ -218,6 +248,7 @@ dependencies:
|
|
218
248
|
type: :development
|
219
249
|
prerelease: false
|
220
250
|
version_requirements: !ruby/object:Gem::Requirement
|
251
|
+
none: false
|
221
252
|
requirements:
|
222
253
|
- - ! '>='
|
223
254
|
- !ruby/object:Gem::Version
|
@@ -225,6 +256,7 @@ dependencies:
|
|
225
256
|
- !ruby/object:Gem::Dependency
|
226
257
|
name: jettywrapper
|
227
258
|
requirement: !ruby/object:Gem::Requirement
|
259
|
+
none: false
|
228
260
|
requirements:
|
229
261
|
- - ! '>='
|
230
262
|
- !ruby/object:Gem::Version
|
@@ -232,6 +264,7 @@ dependencies:
|
|
232
264
|
type: :development
|
233
265
|
prerelease: false
|
234
266
|
version_requirements: !ruby/object:Gem::Requirement
|
267
|
+
none: false
|
235
268
|
requirements:
|
236
269
|
- - ! '>='
|
237
270
|
- !ruby/object:Gem::Version
|
@@ -239,6 +272,7 @@ dependencies:
|
|
239
272
|
- !ruby/object:Gem::Dependency
|
240
273
|
name: rspec
|
241
274
|
requirement: !ruby/object:Gem::Requirement
|
275
|
+
none: false
|
242
276
|
requirements:
|
243
277
|
- - ! '>='
|
244
278
|
- !ruby/object:Gem::Version
|
@@ -246,6 +280,7 @@ dependencies:
|
|
246
280
|
type: :development
|
247
281
|
prerelease: false
|
248
282
|
version_requirements: !ruby/object:Gem::Requirement
|
283
|
+
none: false
|
249
284
|
requirements:
|
250
285
|
- - ! '>='
|
251
286
|
- !ruby/object:Gem::Version
|
@@ -253,6 +288,7 @@ dependencies:
|
|
253
288
|
- !ruby/object:Gem::Dependency
|
254
289
|
name: equivalent-xml
|
255
290
|
requirement: !ruby/object:Gem::Requirement
|
291
|
+
none: false
|
256
292
|
requirements:
|
257
293
|
- - ! '>='
|
258
294
|
- !ruby/object:Gem::Version
|
@@ -260,6 +296,7 @@ dependencies:
|
|
260
296
|
type: :development
|
261
297
|
prerelease: false
|
262
298
|
version_requirements: !ruby/object:Gem::Requirement
|
299
|
+
none: false
|
263
300
|
requirements:
|
264
301
|
- - ! '>='
|
265
302
|
- !ruby/object:Gem::Version
|
@@ -328,6 +365,7 @@ files:
|
|
328
365
|
- lib/active_fedora/querying.rb
|
329
366
|
- lib/active_fedora/railtie.rb
|
330
367
|
- lib/active_fedora/rdf_datastream.rb
|
368
|
+
- lib/active_fedora/rdf_list.rb
|
331
369
|
- lib/active_fedora/rdf_node.rb
|
332
370
|
- lib/active_fedora/rdf_node/term_proxy.rb
|
333
371
|
- lib/active_fedora/rdf_object.rb
|
@@ -485,6 +523,7 @@ files:
|
|
485
523
|
- spec/unit/qualified_dublin_core_datastream_spec.rb
|
486
524
|
- spec/unit/query_spec.rb
|
487
525
|
- spec/unit/rdf_datastream_spec.rb
|
526
|
+
- spec/unit/rdf_list_spec.rb
|
488
527
|
- spec/unit/rdf_xml_writer_spec.rb
|
489
528
|
- spec/unit/rdfxml_rdf_datastream_spec.rb
|
490
529
|
- spec/unit/relationship_graph_spec.rb
|
@@ -501,26 +540,27 @@ files:
|
|
501
540
|
- spec/unit/validations_spec.rb
|
502
541
|
homepage: https://github.com/projecthydra/active_fedora
|
503
542
|
licenses: []
|
504
|
-
metadata: {}
|
505
543
|
post_install_message:
|
506
544
|
rdoc_options: []
|
507
545
|
require_paths:
|
508
546
|
- lib
|
509
547
|
required_ruby_version: !ruby/object:Gem::Requirement
|
548
|
+
none: false
|
510
549
|
requirements:
|
511
550
|
- - ! '>='
|
512
551
|
- !ruby/object:Gem::Version
|
513
552
|
version: 1.9.3
|
514
553
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
554
|
+
none: false
|
515
555
|
requirements:
|
516
556
|
- - ! '>'
|
517
557
|
- !ruby/object:Gem::Version
|
518
558
|
version: 1.3.1
|
519
559
|
requirements: []
|
520
560
|
rubyforge_project: rubyfedora
|
521
|
-
rubygems_version:
|
561
|
+
rubygems_version: 1.8.24
|
522
562
|
signing_key:
|
523
|
-
specification_version:
|
563
|
+
specification_version: 3
|
524
564
|
summary: A convenience libary for manipulating documents in the Fedora Repository.
|
525
565
|
test_files:
|
526
566
|
- spec/config_helper.rb
|
@@ -639,6 +679,7 @@ test_files:
|
|
639
679
|
- spec/unit/qualified_dublin_core_datastream_spec.rb
|
640
680
|
- spec/unit/query_spec.rb
|
641
681
|
- spec/unit/rdf_datastream_spec.rb
|
682
|
+
- spec/unit/rdf_list_spec.rb
|
642
683
|
- spec/unit/rdf_xml_writer_spec.rb
|
643
684
|
- spec/unit/rdfxml_rdf_datastream_spec.rb
|
644
685
|
- spec/unit/relationship_graph_spec.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: 8cb55cd74e7233153b8d46400779006d6073b0ca
|
4
|
-
data.tar.gz: 06e3e355f9e205c19d2b553c09fdd5eab57ac25e
|
5
|
-
!binary "U0hBNTEy":
|
6
|
-
metadata.gz: aa2264732f71d40fea161856ed01103939097e6509fa467d43bef22d91269566d2705253326730341b5e811b8ddac51198ebce1795687d5e8272b89506615666
|
7
|
-
data.tar.gz: 462460b1a8e0b046d433ca73935bb58e91583591e3a64bace737dc9a1529ce74f00a14b6280990e145acd0ea340c33e00324e7f95c06b9d1dcb404648ce7fe80
|