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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 73fadecfb95145523927b513ac1db30793f1c0ad
4
- data.tar.gz: 512e72c17caba536a18d3fc4b451d4b482fa8e2e
3
+ metadata.gz: ff3438f4d766dbf9a2056efc8dda66a2e9886020
4
+ data.tar.gz: 20e9db275e13ee015cc259f6e8d320c39eb85c54
5
5
  SHA512:
6
- metadata.gz: fb564fe984fcbe572702bf31f689c4573a3e6a81893b884719523293cbef4e270a6a41333c4f95b59301425ad931e633ea8c596c1498fef63131df9773b840e0
7
- data.tar.gz: 81d2a89eb2d68ae4f7753885c11a8f696b4c0612cc2dbf7e76ab978e97bd3a16f338d5eeaaea9abdd4af841ae1175bc7943040a93c9557612be7d1ac88dbb0a7
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.each do |processor|
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
@@ -1,3 +1,3 @@
1
1
  module EffectiveAssets
2
- VERSION = '1.10.0'.freeze
2
+ VERSION = '1.10.1'.freeze
3
3
  end
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.0
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-04-05 00:00:00.000000000 Z
11
+ date: 2018-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails