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: c7e5e72614fe00144600d5e3c4efccf2947f158aa1b7577d7b0653bc332299de
4
- data.tar.gz: 21f9cae205905ad2d0956533ffc393e5c59c7a18fc9bf196b3a69ad85ee9fe12
3
+ metadata.gz: c18685bf2d660af57d5a126e79ed721a5bc317c3369d0ff1b6b53c2dda25e91e
4
+ data.tar.gz: 51b453b01d9681c124c096fc1b0c7445cd66f5cfc4b3c74e9d14928b6360fa9f
5
5
  SHA512:
6
- metadata.gz: ed09758c8ed087d4546392489d5944e932fef374e1ba08b60101af76f237d2cd18d0a15438e33e477b1b99c7b1ee7752ba46f43f5d7240f4bd2ae9840b40ee28
7
- data.tar.gz: 542b990dc47db319c90a7ba1470f66945a3a325777d90c3829ab8c07b2e4c64c3ba3eb0db3a1a54e778da782fba529bc99bf7633715268e8f0b751a736005807
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 = '>= 2.4'
20
+ gem.required_ruby_version = '>= 3.1'
21
21
 
22
22
  gem.add_dependency 'hydra-access-controls', version
23
- gem.add_dependency "railties", '>= 5.2', '< 7.1'
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'
@@ -1,6 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
- require 'blacklight/catalog'
3
-
4
2
  class CatalogController < ApplicationController
5
3
 
6
4
  include Hydra::Catalog
@@ -1,3 +1,3 @@
1
1
  module HydraHead
2
- VERSION = "12.1.0"
2
+ VERSION = "13.0.0"
3
3
  end
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: 12.1.0
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: 2023-01-27 00:00:00.000000000 Z
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: 12.1.0
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: 12.1.0
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: '5.2'
34
+ version: '6.1'
35
35
  - - "<"
36
36
  - !ruby/object:Gem::Version
37
- version: '7.1'
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: '5.2'
44
+ version: '6.1'
45
45
  - - "<"
46
46
  - !ruby/object:Gem::Version
47
- version: '7.1'
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: '2.4'
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.3.26
170
+ rubygems_version: 3.4.1
171
171
  signing_key:
172
172
  specification_version: 4
173
173
  summary: Hydra-Head Rails Engine (requires Rails3)