active-fedora 9.7.2 → 9.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_fedora/file.rb +1 -11
- data/lib/active_fedora/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de5b093890058bc8f3139051495c81c9a3a3b3fa
|
4
|
+
data.tar.gz: 453d48c7a3d7896fbd0068916da87161682bafc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1e410da785e646583a0cd9a085f9402e96e64c3740023d4f67736386e1c4e3e34a9e0dfc03c306b5d3281306c4ecd2b3911a1f67f77b9d078dc17113ed4174a
|
7
|
+
data.tar.gz: 854d7acbdaa846a6ea76ee273201fcbd1aab9167c4e60da359c18515694d27dffb93eee0cf82c57510067196cf182b5004e8aac8ff8ba3562346d02ae984c4ce
|
data/lib/active_fedora/file.rb
CHANGED
@@ -252,17 +252,7 @@ module ActiveFedora
|
|
252
252
|
return @content if new_record?
|
253
253
|
|
254
254
|
@content ||= ensure_fetch ? remote_content : @ds_content
|
255
|
-
|
256
|
-
if behaves_like_io?(@content)
|
257
|
-
begin
|
258
|
-
@content.rewind
|
259
|
-
@content.read
|
260
|
-
ensure
|
261
|
-
@content.rewind
|
262
|
-
end
|
263
|
-
else
|
264
|
-
@content
|
265
|
-
end
|
255
|
+
@content.rewind if behaves_like_io?(@content)
|
266
256
|
@content
|
267
257
|
end
|
268
258
|
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: 9.7.
|
4
|
+
version: 9.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Zumwalt
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-10-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rsolr
|
@@ -638,9 +638,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
638
638
|
version: '0'
|
639
639
|
requirements: []
|
640
640
|
rubyforge_project:
|
641
|
-
rubygems_version: 2.
|
641
|
+
rubygems_version: 2.4.5.1
|
642
642
|
signing_key:
|
643
643
|
specification_version: 4
|
644
644
|
summary: A convenience libary for manipulating documents in the Fedora Repository.
|
645
645
|
test_files: []
|
646
|
-
has_rdoc:
|