carrierwave-bombshelter 0.1.1.1 → 0.1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/carrierwave/bombshelter.rb +4 -1
- data/lib/carrierwave/bombshelter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67138d49020550bbbfae52968a8f50708411cdf4
|
4
|
+
data.tar.gz: 793fbb733abcfb68baaba15a7cd71f7a81776788
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b1b6323c30074f24836ce4d9a4bcac576e0eb7a0face649b28b6e1fd14b7726694d26b4cbf9023f1639e8e01a5f94e0fb7e031be27eaeea9108bcc1d84f2594
|
7
|
+
data.tar.gz: 3b8b82cc956c55a7a011b0eea82f4bc7a04dae7a7300eab79d96e7f0ee0a200d3558d7057f586450e116672c8008997fa6d69bda1762c9fda4e0d571a5e5b06e
|
@@ -14,7 +14,10 @@ module CarrierWave
|
|
14
14
|
extend ActiveSupport::Concern
|
15
15
|
|
16
16
|
included do
|
17
|
-
before
|
17
|
+
# `before` puts callback in the end of queue, but we need to run this
|
18
|
+
# callback first.
|
19
|
+
# before :cache, :protect_from_image_bomb!
|
20
|
+
_before_callbacks[:cache].unshift(:protect_from_image_bomb!)
|
18
21
|
end
|
19
22
|
|
20
23
|
def max_pixel_dimensions
|