active-fedora 2.3.4 → 2.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +5 -4
- data/History.txt +16 -0
- data/README.textile +1 -1
- data/active-fedora.gemspec +1 -1
- data/lib/active_fedora.rb +4 -4
- data/lib/active_fedora/relationships_helper.rb +889 -0
- data/lib/active_fedora/semantic_node.rb +53 -383
- data/lib/active_fedora/version.rb +1 -1
- data/spec/integration/base_spec.rb +87 -170
- data/spec/integration/datastream_spec.rb +3 -3
- data/spec/integration/datastreams_crud_spec.rb +1 -1
- data/spec/integration/rels_ext_datastream_spec.rb +4 -4
- data/spec/integration/semantic_node_spec.rb +369 -10
- data/spec/unit/active_fedora_spec.rb +42 -19
- data/spec/unit/base_extra_spec.rb +1 -0
- data/spec/unit/base_spec.rb +16 -20
- data/spec/unit/relationships_helper_spec.rb +842 -0
- data/spec/unit/semantic_node_spec.rb +49 -323
- metadata +88 -85
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active-fedora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 2.3.
|
9
|
+
- 7
|
10
|
+
version: 2.3.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Zumwalt
|
@@ -16,11 +16,13 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
19
|
+
date: 2011-09-02 00:00:00 -05:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
|
-
|
23
|
+
name: solr-ruby
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
26
|
none: false
|
25
27
|
requirements:
|
26
28
|
- - ">="
|
@@ -31,12 +33,12 @@ dependencies:
|
|
31
33
|
- 0
|
32
34
|
- 6
|
33
35
|
version: 0.0.6
|
34
|
-
prerelease: false
|
35
|
-
name: solr-ruby
|
36
36
|
type: :runtime
|
37
|
-
|
37
|
+
version_requirements: *id001
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
|
-
|
39
|
+
name: xml-simple
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
42
|
none: false
|
41
43
|
requirements:
|
42
44
|
- - ">="
|
@@ -47,12 +49,12 @@ dependencies:
|
|
47
49
|
- 0
|
48
50
|
- 12
|
49
51
|
version: 1.0.12
|
50
|
-
prerelease: false
|
51
|
-
name: xml-simple
|
52
52
|
type: :runtime
|
53
|
-
|
53
|
+
version_requirements: *id002
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
|
-
|
55
|
+
name: mime-types
|
56
|
+
prerelease: false
|
57
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
56
58
|
none: false
|
57
59
|
requirements:
|
58
60
|
- - ">="
|
@@ -62,12 +64,12 @@ dependencies:
|
|
62
64
|
- 1
|
63
65
|
- 16
|
64
66
|
version: "1.16"
|
65
|
-
prerelease: false
|
66
|
-
name: mime-types
|
67
67
|
type: :runtime
|
68
|
-
|
68
|
+
version_requirements: *id003
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
|
70
|
+
name: multipart-post
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
71
73
|
none: false
|
72
74
|
requirements:
|
73
75
|
- - "="
|
@@ -78,12 +80,12 @@ dependencies:
|
|
78
80
|
- 1
|
79
81
|
- 2
|
80
82
|
version: 1.1.2
|
81
|
-
prerelease: false
|
82
|
-
name: multipart-post
|
83
83
|
type: :runtime
|
84
|
-
|
84
|
+
version_requirements: *id004
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
|
-
|
86
|
+
name: nokogiri
|
87
|
+
prerelease: false
|
88
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
87
89
|
none: false
|
88
90
|
requirements:
|
89
91
|
- - ">="
|
@@ -92,12 +94,12 @@ dependencies:
|
|
92
94
|
segments:
|
93
95
|
- 0
|
94
96
|
version: "0"
|
95
|
-
prerelease: false
|
96
|
-
name: nokogiri
|
97
97
|
type: :runtime
|
98
|
-
|
98
|
+
version_requirements: *id005
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
|
-
|
100
|
+
name: om
|
101
|
+
prerelease: false
|
102
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
101
103
|
none: false
|
102
104
|
requirements:
|
103
105
|
- - ">="
|
@@ -107,12 +109,12 @@ dependencies:
|
|
107
109
|
- 1
|
108
110
|
- 0
|
109
111
|
version: "1.0"
|
110
|
-
prerelease: false
|
111
|
-
name: om
|
112
112
|
type: :runtime
|
113
|
-
|
113
|
+
version_requirements: *id006
|
114
114
|
- !ruby/object:Gem::Dependency
|
115
|
-
|
115
|
+
name: solrizer
|
116
|
+
prerelease: false
|
117
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
116
118
|
none: false
|
117
119
|
requirements:
|
118
120
|
- - ">"
|
@@ -123,12 +125,12 @@ dependencies:
|
|
123
125
|
- 0
|
124
126
|
- 0
|
125
127
|
version: 1.0.0
|
126
|
-
prerelease: false
|
127
|
-
name: solrizer
|
128
128
|
type: :runtime
|
129
|
-
|
129
|
+
version_requirements: *id007
|
130
130
|
- !ruby/object:Gem::Dependency
|
131
|
-
|
131
|
+
name: activeresource
|
132
|
+
prerelease: false
|
133
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
132
134
|
none: false
|
133
135
|
requirements:
|
134
136
|
- - ">="
|
@@ -137,12 +139,12 @@ dependencies:
|
|
137
139
|
segments:
|
138
140
|
- 0
|
139
141
|
version: "0"
|
140
|
-
prerelease: false
|
141
|
-
name: activeresource
|
142
142
|
type: :runtime
|
143
|
-
|
143
|
+
version_requirements: *id008
|
144
144
|
- !ruby/object:Gem::Dependency
|
145
|
-
|
145
|
+
name: mediashelf-loggable
|
146
|
+
prerelease: false
|
147
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
146
148
|
none: false
|
147
149
|
requirements:
|
148
150
|
- - ">="
|
@@ -151,12 +153,12 @@ dependencies:
|
|
151
153
|
segments:
|
152
154
|
- 0
|
153
155
|
version: "0"
|
154
|
-
prerelease: false
|
155
|
-
name: mediashelf-loggable
|
156
156
|
type: :runtime
|
157
|
-
|
157
|
+
version_requirements: *id009
|
158
158
|
- !ruby/object:Gem::Dependency
|
159
|
-
|
159
|
+
name: equivalent-xml
|
160
|
+
prerelease: false
|
161
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
160
162
|
none: false
|
161
163
|
requirements:
|
162
164
|
- - ">="
|
@@ -165,12 +167,12 @@ dependencies:
|
|
165
167
|
segments:
|
166
168
|
- 0
|
167
169
|
version: "0"
|
168
|
-
prerelease: false
|
169
|
-
name: equivalent-xml
|
170
170
|
type: :runtime
|
171
|
-
|
171
|
+
version_requirements: *id010
|
172
172
|
- !ruby/object:Gem::Dependency
|
173
|
-
|
173
|
+
name: facets
|
174
|
+
prerelease: false
|
175
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
174
176
|
none: false
|
175
177
|
requirements:
|
176
178
|
- - ">="
|
@@ -179,12 +181,12 @@ dependencies:
|
|
179
181
|
segments:
|
180
182
|
- 0
|
181
183
|
version: "0"
|
182
|
-
prerelease: false
|
183
|
-
name: facets
|
184
184
|
type: :runtime
|
185
|
-
|
185
|
+
version_requirements: *id011
|
186
186
|
- !ruby/object:Gem::Dependency
|
187
|
-
|
187
|
+
name: yard
|
188
|
+
prerelease: false
|
189
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
188
190
|
none: false
|
189
191
|
requirements:
|
190
192
|
- - ">="
|
@@ -193,12 +195,12 @@ dependencies:
|
|
193
195
|
segments:
|
194
196
|
- 0
|
195
197
|
version: "0"
|
196
|
-
prerelease: false
|
197
|
-
name: yard
|
198
198
|
type: :development
|
199
|
-
|
199
|
+
version_requirements: *id012
|
200
200
|
- !ruby/object:Gem::Dependency
|
201
|
-
|
201
|
+
name: RedCloth
|
202
|
+
prerelease: false
|
203
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
202
204
|
none: false
|
203
205
|
requirements:
|
204
206
|
- - ">="
|
@@ -207,12 +209,12 @@ dependencies:
|
|
207
209
|
segments:
|
208
210
|
- 0
|
209
211
|
version: "0"
|
210
|
-
prerelease: false
|
211
|
-
name: RedCloth
|
212
212
|
type: :development
|
213
|
-
|
213
|
+
version_requirements: *id013
|
214
214
|
- !ruby/object:Gem::Dependency
|
215
|
-
|
215
|
+
name: rake
|
216
|
+
prerelease: false
|
217
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
216
218
|
none: false
|
217
219
|
requirements:
|
218
220
|
- - ">="
|
@@ -221,12 +223,12 @@ dependencies:
|
|
221
223
|
segments:
|
222
224
|
- 0
|
223
225
|
version: "0"
|
224
|
-
prerelease: false
|
225
|
-
name: rake
|
226
226
|
type: :development
|
227
|
-
|
227
|
+
version_requirements: *id014
|
228
228
|
- !ruby/object:Gem::Dependency
|
229
|
-
|
229
|
+
name: rcov
|
230
|
+
prerelease: false
|
231
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
230
232
|
none: false
|
231
233
|
requirements:
|
232
234
|
- - ">="
|
@@ -235,12 +237,12 @@ dependencies:
|
|
235
237
|
segments:
|
236
238
|
- 0
|
237
239
|
version: "0"
|
238
|
-
prerelease: false
|
239
|
-
name: rcov
|
240
240
|
type: :development
|
241
|
-
|
241
|
+
version_requirements: *id015
|
242
242
|
- !ruby/object:Gem::Dependency
|
243
|
-
|
243
|
+
name: solrizer-fedora
|
244
|
+
prerelease: false
|
245
|
+
requirement: &id016 !ruby/object:Gem::Requirement
|
244
246
|
none: false
|
245
247
|
requirements:
|
246
248
|
- - ">="
|
@@ -249,12 +251,12 @@ dependencies:
|
|
249
251
|
segments:
|
250
252
|
- 0
|
251
253
|
version: "0"
|
252
|
-
prerelease: false
|
253
|
-
name: solrizer-fedora
|
254
254
|
type: :development
|
255
|
-
|
255
|
+
version_requirements: *id016
|
256
256
|
- !ruby/object:Gem::Dependency
|
257
|
-
|
257
|
+
name: jettywrapper
|
258
|
+
prerelease: false
|
259
|
+
requirement: &id017 !ruby/object:Gem::Requirement
|
258
260
|
none: false
|
259
261
|
requirements:
|
260
262
|
- - ">="
|
@@ -263,12 +265,12 @@ dependencies:
|
|
263
265
|
segments:
|
264
266
|
- 0
|
265
267
|
version: "0"
|
266
|
-
prerelease: false
|
267
|
-
name: jettywrapper
|
268
268
|
type: :development
|
269
|
-
|
269
|
+
version_requirements: *id017
|
270
270
|
- !ruby/object:Gem::Dependency
|
271
|
-
|
271
|
+
name: rspec
|
272
|
+
prerelease: false
|
273
|
+
requirement: &id018 !ruby/object:Gem::Requirement
|
272
274
|
none: false
|
273
275
|
requirements:
|
274
276
|
- - <
|
@@ -279,12 +281,12 @@ dependencies:
|
|
279
281
|
- 0
|
280
282
|
- 0
|
281
283
|
version: 2.0.0
|
282
|
-
prerelease: false
|
283
|
-
name: rspec
|
284
284
|
type: :development
|
285
|
-
|
285
|
+
version_requirements: *id018
|
286
286
|
- !ruby/object:Gem::Dependency
|
287
|
-
|
287
|
+
name: mocha
|
288
|
+
prerelease: false
|
289
|
+
requirement: &id019 !ruby/object:Gem::Requirement
|
288
290
|
none: false
|
289
291
|
requirements:
|
290
292
|
- - ">="
|
@@ -295,12 +297,12 @@ dependencies:
|
|
295
297
|
- 9
|
296
298
|
- 8
|
297
299
|
version: 0.9.8
|
298
|
-
prerelease: false
|
299
|
-
name: mocha
|
300
300
|
type: :development
|
301
|
-
|
301
|
+
version_requirements: *id019
|
302
302
|
- !ruby/object:Gem::Dependency
|
303
|
-
|
303
|
+
name: ruby-debug
|
304
|
+
prerelease: false
|
305
|
+
requirement: &id020 !ruby/object:Gem::Requirement
|
304
306
|
none: false
|
305
307
|
requirements:
|
306
308
|
- - ">="
|
@@ -309,10 +311,8 @@ dependencies:
|
|
309
311
|
segments:
|
310
312
|
- 0
|
311
313
|
version: "0"
|
312
|
-
prerelease: false
|
313
|
-
name: ruby-debug
|
314
314
|
type: :development
|
315
|
-
|
315
|
+
version_requirements: *id020
|
316
316
|
description: ActiveFedora provides for creating and managing objects in the Fedora Repository Architecture.
|
317
317
|
email:
|
318
318
|
- matt.zumwalt@yourmediashelf.com
|
@@ -511,6 +511,7 @@ files:
|
|
511
511
|
- lib/active_fedora/qualified_dublin_core_datastream.rb
|
512
512
|
- lib/active_fedora/railtie.rb
|
513
513
|
- lib/active_fedora/relationship.rb
|
514
|
+
- lib/active_fedora/relationships_helper.rb
|
514
515
|
- lib/active_fedora/rels_ext_datastream.rb
|
515
516
|
- lib/active_fedora/samples.rb
|
516
517
|
- lib/active_fedora/samples/hydra-mods_article_datastream.rb
|
@@ -633,6 +634,7 @@ files:
|
|
633
634
|
- spec/unit/property_spec.rb
|
634
635
|
- spec/unit/qualified_dublin_core_datastream_spec.rb
|
635
636
|
- spec/unit/relationship_spec.rb
|
637
|
+
- spec/unit/relationships_helper_spec.rb
|
636
638
|
- spec/unit/rels_ext_datastream_spec.rb
|
637
639
|
- spec/unit/repository_spec.rb
|
638
640
|
- spec/unit/rf_datastream_spec.rb
|
@@ -669,7 +671,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
669
671
|
requirements: []
|
670
672
|
|
671
673
|
rubyforge_project: rubyfedora
|
672
|
-
rubygems_version: 1.
|
674
|
+
rubygems_version: 1.6.2
|
673
675
|
signing_key:
|
674
676
|
specification_version: 3
|
675
677
|
summary: A convenience libary for manipulating MODS (Metadata Object Description Schema) documents.
|
@@ -768,6 +770,7 @@ test_files:
|
|
768
770
|
- spec/unit/property_spec.rb
|
769
771
|
- spec/unit/qualified_dublin_core_datastream_spec.rb
|
770
772
|
- spec/unit/relationship_spec.rb
|
773
|
+
- spec/unit/relationships_helper_spec.rb
|
771
774
|
- spec/unit/rels_ext_datastream_spec.rb
|
772
775
|
- spec/unit/repository_spec.rb
|
773
776
|
- spec/unit/rf_datastream_spec.rb
|