lib/cloudinary/carrier_wave/process.rb in cloudinary-1.0.16 vs lib/cloudinary/carrier_wave/process.rb in cloudinary-1.0.17

- old
+ new

@@ -94,10 +94,12 @@ def eager @eager ||= self.class.processors.any?{|processor| processor[0] == :eager} end def tags - @tags ||= self.class.processors.select{|processor| processor[0] == :tags}.map(&:last).first + @tags ||= self.class.processors.select{|processor| processor[0] == :tags}.map(&:second).first + raise "tags cannot be used in versions." if @tags.present? && self.version_name.present? + @tags end def format format_processor = self.class.processors.find{|processor| processor[0] == :convert} if format_processor