carrierwave 2.2.3 → 2.2.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of carrierwave might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/carrierwave/uploader/processing.rb +11 -1
- data/lib/carrierwave/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fac457ac4b323f30601db82ce6b0f0206ec9de2871025b0d02b27ccdaa6fe23
|
4
|
+
data.tar.gz: d72a686b97fecc4a74ede9aa3f9a9435e1d9bdbca631aa9724cc866305e1368d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df55e480a8c91ff98fa081c0caf97ce8b63b19c08607a41fac6eab1e0ca88ed187ade968be5ced872d3cf58675f58caa00620d00f4954d09b0bfc9e6589c09a4
|
7
|
+
data.tar.gz: 4699637372accf5fbf8e7d07257d4a2396105dc4c64d3494e5ff02290c7e2b630b0c0d3e6d945963733635896f8af00422729d47ce489b10ef510e29d1eebd85
|
@@ -80,7 +80,17 @@ module CarrierWave
|
|
80
80
|
next unless self.send(condition, new_file)
|
81
81
|
end
|
82
82
|
end
|
83
|
-
|
83
|
+
|
84
|
+
if args.is_a? Array
|
85
|
+
kwargs, args = args.partition { |arg| arg.is_a? Hash }
|
86
|
+
end
|
87
|
+
|
88
|
+
if kwargs.present?
|
89
|
+
kwargs = kwargs.reduce(:merge)
|
90
|
+
self.send(method, *args, **kwargs)
|
91
|
+
else
|
92
|
+
self.send(method, *args)
|
93
|
+
end
|
84
94
|
end
|
85
95
|
end
|
86
96
|
end
|
data/lib/carrierwave/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Nicklas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|