active-fedora 3.1.0.pre6 → 3.1.0.pre7
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +7 -7
- data/active-fedora.gemspec +2 -2
- data/lib/active_fedora/base.rb +1 -2
- data/lib/active_fedora/version.rb +1 -1
- metadata +10 -10
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
active-fedora (3.1.0.
|
4
|
+
active-fedora (3.1.0.pre7)
|
5
5
|
activeresource (~> 3.0.0)
|
6
6
|
activesupport (~> 3.0.0)
|
7
7
|
equivalent-xml
|
@@ -13,7 +13,7 @@ PATH
|
|
13
13
|
om (>= 1.0)
|
14
14
|
rdf
|
15
15
|
rdf-rdfxml
|
16
|
-
rubydora (~> 0.1.
|
16
|
+
rubydora (~> 0.1.7)
|
17
17
|
solr-ruby (>= 0.0.6)
|
18
18
|
solrizer (> 1.0.0)
|
19
19
|
xml-simple (>= 1.0.12)
|
@@ -71,7 +71,7 @@ GEM
|
|
71
71
|
rack (1.3.4)
|
72
72
|
rake (0.9.2)
|
73
73
|
rbx-require-relative (0.0.5)
|
74
|
-
rcov (0.9.
|
74
|
+
rcov (0.9.11)
|
75
75
|
rdf (0.3.4.1)
|
76
76
|
addressable (>= 2.2.6)
|
77
77
|
rdf-rdfxml (0.3.5)
|
@@ -87,7 +87,7 @@ GEM
|
|
87
87
|
ruby-debug-base (~> 0.10.4.0)
|
88
88
|
ruby-debug-base (0.10.4)
|
89
89
|
linecache (>= 0.3)
|
90
|
-
rubydora (0.1.
|
90
|
+
rubydora (0.1.7)
|
91
91
|
activemodel
|
92
92
|
activesupport
|
93
93
|
fastercsv
|
@@ -111,7 +111,7 @@ GEM
|
|
111
111
|
om (>= 1.4.0)
|
112
112
|
stomp
|
113
113
|
xml-simple
|
114
|
-
solrizer-fedora (1.1.
|
114
|
+
solrizer-fedora (1.1.3)
|
115
115
|
active-fedora (>= 2.3.0)
|
116
116
|
fastercsv
|
117
117
|
rsolr
|
@@ -120,7 +120,7 @@ GEM
|
|
120
120
|
stomp (1.1.9)
|
121
121
|
wasabi (2.0.0)
|
122
122
|
nokogiri (>= 1.4.0)
|
123
|
-
xml-simple (1.1.
|
123
|
+
xml-simple (1.1.1)
|
124
124
|
yard (0.7.2)
|
125
125
|
|
126
126
|
PLATFORMS
|
@@ -135,5 +135,5 @@ DEPENDENCIES
|
|
135
135
|
rcov
|
136
136
|
rspec (< 2.0.0)
|
137
137
|
ruby-debug
|
138
|
-
solrizer-fedora (>= 1.1.
|
138
|
+
solrizer-fedora (>= 1.1.3)
|
139
139
|
yard
|
data/active-fedora.gemspec
CHANGED
@@ -27,14 +27,14 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.add_dependency("mediashelf-loggable")
|
28
28
|
s.add_dependency("equivalent-xml")
|
29
29
|
s.add_dependency("facets")
|
30
|
-
s.add_dependency("rubydora", '~>0.1.
|
30
|
+
s.add_dependency("rubydora", '~>0.1.7')
|
31
31
|
s.add_dependency("rdf")
|
32
32
|
s.add_dependency("rdf-rdfxml")
|
33
33
|
s.add_development_dependency("yard")
|
34
34
|
s.add_development_dependency("RedCloth") # for RDoc formatting
|
35
35
|
s.add_development_dependency("rake")
|
36
36
|
s.add_development_dependency("rcov")
|
37
|
-
s.add_development_dependency("solrizer-fedora", ">=1.1.
|
37
|
+
s.add_development_dependency("solrizer-fedora", ">=1.1.3") # used by the fixtures rake tasks
|
38
38
|
s.add_development_dependency("jettywrapper", ">=1.0.1")
|
39
39
|
s.add_development_dependency("rspec", "<2.0.0")
|
40
40
|
s.add_development_dependency("mocha", ">= 0.9.8")
|
data/lib/active_fedora/base.rb
CHANGED
@@ -312,8 +312,7 @@ module ActiveFedora
|
|
312
312
|
elsif opts.has_key?(:content_type)
|
313
313
|
attrs.merge!({:mimeType=>opts[:content_type]})
|
314
314
|
end
|
315
|
-
ds = create_datastream(ActiveFedora::Datastream,
|
316
|
-
opts.has_key?(:dsid) ? ds.dsid=(opts[:dsid]) : nil
|
315
|
+
ds = create_datastream(ActiveFedora::Datastream, opts[:dsid], attrs)
|
317
316
|
add_datastream(ds)
|
318
317
|
end
|
319
318
|
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active-fedora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1923832023
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 1
|
9
9
|
- 0
|
10
10
|
- pre
|
11
|
-
-
|
12
|
-
version: 3.1.0.
|
11
|
+
- 7
|
12
|
+
version: 3.1.0.pre7
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Matt Zumwalt
|
@@ -18,7 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2011-10-
|
21
|
+
date: 2011-10-14 00:00:00 -05:00
|
22
22
|
default_executable:
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
@@ -211,12 +211,12 @@ dependencies:
|
|
211
211
|
requirements:
|
212
212
|
- - ~>
|
213
213
|
- !ruby/object:Gem::Version
|
214
|
-
hash:
|
214
|
+
hash: 21
|
215
215
|
segments:
|
216
216
|
- 0
|
217
217
|
- 1
|
218
|
-
-
|
219
|
-
version: 0.1.
|
218
|
+
- 7
|
219
|
+
version: 0.1.7
|
220
220
|
type: :runtime
|
221
221
|
version_requirements: *id013
|
222
222
|
- !ruby/object:Gem::Dependency
|
@@ -311,12 +311,12 @@ dependencies:
|
|
311
311
|
requirements:
|
312
312
|
- - ">="
|
313
313
|
- !ruby/object:Gem::Version
|
314
|
-
hash:
|
314
|
+
hash: 21
|
315
315
|
segments:
|
316
316
|
- 1
|
317
317
|
- 1
|
318
|
-
-
|
319
|
-
version: 1.1.
|
318
|
+
- 3
|
319
|
+
version: 1.1.3
|
320
320
|
type: :development
|
321
321
|
version_requirements: *id020
|
322
322
|
- !ruby/object:Gem::Dependency
|