hydra-derivatives 3.5.0 → 3.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +14 -7
  3. data/Gemfile +3 -2
  4. data/README.md +6 -1
  5. data/Rakefile +1 -1
  6. data/VERSION +1 -1
  7. data/hydra-derivatives.gemspec +9 -6
  8. data/lib/hydra/derivatives/config.rb +1 -1
  9. data/lib/hydra/derivatives/processors/document.rb +4 -1
  10. data/lib/hydra/derivatives/processors/full_text.rb +5 -3
  11. data/solr/config/xslt/example.xsl +1 -1
  12. data/solr/config/xslt/luke.xsl +1 -1
  13. metadata +132 -92
  14. data/spec/fixtures/FlashPix.ppt +0 -0
  15. data/spec/fixtures/adobe1998.tif +0 -0
  16. data/spec/fixtures/countdown.avi +0 -0
  17. data/spec/fixtures/jpeg2k_config.yml +0 -20
  18. data/spec/fixtures/piano_note.wav +0 -0
  19. data/spec/fixtures/sample.rtf +0 -68
  20. data/spec/fixtures/test.dng +0 -0
  21. data/spec/fixtures/test.doc +0 -0
  22. data/spec/fixtures/test.docx +0 -0
  23. data/spec/fixtures/test.pdf +0 -0
  24. data/spec/fixtures/test.pptx +0 -0
  25. data/spec/fixtures/test.tif +0 -0
  26. data/spec/fixtures/test.xls +0 -0
  27. data/spec/fixtures/test.xlsx +0 -0
  28. data/spec/fixtures/world.png +0 -0
  29. data/spec/processors/active_encode_spec.rb +0 -132
  30. data/spec/processors/document_spec.rb +0 -41
  31. data/spec/processors/full_text_spec.rb +0 -127
  32. data/spec/processors/image_spec.rb +0 -124
  33. data/spec/processors/jpeg2k_spec.rb +0 -82
  34. data/spec/processors/processor_spec.rb +0 -53
  35. data/spec/processors/shell_based_processor_spec.rb +0 -28
  36. data/spec/processors/video_spec.rb +0 -59
  37. data/spec/runners/active_encode_derivatives_spec.rb +0 -38
  38. data/spec/runners/runner_spec.rb +0 -9
  39. data/spec/services/audio_derivatives_spec.rb +0 -78
  40. data/spec/services/persist_basic_contained_output_file_service_spec.rb +0 -42
  41. data/spec/services/persist_external_file_output_file_service_spec.rb +0 -26
  42. data/spec/services/persist_output_file_service_spec.rb +0 -47
  43. data/spec/services/remote_source_file_spec.rb +0 -33
  44. data/spec/services/retrieve_source_file_service_spec.rb +0 -60
  45. data/spec/services/tempfile_service_spec.rb +0 -54
  46. data/spec/spec_helper.rb +0 -40
  47. data/spec/units/audio_encoder_spec.rb +0 -34
  48. data/spec/units/config_spec.rb +0 -50
  49. data/spec/units/derivatives_spec.rb +0 -70
  50. data/spec/units/io_decorator_spec.rb +0 -45
  51. data/spec/units/logger_spec.rb +0 -27
  52. data/spec/units/transcoding_spec.rb +0 -354
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60d19f9f569bcbc802b64a375b73be6e019d62f9b2c6a9a0e6b35dbd2fcfe58a
4
- data.tar.gz: 88f0cabb0114f725c9f8473cd793b6eb2fc274e575e6ae59bceeb50498551025
3
+ metadata.gz: 124f992a28f2883d1c8d762ae0232957645923e145c48ec75bfe33280f0683ab
4
+ data.tar.gz: 02336f270677e9e55e768c8c03bf71afc62fb759c5f48ee7eaddc1033345e07f
5
5
  SHA512:
6
- metadata.gz: 44611dab7f3cd84daf842d95953ed4ad8e2a3899e615c155848458620f1a066bf667f034c13e91c600614f6aadffc352d9dcd595bdfff7b96eefa76af7ccb33e
7
- data.tar.gz: f47fef855a22d55db4c4088dbdddf1fb999b8427d0aa255f7510cf2581509ad0ce3239d08059b77bd00a91620054dcba6a50cc10c3e45114fe5fc37cc014856f
6
+ metadata.gz: 675ccaa54a34cdf812c295d9e937a29041053526f69a8eb7d68c6b162939cbc0a1e973c4b8176274af9fbbc1e45fd804121d7fffa860a0958ede78d47d454057
7
+ data.tar.gz: 49815c8d5efe8fb0d5eb8aa83fbec991e4bc86454087b773c2a4556a7028680a4d6a0bafd568a4af1a81bb9dded89bc703d99161eafe97940706e94321c3ca47
@@ -10,7 +10,7 @@ jobs:
10
10
  type: string
11
11
  bundler_version:
12
12
  type: string
13
- default: 2.0.1
13
+ default: 2.1.4
14
14
  executor:
15
15
  name: 'samvera/ruby_fcrepo_solr'
16
16
  ruby_version: << parameters.ruby_version >>
@@ -32,6 +32,9 @@ jobs:
32
32
  fi
33
33
  sudo cp kakadu/*.so /usr/lib
34
34
  sudo cp kakadu/* /usr/bin
35
+ - run:
36
+ name: Modify ImageMagick security policy
37
+ command: sudo sed -i 's/policy domain="coder" rights="none" pattern="PDF"/policy domain="coder" rights="read|write" pattern="PDF"/' /etc/ImageMagick-6/policy.xml
35
38
 
36
39
  - samvera/bundle_for_gem:
37
40
  ruby_version: << parameters.ruby_version >>
@@ -49,14 +52,18 @@ workflows:
49
52
  ci:
50
53
  jobs:
51
54
  - bundle_lint_test:
52
- name: ruby2-4-6
53
- ruby_version: 2.4.6
55
+ name: ruby2-4
56
+ ruby_version: 2.4.10
57
+ project: hydra-derivatives
58
+ - bundle_lint_test:
59
+ name: ruby2-5
60
+ ruby_version: 2.5.8
54
61
  project: hydra-derivatives
55
62
  - bundle_lint_test:
56
- name: ruby2-5-5
57
- ruby_version: 2.5.5
63
+ name: ruby2-6
64
+ ruby_version: 2.6.6
58
65
  project: hydra-derivatives
59
66
  - bundle_lint_test:
60
- name: ruby2-6-3
61
- ruby_version: 2.6.3
67
+ name: ruby2-7
68
+ ruby_version: 2.7.1
62
69
  project: hydra-derivatives
data/Gemfile CHANGED
@@ -3,11 +3,12 @@ source 'https://rubygems.org'
3
3
  # Please see hydra-derivatives.gemspec for dependency information.
4
4
  gemspec
5
5
 
6
+ gem 'sprockets', '~> 3.7'
7
+
6
8
  group :development, :test do
7
- gem 'byebug' unless ENV['TRAVIS']
8
9
  gem 'coveralls'
10
+ gem 'rspec_junit_formatter'
9
11
  gem 'rubocop', '~> 0.52.0', require: false
10
12
  gem 'rubocop-rspec', require: false
11
13
  gem 'simplecov'
12
- gem 'rspec_junit_formatter'
13
14
  end
data/README.md CHANGED
@@ -195,6 +195,11 @@ MAGICK_TEMPDIR
195
195
  ```
196
196
  YMMV as to where setting them will take effect in your app; the application's web server's vhost directives are a location known to work with an Apache web server set up.
197
197
 
198
+ ImageMagick by default disables reading and writing of PDFs due to a [vulnerability in ghostscript](https://www.kb.cert.org/vuls/id/332928/). Make sure to install a fixed version of ghostscript and modify ImageMagick's security policy to allow reading and writing PDFs:
199
+ ```
200
+ sudo sed -i 's/policy domain="coder" rights="none" pattern="PDF"/policy domain="coder" rights="read|write" pattern="PDF"/' /etc/ImageMagick-6/policy.xml
201
+ ```
202
+
198
203
  ## JPEG2k Directives
199
204
 
200
205
  Unlike the other processors, the `Jpeg2kImage` processor does not generally accept arguments that directly (or nearly so) translate to the arguments you would give to the corresponding command line utility.
@@ -205,7 +210,7 @@ Instead, each directive may contain these arguments:
205
210
  * `:to_srgb` (Boolean) : If `true` and the image is a color image it will map the source image color profile to sRGB. Default: `true`
206
211
  * `:resize` (String) : Geometry; the same syntax as the `Hydra::Derivatives::Image` processor
207
212
  * `:recipe` :
208
- - If a Symbol the recipe will be read from the `Hydra::Derivatives.kdu_compress_recipes` hash. You can override this, or a couple of samples are supplied. The symbol in the config file should be the name in the model + `_{quality}`, e.g. `recipe: :default` will look `:default_color` or `:default_grey` in the hash.
213
+ - If a Symbol the recipe will be read from the `Hydra::Derivatives.kdu_compress_recipes` hash. You can override this, or a couple of samples are supplied. The symbol in the config file should be the name in the model + `_{quality}`, e.g. `recipe: :default` will look `:default_color` or `:default_gray` in the hash.
209
214
  - If a String the recipe in the string will be used. You may include anything the command line utility will accept except `-i` or `-o`. See `$ kdu_compress -usage` in your shell.
210
215
  - If no `:recipe` is provided the processor will examine the image and make a best guess, but you can set a few basic options (the remainder of this list). Note that these are ignored if you provided a recipe via either of the first two methods described.
211
216
  * `:levels` (Integer) : The number of decomposition levels. The default is the number of times the long dimension can be divided by two, down to 96, e.g. a 7200 pixel image would have 6 levels (3600, 1800, 900, 450, 225, 112)
data/Rakefile CHANGED
@@ -20,7 +20,7 @@ namespace :derivatives do
20
20
  end
21
21
 
22
22
  RSpec::Core::RakeTask.new(:rspec) do |task|
23
- task.rspec_opts = "--tag ~requires_kdu_compress" if ENV['TRAVIS']
23
+ task.rspec_opts = "--tag ~requires_kdu_compress" if ENV['CI']
24
24
  end
25
25
 
26
26
  desc 'Start up Solr & Fedora and run tests'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.5.0
1
+ 3.6.0
@@ -10,21 +10,24 @@ Gem::Specification.new do |spec|
10
10
  spec.license = "APACHE2"
11
11
  spec.homepage = "https://github.com/projecthydra/hydra-derivatives"
12
12
 
13
- spec.files = `git ls-files`.split($/)
13
+ spec.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR).select { |f| File.dirname(f) !~ %r{\A"?spec|test|features\/?} }
14
14
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
15
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
15
  spec.require_paths = ["lib"]
17
16
 
18
- spec.add_development_dependency 'bundler', '~> 2.0'
17
+ spec.add_development_dependency 'bundler', '~> 2.1'
19
18
  spec.add_development_dependency 'fcrepo_wrapper', '~> 0.2'
19
+ spec.add_development_dependency 'pry-byebug'
20
+ spec.add_development_dependency 'rails', '> 5.1', '< 7.0'
20
21
  spec.add_development_dependency 'rake', '~> 10.1'
21
22
  spec.add_development_dependency 'rspec', '~> 3.1'
22
23
  spec.add_development_dependency "solr_wrapper", "~> 2.0"
23
24
 
24
- spec.add_dependency 'active-fedora', '>= 11.3.1', '< 14'
25
+ spec.add_dependency 'active-fedora', '>= 11.5.6',
26
+ '!= 12.0.0', '!= 12.0.1', '!= 12.0.2', '!= 12.0.3', '!= 12.1.0', '!= 12.1.1', '!= 12.2.0', '!= 12.2.1',
27
+ '!= 13.0.0', '!= 13.1.0', '!= 13.1.1', '!= 13.1.2', '!= 13.1.3', '!= 13.2.0', '!= 13.2.1'
25
28
  spec.add_dependency 'active_encode', '~>0.1'
26
- spec.add_dependency 'activesupport', '>= 4.0', '< 6'
27
- spec.add_dependency 'addressable', '~>2.5'
29
+ spec.add_dependency 'activesupport', '>= 4.0', '< 7'
30
+ spec.add_dependency 'addressable', '~> 2.5'
28
31
  spec.add_dependency 'deprecation'
29
32
  spec.add_dependency 'mime-types', '> 2.0', '< 4.0'
30
33
  spec.add_dependency 'mini_magick', '>= 3.2', '< 5'
@@ -57,7 +57,7 @@ module Hydra
57
57
  ORGgen_plt=yes
58
58
  ORGtparts=R
59
59
  "Stiles={1024,1024}" ).gsub(/\s+/, " ").strip,
60
- default_grey: %(-rate 2.4,1.48331273,.91673033,.56657224,.35016049,.21641118,.13374944,.08266171
60
+ default_gray: %(-rate 2.4,1.48331273,.91673033,.56657224,.35016049,.21641118,.13374944,.08266171
61
61
  -jp2_space sLUM
62
62
  -double_buffering 10
63
63
  -num_threads 4
@@ -1,3 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ # An abstract class for asyncronous jobs that convert office documents using soffice
1
4
  module Hydra::Derivatives::Processors
2
5
  class Document < Processor
3
6
  include ShellBasedProcessor
@@ -23,7 +26,7 @@ module Hydra::Derivatives::Processors
23
26
  if directives.fetch(:format) == "jpg"
24
27
  Hydra::Derivatives::Processors::Image.new(converted_file, directives).process
25
28
  else
26
- output_file_service.call(File.read(converted_file), directives)
29
+ output_file_service.call(File.open(converted_file, 'rb'), directives)
27
30
  end
28
31
  end
29
32
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Hydra::Derivatives::Processors
2
4
  # Extract the full text from the content using Solr's extract handler
3
5
  class FullText < Processor
@@ -24,6 +26,7 @@ module Hydra::Derivatives::Processors
24
26
  def fetch
25
27
  resp = http_request
26
28
  raise "Solr Extract service was unsuccessful. '#{uri}' returned code #{resp.code} for #{source_path}\n#{resp.body}" unless resp.code == '200'
29
+
27
30
  file_content.rewind if file_content.respond_to?(:rewind)
28
31
  resp.body.force_encoding(resp.type_params['charset']) if resp.type_params['charset']
29
32
  resp.body
@@ -32,9 +35,8 @@ module Hydra::Derivatives::Processors
32
35
  # Send the request to the extract service
33
36
  # @return [Net::HttpResponse] the result of calling the extract service
34
37
  def http_request
35
- Net::HTTP.start(uri.host, uri.port) do |http|
38
+ Net::HTTP.start(uri.host, uri.port, use_ssl: check_for_ssl) do |http|
36
39
  req = Net::HTTP::Post.new(uri.request_uri, request_headers)
37
- req.use_ssl = true if check_for_ssl
38
40
  req.basic_auth uri.user, uri.password unless uri.password.nil?
39
41
  req.body = file_content
40
42
  http.request req
@@ -42,7 +44,7 @@ module Hydra::Derivatives::Processors
42
44
  end
43
45
 
44
46
  def file_content
45
- @content ||= File.open(source_path).read
47
+ @file_content ||= File.open(source_path).read
46
48
  end
47
49
 
48
50
  # @return [Hash] the request headers to send to the Solr extract service
@@ -124,7 +124,7 @@
124
124
  td { vertical-align: top; }
125
125
  ul { margin: 0px; margin-left: 1em; padding: 0px; }
126
126
  .note { font-size:80%; }
127
- .doc { margin-top: 1em; border-top: solid grey 1px; }
127
+ .doc { margin-top: 1em; border-top: solid gray 1px; }
128
128
  .exp { display: none; font-family: monospace; white-space: pre; }
129
129
  </style>
130
130
  </xsl:template>
@@ -326,7 +326,7 @@
326
326
  <style type="text/css">
327
327
  <![CDATA[
328
328
  td.name {font-style: italic; font-size:80%; }
329
- .doc { margin: 0.5em; border: solid grey 1px; }
329
+ .doc { margin: 0.5em; border: solid gray 1px; }
330
330
  .exp { display: none; font-family: monospace; white-space: pre; }
331
331
  div.histogram { background: none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;}
332
332
  table.histogram { width: auto; vertical-align: bottom; }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hydra-derivatives
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.6.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: 2019-08-21 00:00:00.000000000 Z
11
+ date: 2020-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: '2.1'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.0'
26
+ version: '2.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: fcrepo_wrapper
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +38,40 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: pry-byebug
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">"
60
+ - !ruby/object:Gem::Version
61
+ version: '5.1'
62
+ - - "<"
63
+ - !ruby/object:Gem::Version
64
+ version: '7.0'
65
+ type: :development
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">"
70
+ - !ruby/object:Gem::Version
71
+ version: '5.1'
72
+ - - "<"
73
+ - !ruby/object:Gem::Version
74
+ version: '7.0'
41
75
  - !ruby/object:Gem::Dependency
42
76
  name: rake
43
77
  requirement: !ruby/object:Gem::Requirement
@@ -86,20 +120,104 @@ dependencies:
86
120
  requirements:
87
121
  - - ">="
88
122
  - !ruby/object:Gem::Version
89
- version: 11.3.1
90
- - - "<"
123
+ version: 11.5.6
124
+ - - "!="
125
+ - !ruby/object:Gem::Version
126
+ version: 12.0.0
127
+ - - "!="
128
+ - !ruby/object:Gem::Version
129
+ version: 12.0.1
130
+ - - "!="
131
+ - !ruby/object:Gem::Version
132
+ version: 12.0.2
133
+ - - "!="
134
+ - !ruby/object:Gem::Version
135
+ version: 12.0.3
136
+ - - "!="
137
+ - !ruby/object:Gem::Version
138
+ version: 12.1.0
139
+ - - "!="
140
+ - !ruby/object:Gem::Version
141
+ version: 12.1.1
142
+ - - "!="
143
+ - !ruby/object:Gem::Version
144
+ version: 12.2.0
145
+ - - "!="
146
+ - !ruby/object:Gem::Version
147
+ version: 12.2.1
148
+ - - "!="
149
+ - !ruby/object:Gem::Version
150
+ version: 13.0.0
151
+ - - "!="
152
+ - !ruby/object:Gem::Version
153
+ version: 13.1.0
154
+ - - "!="
155
+ - !ruby/object:Gem::Version
156
+ version: 13.1.1
157
+ - - "!="
158
+ - !ruby/object:Gem::Version
159
+ version: 13.1.2
160
+ - - "!="
161
+ - !ruby/object:Gem::Version
162
+ version: 13.1.3
163
+ - - "!="
164
+ - !ruby/object:Gem::Version
165
+ version: 13.2.0
166
+ - - "!="
91
167
  - !ruby/object:Gem::Version
92
- version: '14'
168
+ version: 13.2.1
93
169
  type: :runtime
94
170
  prerelease: false
95
171
  version_requirements: !ruby/object:Gem::Requirement
96
172
  requirements:
97
173
  - - ">="
98
174
  - !ruby/object:Gem::Version
99
- version: 11.3.1
100
- - - "<"
175
+ version: 11.5.6
176
+ - - "!="
177
+ - !ruby/object:Gem::Version
178
+ version: 12.0.0
179
+ - - "!="
180
+ - !ruby/object:Gem::Version
181
+ version: 12.0.1
182
+ - - "!="
183
+ - !ruby/object:Gem::Version
184
+ version: 12.0.2
185
+ - - "!="
186
+ - !ruby/object:Gem::Version
187
+ version: 12.0.3
188
+ - - "!="
189
+ - !ruby/object:Gem::Version
190
+ version: 12.1.0
191
+ - - "!="
192
+ - !ruby/object:Gem::Version
193
+ version: 12.1.1
194
+ - - "!="
195
+ - !ruby/object:Gem::Version
196
+ version: 12.2.0
197
+ - - "!="
198
+ - !ruby/object:Gem::Version
199
+ version: 12.2.1
200
+ - - "!="
201
+ - !ruby/object:Gem::Version
202
+ version: 13.0.0
203
+ - - "!="
204
+ - !ruby/object:Gem::Version
205
+ version: 13.1.0
206
+ - - "!="
207
+ - !ruby/object:Gem::Version
208
+ version: 13.1.1
209
+ - - "!="
210
+ - !ruby/object:Gem::Version
211
+ version: 13.1.2
212
+ - - "!="
213
+ - !ruby/object:Gem::Version
214
+ version: 13.1.3
215
+ - - "!="
216
+ - !ruby/object:Gem::Version
217
+ version: 13.2.0
218
+ - - "!="
101
219
  - !ruby/object:Gem::Version
102
- version: '14'
220
+ version: 13.2.1
103
221
  - !ruby/object:Gem::Dependency
104
222
  name: active_encode
105
223
  requirement: !ruby/object:Gem::Requirement
@@ -123,7 +241,7 @@ dependencies:
123
241
  version: '4.0'
124
242
  - - "<"
125
243
  - !ruby/object:Gem::Version
126
- version: '6'
244
+ version: '7'
127
245
  type: :runtime
128
246
  prerelease: false
129
247
  version_requirements: !ruby/object:Gem::Requirement
@@ -133,7 +251,7 @@ dependencies:
133
251
  version: '4.0'
134
252
  - - "<"
135
253
  - !ruby/object:Gem::Version
136
- version: '6'
254
+ version: '7'
137
255
  - !ruby/object:Gem::Dependency
138
256
  name: addressable
139
257
  requirement: !ruby/object:Gem::Requirement
@@ -285,45 +403,6 @@ files:
285
403
  - solr/config/xslt/example_atom.xsl
286
404
  - solr/config/xslt/example_rss.xsl
287
405
  - solr/config/xslt/luke.xsl
288
- - spec/fixtures/FlashPix.ppt
289
- - spec/fixtures/adobe1998.tif
290
- - spec/fixtures/countdown.avi
291
- - spec/fixtures/jpeg2k_config.yml
292
- - spec/fixtures/piano_note.wav
293
- - spec/fixtures/sample.rtf
294
- - spec/fixtures/test.dng
295
- - spec/fixtures/test.doc
296
- - spec/fixtures/test.docx
297
- - spec/fixtures/test.pdf
298
- - spec/fixtures/test.pptx
299
- - spec/fixtures/test.tif
300
- - spec/fixtures/test.xls
301
- - spec/fixtures/test.xlsx
302
- - spec/fixtures/world.png
303
- - spec/processors/active_encode_spec.rb
304
- - spec/processors/document_spec.rb
305
- - spec/processors/full_text_spec.rb
306
- - spec/processors/image_spec.rb
307
- - spec/processors/jpeg2k_spec.rb
308
- - spec/processors/processor_spec.rb
309
- - spec/processors/shell_based_processor_spec.rb
310
- - spec/processors/video_spec.rb
311
- - spec/runners/active_encode_derivatives_spec.rb
312
- - spec/runners/runner_spec.rb
313
- - spec/services/audio_derivatives_spec.rb
314
- - spec/services/persist_basic_contained_output_file_service_spec.rb
315
- - spec/services/persist_external_file_output_file_service_spec.rb
316
- - spec/services/persist_output_file_service_spec.rb
317
- - spec/services/remote_source_file_spec.rb
318
- - spec/services/retrieve_source_file_service_spec.rb
319
- - spec/services/tempfile_service_spec.rb
320
- - spec/spec_helper.rb
321
- - spec/units/audio_encoder_spec.rb
322
- - spec/units/config_spec.rb
323
- - spec/units/derivatives_spec.rb
324
- - spec/units/io_decorator_spec.rb
325
- - spec/units/logger_spec.rb
326
- - spec/units/transcoding_spec.rb
327
406
  homepage: https://github.com/projecthydra/hydra-derivatives
328
407
  licenses:
329
408
  - APACHE2
@@ -343,47 +422,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
343
422
  - !ruby/object:Gem::Version
344
423
  version: '0'
345
424
  requirements: []
346
- rubygems_version: 3.0.3
425
+ rubygems_version: 3.1.2
347
426
  signing_key:
348
427
  specification_version: 4
349
428
  summary: Derivative generation plugin for hydra
350
- test_files:
351
- - spec/fixtures/FlashPix.ppt
352
- - spec/fixtures/adobe1998.tif
353
- - spec/fixtures/countdown.avi
354
- - spec/fixtures/jpeg2k_config.yml
355
- - spec/fixtures/piano_note.wav
356
- - spec/fixtures/sample.rtf
357
- - spec/fixtures/test.dng
358
- - spec/fixtures/test.doc
359
- - spec/fixtures/test.docx
360
- - spec/fixtures/test.pdf
361
- - spec/fixtures/test.pptx
362
- - spec/fixtures/test.tif
363
- - spec/fixtures/test.xls
364
- - spec/fixtures/test.xlsx
365
- - spec/fixtures/world.png
366
- - spec/processors/active_encode_spec.rb
367
- - spec/processors/document_spec.rb
368
- - spec/processors/full_text_spec.rb
369
- - spec/processors/image_spec.rb
370
- - spec/processors/jpeg2k_spec.rb
371
- - spec/processors/processor_spec.rb
372
- - spec/processors/shell_based_processor_spec.rb
373
- - spec/processors/video_spec.rb
374
- - spec/runners/active_encode_derivatives_spec.rb
375
- - spec/runners/runner_spec.rb
376
- - spec/services/audio_derivatives_spec.rb
377
- - spec/services/persist_basic_contained_output_file_service_spec.rb
378
- - spec/services/persist_external_file_output_file_service_spec.rb
379
- - spec/services/persist_output_file_service_spec.rb
380
- - spec/services/remote_source_file_spec.rb
381
- - spec/services/retrieve_source_file_service_spec.rb
382
- - spec/services/tempfile_service_spec.rb
383
- - spec/spec_helper.rb
384
- - spec/units/audio_encoder_spec.rb
385
- - spec/units/config_spec.rb
386
- - spec/units/derivatives_spec.rb
387
- - spec/units/io_decorator_spec.rb
388
- - spec/units/logger_spec.rb
389
- - spec/units/transcoding_spec.rb
429
+ test_files: []