lib/lockbox/carrier_wave_extensions.rb in lockbox-1.2.0 vs lib/lockbox/carrier_wave_extensions.rb in lockbox-1.3.0
- old
+ new
@@ -103,10 +103,10 @@
end
end
end
end
-if CarrierWave::VERSION.to_i > 2
+if CarrierWave::VERSION.to_i > 3
raise Lockbox::Error, "CarrierWave #{CarrierWave::VERSION} not supported in this version of Lockbox"
elsif CarrierWave::VERSION.to_i < 1
raise Lockbox::Error, "CarrierWave #{CarrierWave::VERSION} not supported"
end