lib/lockbox/carrier_wave_extensions.rb in lockbox-0.5.0 vs lib/lockbox/carrier_wave_extensions.rb in lockbox-0.6.0

- old
+ new

@@ -95,6 +95,10 @@ end end end end +if CarrierWave::VERSION.to_i > 2 + raise "CarrierWave version not supported in this version of Lockbox: #{CarrierWave::VERSION}" +end + CarrierWave::Uploader::Base.extend(Lockbox::CarrierWaveExtensions)