hydra-derivatives 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/README.md +2 -0
- data/VERSION +1 -1
- data/lib/hydra/derivatives/io_decorator.rb +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 9c50d782fb24f22b346b37488997f08b6412ebb7
|
|
4
|
+
data.tar.gz: 04b2eb295f5081b08143302733d115b15b52a76b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c334e3f9356efbe09922e815a84da44daf1e229018021819c1be8983cee3bfb815350477ba49b603c03fcfd1f177048afeb709c05a8e77fd35947bcb43074ba
|
|
7
|
+
data.tar.gz: d4c454ce7bc48be6b6becd36b38c8a2edf5ba73c39c5af7ed266c8296d8f14cfbcec2820574c562a7a77c74a8e064c07c7919ab640ef2866132eb42d5d74835e
|
data/README.md
CHANGED
|
@@ -80,6 +80,8 @@ Hydra::Derivatives::Processors::ActiveEncode.timeout = 5.minutes
|
|
|
80
80
|
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
+
You can add this to a `config/initializers/` file ([see Scholarsphere as an example](https://github.com/psu-stewardship/scholarsphere/blob/e16586c4bf6f7aed652924acc47dbe4ec774ff00/config/initializers/hydra_derivatives_config.rb#L5)). Another possibility, though unverified, is that you may try adding it to your `config/application.rb` or even vary by environments (e.g. `config/environments/test.rb`).
|
|
84
|
+
|
|
83
85
|
### Video Processing configuration
|
|
84
86
|
|
|
85
87
|
Flags can be set for using different video codes. Default codecs are shown below
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.4.
|
|
1
|
+
3.4.1
|
|
@@ -15,6 +15,8 @@ module Hydra
|
|
|
15
15
|
attr_accessor :mime_type, :original_filename
|
|
16
16
|
alias original_name original_filename
|
|
17
17
|
deprecation_deprecate original_name: 'original_name has been deprecated. Use original_filename instead. This will be removed in hydra-derivatives 4.0'
|
|
18
|
+
alias original_name= original_filename=
|
|
19
|
+
deprecation_deprecate :"original_name=" => 'original_name= has been deprecated. Use original_filename= instead. This will be removed in hydra-derivatives 4.0'
|
|
18
20
|
|
|
19
21
|
def initialize(file, mime_type = nil, original_filename = nil)
|
|
20
22
|
super(file)
|
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.
|
|
4
|
+
version: 3.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Coyne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-01-
|
|
11
|
+
date: 2018-01-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -337,7 +337,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
337
337
|
version: '0'
|
|
338
338
|
requirements: []
|
|
339
339
|
rubyforge_project:
|
|
340
|
-
rubygems_version: 2.
|
|
340
|
+
rubygems_version: 2.5.2
|
|
341
341
|
signing_key:
|
|
342
342
|
specification_version: 4
|
|
343
343
|
summary: Derivative generation plugin for hydra
|