hydra-core 12.1.0 → 13.0.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c18685bf2d660af57d5a126e79ed721a5bc317c3369d0ff1b6b53c2dda25e91e
|
4
|
+
data.tar.gz: 51b453b01d9681c124c096fc1b0c7445cd66f5cfc4b3c74e9d14928b6360fa9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcee913539a8117fb0deab0312b8a459e2eff936305e6af9a27c92e4fa1b4377664c4f10e6b7746b87c138f53fcf53265fec6242868e17060aee7e7fe6fc9fdf
|
7
|
+
data.tar.gz: ea75b84e2a3dbb6eccd3ec2fdcaf391e1d9f9957e92c4220d5cdb55dd828fea687ef92d9a2b3289f0c60bb2da556bcbad0eeddd2296f688e418a906f7de88839
|
@@ -95,6 +95,8 @@ module Hydra
|
|
95
95
|
# render an HTTP Range response
|
96
96
|
def send_range
|
97
97
|
_, range = request.headers['HTTP_RANGE'].split('bytes=')
|
98
|
+
# assume client is requesting whole file if no range specified
|
99
|
+
range = '0-' if range.nil?
|
98
100
|
from, to = range.split('-').map(&:to_i)
|
99
101
|
to = file.size - 1 unless to
|
100
102
|
length = to - from + 1
|
data/hydra-core.gemspec
CHANGED
@@ -17,10 +17,10 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.license = "APACHE2"
|
18
18
|
gem.metadata = { "rubygems_mfa_required" => "true" }
|
19
19
|
|
20
|
-
gem.required_ruby_version = '>=
|
20
|
+
gem.required_ruby_version = '>= 3.1'
|
21
21
|
|
22
22
|
gem.add_dependency 'hydra-access-controls', version
|
23
|
-
gem.add_dependency "railties", '>=
|
23
|
+
gem.add_dependency "railties", '>= 6.1', '< 8.0'
|
24
24
|
|
25
25
|
gem.add_development_dependency 'rails-controller-testing', '~> 1'
|
26
26
|
gem.add_development_dependency 'rspec-rails', '~> 4.0'
|
data/lib/hydra-head/version.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:
|
4
|
+
version: 13.0.0
|
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: 2024-10-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hydra-access-controls
|
@@ -17,34 +17,34 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 13.0.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
27
|
+
version: 13.0.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: railties
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '6.1'
|
35
35
|
- - "<"
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: '
|
37
|
+
version: '8.0'
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
42
|
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: '
|
44
|
+
version: '6.1'
|
45
45
|
- - "<"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '8.0'
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: rails-controller-testing
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,14 +160,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
160
160
|
requirements:
|
161
161
|
- - ">="
|
162
162
|
- !ruby/object:Gem::Version
|
163
|
-
version: '
|
163
|
+
version: '3.1'
|
164
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
165
|
requirements:
|
166
166
|
- - ">="
|
167
167
|
- !ruby/object:Gem::Version
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
|
-
rubygems_version: 3.
|
170
|
+
rubygems_version: 3.4.1
|
171
171
|
signing_key:
|
172
172
|
specification_version: 4
|
173
173
|
summary: Hydra-Head Rails Engine (requires Rails3)
|