Sha256: 537814a6b7b5b3cf6c9addbb130be55454cb21b805f1d6bf840dac53ca62830e

Contents?: true

Size: 266 Bytes

Versions: 32

Compression:

Stored size: 266 Bytes

Contents

module CarrierWave
  module RMagick
    def quality(percentage)
      manipulate! do |img|
        img.write(current_path){ self.quality = percentage } unless img.quality == percentage
        img = yield(img) if block_given?
        img
      end
    end
  end
end

Version data entries

32 entries across 31 versions & 1 rubygems

Version Path
keppler-2.1.22 installer/core/config/initializers/carrierwave.rb
keppler-2.1.21 installer/core/config/initializers/carrierwave.rb
keppler-2.1.20 installer/core/config/initializers/carrierwave.rb
keppler-2.1.19 installer/core/config/initializers/carrierwave.rb
keppler-2.1.18 testing-with-2.1.18/config/initializers/carrierwave.rb
keppler-2.1.18 installer/core/config/initializers/carrierwave.rb
keppler-2.1.17 installer/core/config/initializers/carrierwave.rb
keppler-2.1.16 installer/core/config/initializers/carrierwave.rb
keppler-2.1.15 installer/core/config/initializers/carrierwave.rb
keppler-2.1.14 installer/core/config/initializers/carrierwave.rb
keppler-2.1.13 installer/core/config/initializers/carrierwave.rb
keppler-2.1.12 installer/core/config/initializers/carrierwave.rb
keppler-2.1.11 installer/core/config/initializers/carrierwave.rb
keppler-2.1.10 installer/core/config/initializers/carrierwave.rb
keppler-2.1.9 installer/core/config/initializers/carrierwave.rb
keppler-2.1.8 installer/core/config/initializers/carrierwave.rb
keppler-2.1.7 installer/core/config/initializers/carrierwave.rb
keppler-2.1.6 installer/core/config/initializers/carrierwave.rb
keppler-2.1.5 installer/core/config/initializers/carrierwave.rb
keppler-2.1.4 installer/core/config/initializers/carrierwave.rb