carrierwave-bombshelter 0.1.1.4 → 0.1.1.5

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: 238a081983d722813211dc818427fba38b543e67
4
- data.tar.gz: d4d2a620bb491f213b0012cd717a66ee33401cb2
3
+ metadata.gz: 72e85d0feddee1372b0ee3c12c71ce88b7134e33
4
+ data.tar.gz: 201f96f9f1bf71111c9ca98db15a83939481e756
5
5
  SHA512:
6
- metadata.gz: 6e33db52fd10378ffd5b009ffef23b6db85f507120bce254ac8d965fbd278c7e1908e4724029117ae279fe7adaf60cf6221252840dd875723515e894b00fe4a4
7
- data.tar.gz: f5cde2ce7a0dcbe71429e418cef39bc077bbdf874bdcd48c510f90efb357673079c0723c4ce3c00bd386ff3bd8154134464d11298f2d66ddedf4173cfec54371
6
+ metadata.gz: 221139b8826d8489764900dcacfce9e337610f7fe0e2d6c77757c256525c1295347321c6ad8cf88936305660089daa23cb5aa6ad8c47e1e487c2e36e26927d40
7
+ data.tar.gz: e5c20a67b6d9872cf5adf2853a549343d2b5da415733aafdb2f08656e760280d8de8314d8699885d39993ca9d5e135d742917138855cc5cf8c99de574169c265
@@ -1,5 +1,5 @@
1
1
  module CarrierWave
2
2
  module BombShelter
3
- VERSION = '0.1.1.4'
3
+ VERSION = '0.1.1.5'
4
4
  end
5
5
  end
@@ -17,7 +17,8 @@ module CarrierWave
17
17
  # `before` puts callback in the end of queue, but we need to run this
18
18
  # callback first.
19
19
  # before :cache, :protect_from_image_bomb!
20
- _before_callbacks[:cache].unshift(:protect_from_image_bomb!)
20
+ self._before_callbacks = _before_callbacks
21
+ .merge(cache: [:protect_from_image_bomb!] + _before_callbacks[:cache])
21
22
  end
22
23
 
23
24
  def max_pixel_dimensions
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carrierwave-bombshelter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.4
4
+ version: 0.1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - DarthSim
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-10 00:00:00.000000000 Z
11
+ date: 2015-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler