riiif 2.6.0 → 2.7.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: eca824ebbf6e2ab8546cfd299e7f8bd9a58943c157496eee5fc665cec69bf303
4
- data.tar.gz: c1f03570083a8c04a59f107ebe7e4b03f4ab1ca44206575c9838baa4a06ab575
3
+ metadata.gz: ea4afe42b1178e584376a461d2a093dce410e4e7d6ffe7b77b03a65c2e90c787
4
+ data.tar.gz: 74cff5d88b9cb6e0bb5077b67e81cf104b04c400419728090dcb423051b7382d
5
5
  SHA512:
6
- metadata.gz: 3b80f4b2b9c18d6c35c49db4b912e6f194d07a2e7f511fca99fb9fb9eccb1b7df4c413613430d2bbe618d24863368d2ca8bb67e67298798404a282fee3602a6a
7
- data.tar.gz: d0687470f9bfacaa27284cc30fa2c998ebf9f86c038f0d5834315ea5ddd59b2c8ccf6d7481d93a4dec2985704fe63eae3ec631eec540beb22f2e894681d5ea44
6
+ metadata.gz: e3b19485e9b29e6383995a27540acd3356981e49ee2c62e27c069de234e87cd075b685c98818d947a9e03c073478ff55b4e2d49f8c377b9ea9bf9f563def5daf
7
+ data.tar.gz: a7f044747b0d275e60e7ef3aac3184d7ab033e88c02b1b0bbf7337e212c428d9c985ed604ab1ef95e8b0deb3101dd608ec9b08a66fad70c99531caac5a2a1879
@@ -18,20 +18,22 @@ jobs:
18
18
  runs-on: ubuntu-latest
19
19
  strategy:
20
20
  matrix:
21
- ruby: ['3.2', '3.3']
22
- rails: ['7.2.1', '7.1.4']
21
+ ruby: ["3.2", "3.3"]
22
+ rails: ["8.0.0", "7.2.2", "7.1.5"]
23
23
  steps:
24
- - uses: actions/checkout@v2
25
- - name: Set up Ruby
26
- uses: ruby/setup-ruby@v1
27
- with:
28
- ruby-version: ${{ matrix.ruby }}
29
- - name: Install dependencies
30
- run: bundle install
31
- env:
32
- RAILS_VERSION: ${{ matrix.rails }}
33
- - name: Run tests
34
- run: bundle exec rake
35
- env:
36
- RAILS_VERSION: ${{ matrix.rails }}
37
- ENGINE_CART_RAILS_OPTIONS: '--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test'
24
+ - name: Install ImageMagick
25
+ run: sudo apt install imagemagick
26
+ - uses: actions/checkout@v2
27
+ - name: Set up Ruby
28
+ uses: ruby/setup-ruby@v1
29
+ with:
30
+ ruby-version: ${{ matrix.ruby }}
31
+ - name: Install dependencies
32
+ run: bundle install
33
+ env:
34
+ RAILS_VERSION: ${{ matrix.rails }}
35
+ - name: Run tests
36
+ run: bundle exec rake
37
+ env:
38
+ RAILS_VERSION: ${{ matrix.rails }}
39
+ ENGINE_CART_RAILS_OPTIONS: "--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test"
data/lib/riiif/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Riiif
2
- VERSION = '2.6.0'.freeze
2
+ VERSION = '2.7.0'.freeze
3
3
  end
data/riiif.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'railties', '>= 4.2', '<8'
21
+ spec.add_dependency 'railties', '>= 4.2', '< 9'
22
22
  spec.add_dependency 'deprecation', '>= 1.0.0'
23
23
  spec.add_dependency 'iiif-image-api', '>= 0.1.0'
24
24
 
@@ -160,7 +160,7 @@ RSpec.describe Riiif::ImagesController do
160
160
  'height' => 4000,
161
161
  'format' => 'JPEG',
162
162
  'channels' => 'rgb',
163
- 'profile' => ['http://iiif.io/api/image/2/level1.json', 'formats' => %w(jpg png)],
163
+ 'profile' => ['http://iiif.io/api/image/2/level1.json', 'formats' => %w(webp jpg png)],
164
164
  'protocol' => 'http://iiif.io/api/image'
165
165
  expect(response.headers['Link']).to eq '<http://iiif.io/api/image/2/level1.json>;rel="profile"'
166
166
  expect(response.headers['Content-Type']).to eq 'application/ld+json; charset=utf-8'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riiif
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-10 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '4.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '8'
22
+ version: '9'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '4.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '8'
32
+ version: '9'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: deprecation
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
233
  - !ruby/object:Gem::Version
234
234
  version: '0'
235
235
  requirements: []
236
- rubygems_version: 3.5.9
236
+ rubygems_version: 3.5.23
237
237
  signing_key:
238
238
  specification_version: 4
239
239
  summary: A Rails engine that support IIIF requests