hydra-derivatives 3.3.2 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.rubocop.yml +53 -34
- data/.rubocop_todo.yml +42 -9
- data/.travis.yml +12 -0
- data/Gemfile +3 -3
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/config/fcrepo_wrapper_test.yml +6 -0
- data/hydra-derivatives.gemspec +7 -10
- data/lib/hydra/derivatives.rb +2 -2
- data/lib/hydra/derivatives/audio_encoder.rb +1 -1
- data/lib/hydra/derivatives/io_decorator.rb +11 -6
- data/lib/hydra/derivatives/logger.rb +5 -1
- data/lib/hydra/derivatives/processors/active_encode.rb +1 -1
- data/lib/hydra/derivatives/processors/full_text.rb +5 -0
- data/lib/hydra/derivatives/processors/jpeg2k_image.rb +5 -8
- data/lib/hydra/derivatives/runners/full_text_extract.rb +1 -1
- data/lib/hydra/derivatives/services/capability_service.rb +1 -1
- data/lib/hydra/derivatives/services/persist_basic_contained_output_file_service.rb +5 -1
- data/lib/hydra/derivatives/services/persist_output_file_service.rb +4 -2
- data/spec/processors/active_encode_spec.rb +8 -8
- data/spec/processors/document_spec.rb +2 -2
- data/spec/processors/full_text_spec.rb +32 -12
- data/spec/processors/image_spec.rb +12 -10
- data/spec/processors/processor_spec.rb +4 -4
- data/spec/processors/video_spec.rb +5 -3
- data/spec/runners/active_encode_derivatives_spec.rb +2 -2
- data/spec/services/audio_derivatives_spec.rb +1 -1
- data/spec/services/persist_basic_contained_output_file_service_spec.rb +4 -2
- data/spec/services/remote_source_file_spec.rb +3 -3
- data/spec/services/tempfile_service_spec.rb +3 -2
- data/spec/units/config_spec.rb +2 -2
- data/spec/units/derivatives_spec.rb +6 -4
- data/spec/units/io_decorator_spec.rb +14 -2
- data/spec/units/logger_spec.rb +1 -1
- data/spec/units/transcoding_spec.rb +23 -15
- metadata +53 -52
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.
|
4
|
+
version: 3.4.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:
|
11
|
+
date: 2018-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -25,61 +25,61 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: fcrepo_wrapper
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0.2'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '10.1'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '10.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3.1'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '3.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: solr_wrapper
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0.
|
75
|
+
version: '0.4'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0.
|
82
|
+
version: '0.4'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: active-fedora
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,7 +89,7 @@ dependencies:
|
|
89
89
|
version: 11.3.1
|
90
90
|
- - "<"
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: '
|
92
|
+
version: '13'
|
93
93
|
type: :runtime
|
94
94
|
prerelease: false
|
95
95
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -99,27 +99,21 @@ dependencies:
|
|
99
99
|
version: 11.3.1
|
100
100
|
- - "<"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
102
|
+
version: '13'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
104
|
+
name: active_encode
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- - "
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '3.2'
|
110
|
-
- - "<"
|
107
|
+
- - "~>"
|
111
108
|
- !ruby/object:Gem::Version
|
112
|
-
version: '
|
109
|
+
version: '0.1'
|
113
110
|
type: :runtime
|
114
111
|
prerelease: false
|
115
112
|
version_requirements: !ruby/object:Gem::Requirement
|
116
113
|
requirements:
|
117
|
-
- - "
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: '3.2'
|
120
|
-
- - "<"
|
114
|
+
- - "~>"
|
121
115
|
- !ruby/object:Gem::Version
|
122
|
-
version: '
|
116
|
+
version: '0.1'
|
123
117
|
- !ruby/object:Gem::Dependency
|
124
118
|
name: activesupport
|
125
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -141,67 +135,73 @@ dependencies:
|
|
141
135
|
- !ruby/object:Gem::Version
|
142
136
|
version: '6'
|
143
137
|
- !ruby/object:Gem::Dependency
|
144
|
-
name:
|
138
|
+
name: addressable
|
145
139
|
requirement: !ruby/object:Gem::Requirement
|
146
140
|
requirements:
|
147
|
-
- - "
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: '2.0'
|
150
|
-
- - "<"
|
141
|
+
- - "~>"
|
151
142
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
143
|
+
version: '2.5'
|
153
144
|
type: :runtime
|
154
145
|
prerelease: false
|
155
146
|
version_requirements: !ruby/object:Gem::Requirement
|
156
147
|
requirements:
|
157
|
-
- - "
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '2.0'
|
160
|
-
- - "<"
|
148
|
+
- - "~>"
|
161
149
|
- !ruby/object:Gem::Version
|
162
|
-
version: '
|
150
|
+
version: '2.5'
|
163
151
|
- !ruby/object:Gem::Dependency
|
164
|
-
name:
|
152
|
+
name: deprecation
|
165
153
|
requirement: !ruby/object:Gem::Requirement
|
166
154
|
requirements:
|
167
|
-
- - "
|
155
|
+
- - ">="
|
168
156
|
- !ruby/object:Gem::Version
|
169
|
-
version: '0
|
157
|
+
version: '0'
|
170
158
|
type: :runtime
|
171
159
|
prerelease: false
|
172
160
|
version_requirements: !ruby/object:Gem::Requirement
|
173
161
|
requirements:
|
174
|
-
- - "
|
162
|
+
- - ">="
|
175
163
|
- !ruby/object:Gem::Version
|
176
|
-
version: '0
|
164
|
+
version: '0'
|
177
165
|
- !ruby/object:Gem::Dependency
|
178
|
-
name:
|
166
|
+
name: mime-types
|
179
167
|
requirement: !ruby/object:Gem::Requirement
|
180
168
|
requirements:
|
181
|
-
- - "
|
169
|
+
- - ">"
|
182
170
|
- !ruby/object:Gem::Version
|
183
|
-
version: '2.
|
171
|
+
version: '2.0'
|
172
|
+
- - "<"
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '4.0'
|
184
175
|
type: :runtime
|
185
176
|
prerelease: false
|
186
177
|
version_requirements: !ruby/object:Gem::Requirement
|
187
178
|
requirements:
|
188
|
-
- - "
|
179
|
+
- - ">"
|
189
180
|
- !ruby/object:Gem::Version
|
190
|
-
version: '2.
|
181
|
+
version: '2.0'
|
182
|
+
- - "<"
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '4.0'
|
191
185
|
- !ruby/object:Gem::Dependency
|
192
|
-
name:
|
186
|
+
name: mini_magick
|
193
187
|
requirement: !ruby/object:Gem::Requirement
|
194
188
|
requirements:
|
195
189
|
- - ">="
|
196
190
|
- !ruby/object:Gem::Version
|
197
|
-
version: '
|
191
|
+
version: '3.2'
|
192
|
+
- - "<"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '5'
|
198
195
|
type: :runtime
|
199
196
|
prerelease: false
|
200
197
|
version_requirements: !ruby/object:Gem::Requirement
|
201
198
|
requirements:
|
202
199
|
- - ">="
|
203
200
|
- !ruby/object:Gem::Version
|
204
|
-
version: '
|
201
|
+
version: '3.2'
|
202
|
+
- - "<"
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: '5'
|
205
205
|
description: Derivative generation plugin for hydra
|
206
206
|
email:
|
207
207
|
- justin@curationexperts.com
|
@@ -222,6 +222,7 @@ files:
|
|
222
222
|
- Rakefile
|
223
223
|
- TODO
|
224
224
|
- VERSION
|
225
|
+
- config/fcrepo_wrapper_test.yml
|
225
226
|
- config/jetty.yml
|
226
227
|
- doc/amazon_elastic_transcoder.md
|
227
228
|
- hydra-derivatives.gemspec
|
@@ -336,7 +337,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
336
337
|
version: '0'
|
337
338
|
requirements: []
|
338
339
|
rubyforge_project:
|
339
|
-
rubygems_version: 2.
|
340
|
+
rubygems_version: 2.7.1
|
340
341
|
signing_key:
|
341
342
|
specification_version: 4
|
342
343
|
summary: Derivative generation plugin for hydra
|