active-fedora 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/active-fedora.gemspec +13 -1
- data/lib/active_fedora/content_model.rb +1 -1
- metadata +111 -51
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.4
|
data/active-fedora.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{active-fedora}
|
8
|
-
s.version = "2.0.
|
8
|
+
s.version = "2.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Matt Zumwalt", "McClain Looney"]
|
@@ -363,6 +363,10 @@ Gem::Specification.new do |s|
|
|
363
363
|
s.add_development_dependency(%q<rspec>, ["< 2.0.0"])
|
364
364
|
s.add_development_dependency(%q<mocha>, [">= 0.9.8"])
|
365
365
|
s.add_development_dependency(%q<ruby-debug>, [">= 0"])
|
366
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
367
|
+
s.add_development_dependency(%q<rspec>, ["< 2.0.0"])
|
368
|
+
s.add_development_dependency(%q<mocha>, [">= 0.9.8"])
|
369
|
+
s.add_development_dependency(%q<ruby-debug>, [">= 0"])
|
366
370
|
s.add_runtime_dependency(%q<solr-ruby>, [">= 0.0.6"])
|
367
371
|
s.add_runtime_dependency(%q<xml-simple>, [">= 1.0.12"])
|
368
372
|
s.add_runtime_dependency(%q<mime-types>, [">= 1.16"])
|
@@ -391,6 +395,10 @@ Gem::Specification.new do |s|
|
|
391
395
|
s.add_dependency(%q<rspec>, ["< 2.0.0"])
|
392
396
|
s.add_dependency(%q<mocha>, [">= 0.9.8"])
|
393
397
|
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
398
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
399
|
+
s.add_dependency(%q<rspec>, ["< 2.0.0"])
|
400
|
+
s.add_dependency(%q<mocha>, [">= 0.9.8"])
|
401
|
+
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
394
402
|
s.add_dependency(%q<solr-ruby>, [">= 0.0.6"])
|
395
403
|
s.add_dependency(%q<xml-simple>, [">= 1.0.12"])
|
396
404
|
s.add_dependency(%q<mime-types>, [">= 1.16"])
|
@@ -420,6 +428,10 @@ Gem::Specification.new do |s|
|
|
420
428
|
s.add_dependency(%q<rspec>, ["< 2.0.0"])
|
421
429
|
s.add_dependency(%q<mocha>, [">= 0.9.8"])
|
422
430
|
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
431
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
432
|
+
s.add_dependency(%q<rspec>, ["< 2.0.0"])
|
433
|
+
s.add_dependency(%q<mocha>, [">= 0.9.8"])
|
434
|
+
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
423
435
|
s.add_dependency(%q<solr-ruby>, [">= 0.0.6"])
|
424
436
|
s.add_dependency(%q<xml-simple>, [">= 1.0.12"])
|
425
437
|
s.add_dependency(%q<mime-types>, [">= 1.16"])
|
@@ -49,7 +49,7 @@ module ActiveFedora
|
|
49
49
|
# Returns a ruby class corresponding to the given uri if one can be found.
|
50
50
|
# Returns false if no corresponding class can be found.
|
51
51
|
def self.uri_to_ruby_class( uri )
|
52
|
-
classname = uri.split(':')[-1].titlecase
|
52
|
+
classname = uri.split(':')[-1].titlecase.gsub(' ','')
|
53
53
|
|
54
54
|
if class_exists?(classname)
|
55
55
|
Kernel.const_get(classname)
|
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: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.
|
9
|
+
- 4
|
10
|
+
version: 2.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Zumwalt
|
@@ -16,12 +16,12 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-03-15 00:00:00 -
|
19
|
+
date: 2011-03-15 00:00:00 -04:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
|
-
type: :runtime
|
24
23
|
prerelease: false
|
24
|
+
type: :runtime
|
25
25
|
name: active-fedora
|
26
26
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
27
27
|
none: false
|
@@ -34,8 +34,8 @@ dependencies:
|
|
34
34
|
version: "0"
|
35
35
|
requirement: *id001
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
|
-
type: :development
|
38
37
|
prerelease: false
|
38
|
+
type: :development
|
39
39
|
name: jeweler
|
40
40
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
@@ -48,8 +48,8 @@ dependencies:
|
|
48
48
|
version: "0"
|
49
49
|
requirement: *id002
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
|
-
type: :development
|
52
51
|
prerelease: false
|
52
|
+
type: :development
|
53
53
|
name: rspec
|
54
54
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
55
55
|
none: false
|
@@ -64,8 +64,8 @@ dependencies:
|
|
64
64
|
version: 2.0.0
|
65
65
|
requirement: *id003
|
66
66
|
- !ruby/object:Gem::Dependency
|
67
|
-
type: :development
|
68
67
|
prerelease: false
|
68
|
+
type: :development
|
69
69
|
name: mocha
|
70
70
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
71
71
|
none: false
|
@@ -80,8 +80,8 @@ dependencies:
|
|
80
80
|
version: 0.9.8
|
81
81
|
requirement: *id004
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
|
-
type: :development
|
84
83
|
prerelease: false
|
84
|
+
type: :development
|
85
85
|
name: ruby-debug
|
86
86
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
87
87
|
none: false
|
@@ -94,8 +94,8 @@ dependencies:
|
|
94
94
|
version: "0"
|
95
95
|
requirement: *id005
|
96
96
|
- !ruby/object:Gem::Dependency
|
97
|
-
type: :development
|
98
97
|
prerelease: false
|
98
|
+
type: :development
|
99
99
|
name: jeweler
|
100
100
|
version_requirements: &id006 !ruby/object:Gem::Requirement
|
101
101
|
none: false
|
@@ -108,8 +108,8 @@ dependencies:
|
|
108
108
|
version: "0"
|
109
109
|
requirement: *id006
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
|
-
type: :development
|
112
111
|
prerelease: false
|
112
|
+
type: :development
|
113
113
|
name: rspec
|
114
114
|
version_requirements: &id007 !ruby/object:Gem::Requirement
|
115
115
|
none: false
|
@@ -124,8 +124,8 @@ dependencies:
|
|
124
124
|
version: 2.0.0
|
125
125
|
requirement: *id007
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
|
-
type: :development
|
128
127
|
prerelease: false
|
128
|
+
type: :development
|
129
129
|
name: mocha
|
130
130
|
version_requirements: &id008 !ruby/object:Gem::Requirement
|
131
131
|
none: false
|
@@ -140,8 +140,8 @@ dependencies:
|
|
140
140
|
version: 0.9.8
|
141
141
|
requirement: *id008
|
142
142
|
- !ruby/object:Gem::Dependency
|
143
|
-
type: :development
|
144
143
|
prerelease: false
|
144
|
+
type: :development
|
145
145
|
name: ruby-debug
|
146
146
|
version_requirements: &id009 !ruby/object:Gem::Requirement
|
147
147
|
none: false
|
@@ -154,8 +154,8 @@ dependencies:
|
|
154
154
|
version: "0"
|
155
155
|
requirement: *id009
|
156
156
|
- !ruby/object:Gem::Dependency
|
157
|
-
type: :development
|
158
157
|
prerelease: false
|
158
|
+
type: :development
|
159
159
|
name: jeweler
|
160
160
|
version_requirements: &id010 !ruby/object:Gem::Requirement
|
161
161
|
none: false
|
@@ -168,8 +168,8 @@ dependencies:
|
|
168
168
|
version: "0"
|
169
169
|
requirement: *id010
|
170
170
|
- !ruby/object:Gem::Dependency
|
171
|
-
type: :development
|
172
171
|
prerelease: false
|
172
|
+
type: :development
|
173
173
|
name: rspec
|
174
174
|
version_requirements: &id011 !ruby/object:Gem::Requirement
|
175
175
|
none: false
|
@@ -184,8 +184,8 @@ dependencies:
|
|
184
184
|
version: 2.0.0
|
185
185
|
requirement: *id011
|
186
186
|
- !ruby/object:Gem::Dependency
|
187
|
-
type: :development
|
188
187
|
prerelease: false
|
188
|
+
type: :development
|
189
189
|
name: mocha
|
190
190
|
version_requirements: &id012 !ruby/object:Gem::Requirement
|
191
191
|
none: false
|
@@ -200,8 +200,8 @@ dependencies:
|
|
200
200
|
version: 0.9.8
|
201
201
|
requirement: *id012
|
202
202
|
- !ruby/object:Gem::Dependency
|
203
|
-
type: :development
|
204
203
|
prerelease: false
|
204
|
+
type: :development
|
205
205
|
name: ruby-debug
|
206
206
|
version_requirements: &id013 !ruby/object:Gem::Requirement
|
207
207
|
none: false
|
@@ -214,8 +214,8 @@ dependencies:
|
|
214
214
|
version: "0"
|
215
215
|
requirement: *id013
|
216
216
|
- !ruby/object:Gem::Dependency
|
217
|
-
type: :development
|
218
217
|
prerelease: false
|
218
|
+
type: :development
|
219
219
|
name: jeweler
|
220
220
|
version_requirements: &id014 !ruby/object:Gem::Requirement
|
221
221
|
none: false
|
@@ -228,8 +228,8 @@ dependencies:
|
|
228
228
|
version: "0"
|
229
229
|
requirement: *id014
|
230
230
|
- !ruby/object:Gem::Dependency
|
231
|
-
type: :development
|
232
231
|
prerelease: false
|
232
|
+
type: :development
|
233
233
|
name: rspec
|
234
234
|
version_requirements: &id015 !ruby/object:Gem::Requirement
|
235
235
|
none: false
|
@@ -244,8 +244,8 @@ dependencies:
|
|
244
244
|
version: 2.0.0
|
245
245
|
requirement: *id015
|
246
246
|
- !ruby/object:Gem::Dependency
|
247
|
-
type: :development
|
248
247
|
prerelease: false
|
248
|
+
type: :development
|
249
249
|
name: mocha
|
250
250
|
version_requirements: &id016 !ruby/object:Gem::Requirement
|
251
251
|
none: false
|
@@ -260,8 +260,8 @@ dependencies:
|
|
260
260
|
version: 0.9.8
|
261
261
|
requirement: *id016
|
262
262
|
- !ruby/object:Gem::Dependency
|
263
|
-
type: :development
|
264
263
|
prerelease: false
|
264
|
+
type: :development
|
265
265
|
name: ruby-debug
|
266
266
|
version_requirements: &id017 !ruby/object:Gem::Requirement
|
267
267
|
none: false
|
@@ -274,10 +274,70 @@ dependencies:
|
|
274
274
|
version: "0"
|
275
275
|
requirement: *id017
|
276
276
|
- !ruby/object:Gem::Dependency
|
277
|
-
type: :runtime
|
278
277
|
prerelease: false
|
279
|
-
|
278
|
+
type: :development
|
279
|
+
name: jeweler
|
280
280
|
version_requirements: &id018 !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
hash: 3
|
286
|
+
segments:
|
287
|
+
- 0
|
288
|
+
version: "0"
|
289
|
+
requirement: *id018
|
290
|
+
- !ruby/object:Gem::Dependency
|
291
|
+
prerelease: false
|
292
|
+
type: :development
|
293
|
+
name: rspec
|
294
|
+
version_requirements: &id019 !ruby/object:Gem::Requirement
|
295
|
+
none: false
|
296
|
+
requirements:
|
297
|
+
- - <
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
hash: 15
|
300
|
+
segments:
|
301
|
+
- 2
|
302
|
+
- 0
|
303
|
+
- 0
|
304
|
+
version: 2.0.0
|
305
|
+
requirement: *id019
|
306
|
+
- !ruby/object:Gem::Dependency
|
307
|
+
prerelease: false
|
308
|
+
type: :development
|
309
|
+
name: mocha
|
310
|
+
version_requirements: &id020 !ruby/object:Gem::Requirement
|
311
|
+
none: false
|
312
|
+
requirements:
|
313
|
+
- - ">="
|
314
|
+
- !ruby/object:Gem::Version
|
315
|
+
hash: 43
|
316
|
+
segments:
|
317
|
+
- 0
|
318
|
+
- 9
|
319
|
+
- 8
|
320
|
+
version: 0.9.8
|
321
|
+
requirement: *id020
|
322
|
+
- !ruby/object:Gem::Dependency
|
323
|
+
prerelease: false
|
324
|
+
type: :development
|
325
|
+
name: ruby-debug
|
326
|
+
version_requirements: &id021 !ruby/object:Gem::Requirement
|
327
|
+
none: false
|
328
|
+
requirements:
|
329
|
+
- - ">="
|
330
|
+
- !ruby/object:Gem::Version
|
331
|
+
hash: 3
|
332
|
+
segments:
|
333
|
+
- 0
|
334
|
+
version: "0"
|
335
|
+
requirement: *id021
|
336
|
+
- !ruby/object:Gem::Dependency
|
337
|
+
prerelease: false
|
338
|
+
type: :runtime
|
339
|
+
name: solr-ruby
|
340
|
+
version_requirements: &id022 !ruby/object:Gem::Requirement
|
281
341
|
none: false
|
282
342
|
requirements:
|
283
343
|
- - ">="
|
@@ -288,12 +348,12 @@ dependencies:
|
|
288
348
|
- 0
|
289
349
|
- 6
|
290
350
|
version: 0.0.6
|
291
|
-
requirement: *
|
351
|
+
requirement: *id022
|
292
352
|
- !ruby/object:Gem::Dependency
|
293
|
-
type: :runtime
|
294
353
|
prerelease: false
|
354
|
+
type: :runtime
|
295
355
|
name: xml-simple
|
296
|
-
version_requirements: &
|
356
|
+
version_requirements: &id023 !ruby/object:Gem::Requirement
|
297
357
|
none: false
|
298
358
|
requirements:
|
299
359
|
- - ">="
|
@@ -304,12 +364,12 @@ dependencies:
|
|
304
364
|
- 0
|
305
365
|
- 12
|
306
366
|
version: 1.0.12
|
307
|
-
requirement: *
|
367
|
+
requirement: *id023
|
308
368
|
- !ruby/object:Gem::Dependency
|
309
|
-
type: :runtime
|
310
369
|
prerelease: false
|
370
|
+
type: :runtime
|
311
371
|
name: mime-types
|
312
|
-
version_requirements: &
|
372
|
+
version_requirements: &id024 !ruby/object:Gem::Requirement
|
313
373
|
none: false
|
314
374
|
requirements:
|
315
375
|
- - ">="
|
@@ -319,12 +379,12 @@ dependencies:
|
|
319
379
|
- 1
|
320
380
|
- 16
|
321
381
|
version: "1.16"
|
322
|
-
requirement: *
|
382
|
+
requirement: *id024
|
323
383
|
- !ruby/object:Gem::Dependency
|
324
|
-
type: :runtime
|
325
384
|
prerelease: false
|
385
|
+
type: :runtime
|
326
386
|
name: multipart-post
|
327
|
-
version_requirements: &
|
387
|
+
version_requirements: &id025 !ruby/object:Gem::Requirement
|
328
388
|
none: false
|
329
389
|
requirements:
|
330
390
|
- - ">="
|
@@ -333,12 +393,12 @@ dependencies:
|
|
333
393
|
segments:
|
334
394
|
- 0
|
335
395
|
version: "0"
|
336
|
-
requirement: *
|
396
|
+
requirement: *id025
|
337
397
|
- !ruby/object:Gem::Dependency
|
338
|
-
type: :runtime
|
339
398
|
prerelease: false
|
399
|
+
type: :runtime
|
340
400
|
name: nokogiri
|
341
|
-
version_requirements: &
|
401
|
+
version_requirements: &id026 !ruby/object:Gem::Requirement
|
342
402
|
none: false
|
343
403
|
requirements:
|
344
404
|
- - ">="
|
@@ -347,12 +407,12 @@ dependencies:
|
|
347
407
|
segments:
|
348
408
|
- 0
|
349
409
|
version: "0"
|
350
|
-
requirement: *
|
410
|
+
requirement: *id026
|
351
411
|
- !ruby/object:Gem::Dependency
|
352
|
-
type: :runtime
|
353
412
|
prerelease: false
|
413
|
+
type: :runtime
|
354
414
|
name: om
|
355
|
-
version_requirements: &
|
415
|
+
version_requirements: &id027 !ruby/object:Gem::Requirement
|
356
416
|
none: false
|
357
417
|
requirements:
|
358
418
|
- - ">="
|
@@ -362,12 +422,12 @@ dependencies:
|
|
362
422
|
- 1
|
363
423
|
- 0
|
364
424
|
version: "1.0"
|
365
|
-
requirement: *
|
425
|
+
requirement: *id027
|
366
426
|
- !ruby/object:Gem::Dependency
|
367
|
-
type: :runtime
|
368
427
|
prerelease: false
|
428
|
+
type: :runtime
|
369
429
|
name: solrizer
|
370
|
-
version_requirements: &
|
430
|
+
version_requirements: &id028 !ruby/object:Gem::Requirement
|
371
431
|
none: false
|
372
432
|
requirements:
|
373
433
|
- - ">"
|
@@ -378,12 +438,12 @@ dependencies:
|
|
378
438
|
- 0
|
379
439
|
- 0
|
380
440
|
version: 1.0.0
|
381
|
-
requirement: *
|
441
|
+
requirement: *id028
|
382
442
|
- !ruby/object:Gem::Dependency
|
383
|
-
type: :runtime
|
384
443
|
prerelease: false
|
444
|
+
type: :runtime
|
385
445
|
name: activeresource
|
386
|
-
version_requirements: &
|
446
|
+
version_requirements: &id029 !ruby/object:Gem::Requirement
|
387
447
|
none: false
|
388
448
|
requirements:
|
389
449
|
- - ">="
|
@@ -392,12 +452,12 @@ dependencies:
|
|
392
452
|
segments:
|
393
453
|
- 0
|
394
454
|
version: "0"
|
395
|
-
requirement: *
|
455
|
+
requirement: *id029
|
396
456
|
- !ruby/object:Gem::Dependency
|
397
|
-
type: :runtime
|
398
457
|
prerelease: false
|
458
|
+
type: :runtime
|
399
459
|
name: mediashelf-loggable
|
400
|
-
version_requirements: &
|
460
|
+
version_requirements: &id030 !ruby/object:Gem::Requirement
|
401
461
|
none: false
|
402
462
|
requirements:
|
403
463
|
- - ">="
|
@@ -406,12 +466,12 @@ dependencies:
|
|
406
466
|
segments:
|
407
467
|
- 0
|
408
468
|
version: "0"
|
409
|
-
requirement: *
|
469
|
+
requirement: *id030
|
410
470
|
- !ruby/object:Gem::Dependency
|
411
|
-
type: :runtime
|
412
471
|
prerelease: false
|
472
|
+
type: :runtime
|
413
473
|
name: equivalent-xml
|
414
|
-
version_requirements: &
|
474
|
+
version_requirements: &id031 !ruby/object:Gem::Requirement
|
415
475
|
none: false
|
416
476
|
requirements:
|
417
477
|
- - ">="
|
@@ -420,7 +480,7 @@ dependencies:
|
|
420
480
|
segments:
|
421
481
|
- 0
|
422
482
|
version: "0"
|
423
|
-
requirement: *
|
483
|
+
requirement: *id031
|
424
484
|
description: ActiveFedora provides for creating and managing objects in the Fedora Repository Architecture.
|
425
485
|
email: matt.zumwalt@yourmediashelf.com
|
426
486
|
executables: []
|