ddr-models 3.0.0.rc6 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ddr/derivatives/multires_image.rb +6 -1
- data/lib/ddr/models/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93a4738c22acccd452b340bd9bde7d2dbb4eac11
|
4
|
+
data.tar.gz: 5f3b011aa5c923fa17660db8b48bf5cb528caea2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dafeee44f551b18eb0b26c674df5cfa6e776104cf3d9c0bb05375717fc68ae488f45200214d142efaeeaa33120beab0d5f2116af1d428aedd60222161a4dfb6
|
7
|
+
data.tar.gz: e90b570e88827930395c2ab3be39d64a1e8c2cf2bddfa20f65016c3175cdbcd77b889b65bf377a4486b14b545b6ae62863a85a63aeb7e414f4078afe29a464e7
|
@@ -23,7 +23,12 @@ module Ddr::Derivatives
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def output_file_name(object)
|
26
|
-
basename = object.content.original_name.present?
|
26
|
+
basename = if object.content.original_name.present?
|
27
|
+
bname = File.basename(object.content.original_name, '.*')
|
28
|
+
Ddr::Utils.sanitize_filename(bname)
|
29
|
+
else
|
30
|
+
"multires_image"
|
31
|
+
end
|
27
32
|
"#{basename}.#{generator.class.output_extension}"
|
28
33
|
end
|
29
34
|
|
data/lib/ddr/models/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ddr-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Coble
|
@@ -756,9 +756,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
756
756
|
version: '0'
|
757
757
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
758
758
|
requirements:
|
759
|
-
- - "
|
759
|
+
- - ">="
|
760
760
|
- !ruby/object:Gem::Version
|
761
|
-
version:
|
761
|
+
version: '0'
|
762
762
|
requirements: []
|
763
763
|
rubyforge_project:
|
764
764
|
rubygems_version: 2.4.3
|