effective_assets 1.10.0 → 1.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/uploaders/effective_assets_uploader.rb +3 -1
- data/lib/effective_assets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff3438f4d766dbf9a2056efc8dda66a2e9886020
|
4
|
+
data.tar.gz: 20e9db275e13ee015cc259f6e8d320c39eb85c54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85b474c79b5611b8a13d11cb64437b46567b0e6fb05429c4b08625d097b302a7f9861bbcfc97b9144510ad279f8e39883abfa8caf18e5573f009c94376c23027
|
7
|
+
data.tar.gz: 62cbcd5938962816f1cdd6bcbba9a437a969babebef7183203e24e42b5a145d371518057b7d284a445ce1a30ef533350bfa0d5feee1adea7360f888c2c74435d
|
@@ -73,7 +73,9 @@ class EffectiveAssetsUploader < CarrierWave::Uploader::Base
|
|
73
73
|
retval = {}
|
74
74
|
|
75
75
|
self.class.versions.each do |k, v|
|
76
|
-
v[:uploader].processors
|
76
|
+
processors = (v.respond_to?(:processors) ? v.processors : v[:uploader].processors)
|
77
|
+
|
78
|
+
processors.each do |processor|
|
77
79
|
dimensions = processor[1]
|
78
80
|
|
79
81
|
if processor[0].to_s.include?('resize') and dimensions.kind_of?(Array) and dimensions.length == 2
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|