lib/cloudinary/carrier_wave/preloaded.rb in cloudinary-1.0.55 vs lib/cloudinary/carrier_wave/preloaded.rb in cloudinary-1.0.56

- old
+ new

@@ -36,10 +36,9 @@ end class PreloadedCloudinaryFile < Cloudinary::PreloadedFile def initialize(file_info) super - raise CloudinaryException, "Cloudinary CarrierWave integration only supports uploaded images" if resource_type != "image" || type != "upload" if !valid? raise CarrierWave::IntegrityError, I18n.translate(:"errors.messages.cloudinary_signature_error", :public_id=>public_id, :default=>"Invalid signature for #{public_id}") end end \ No newline at end of file