hydra-core 10.5.0 → 10.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/concerns/hydra/controller/download_behavior.rb +4 -5
- data/hydra-core.gemspec +2 -2
- data/lib/hydra-head/version.rb +1 -1
- data/spec/factories.rb +1 -1
- data/spec/models/user_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb1192753c4d9d7d26b2c0560e0ba127e1cf0550
|
4
|
+
data.tar.gz: 27760b95dd45280ffffeef65306271eee9a7b2b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1f7c299e3a156a48f977fba5091d43718974cab64a37b5f129902a8859b2b393d03d1295cdaf2da463e43d2242193eedf753db810714299f494c5e9799ade8f
|
7
|
+
data.tar.gz: f0152d2e800b1b041f40cca674b373dd26b4e35e6a7b88a9b20d3b496a7137977c3049cc15c451d1c0c3da5f876163d436664fba6bc0b6533a3fe35a5184d237
|
@@ -121,11 +121,11 @@ module Hydra
|
|
121
121
|
private
|
122
122
|
|
123
123
|
def stream_body(iostream)
|
124
|
-
|
125
|
-
|
124
|
+
# see https://github.com/rails/rails/issues/18714#issuecomment-96204444
|
125
|
+
unless response.headers["Last-Modified"] || response.headers["ETag"]
|
126
|
+
Rails.logger.warn("Response may be buffered instead of streaming, best to set a Last-Modified or ETag header")
|
126
127
|
end
|
127
|
-
|
128
|
-
response.stream.close
|
128
|
+
self.response_body = iostream
|
129
129
|
end
|
130
130
|
|
131
131
|
def default_file
|
@@ -144,4 +144,3 @@ module Hydra
|
|
144
144
|
end
|
145
145
|
end
|
146
146
|
end
|
147
|
-
|
data/hydra-core.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |gem|
|
|
22
22
|
gem.add_dependency 'hydra-access-controls', version
|
23
23
|
|
24
24
|
gem.add_development_dependency 'sqlite3', '~> 1.3'
|
25
|
-
gem.add_development_dependency 'yard', '~> 0.8.7'
|
26
25
|
gem.add_development_dependency 'rspec-rails', '~> 3.1'
|
27
|
-
gem.add_development_dependency '
|
26
|
+
gem.add_development_dependency 'rails-controller-testing', '~> 1'
|
27
|
+
gem.add_development_dependency 'factory_bot_rails', '~> 4.8.2'
|
28
28
|
end
|
data/lib/hydra-head/version.rb
CHANGED
data/spec/factories.rb
CHANGED
data/spec/models/user_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.5.
|
4
|
+
version: 10.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Zumwalt, Bess Sadler, Julie Meloni, Naomi Dushay, Jessie Keck, John Scofield,
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-04-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -37,14 +37,14 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 10.5.
|
40
|
+
version: 10.5.1
|
41
41
|
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 10.5.
|
47
|
+
version: 10.5.1
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: sqlite3
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,47 +60,47 @@ dependencies:
|
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '1.3'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
63
|
+
name: rspec-rails
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '3.1'
|
69
69
|
type: :development
|
70
70
|
prerelease: false
|
71
71
|
version_requirements: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '3.1'
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
|
-
name:
|
77
|
+
name: rails-controller-testing
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '1'
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '1'
|
90
90
|
- !ruby/object:Gem::Dependency
|
91
|
-
name:
|
91
|
+
name: factory_bot_rails
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 4.8.2
|
97
97
|
type: :development
|
98
98
|
prerelease: false
|
99
99
|
version_requirements: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 4.8.2
|
104
104
|
description: 'Hydra-Head is a Rails Engine containing the core code for a Hydra application.
|
105
105
|
The full hydra stack includes: Blacklight, Fedora, Solr, active-fedora, solrizer,
|
106
106
|
and om'
|
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
180
|
version: '0'
|
181
181
|
requirements: []
|
182
182
|
rubyforge_project:
|
183
|
-
rubygems_version: 2.6.
|
183
|
+
rubygems_version: 2.6.14
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
186
|
summary: Hydra-Head Rails Engine (requires Rails3)
|