Sha256: ec35d032edeb5021ba34f5b0721810b2ff986f29228af4a8ee11c09c57962dca

Contents?: true

Size: 282 Bytes

Versions: 6

Compression:

Stored size: 282 Bytes

Contents

require 'em-synchrony'
require 'carrierwave/processing/mini_magick'

module CarrierWave
  module MiniMagick
    alias_method :old_manipulate!, :manipulate!
    def manipulate!(&block)
      EventMachine::Synchrony.defer do
        old_manipulate!(&block)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
grape-gen-0.0.6 template/config/initializers/em-patches/carrierwave.rb
grape-gen-0.0.5 template/config/initializers/em-patches/carrierwave.rb
grape-gen-0.0.4 template/config/initializers/em-patches/carrierwave.rb
grape-gen-0.0.3 template/config/initializers/em-patches/carrierwave.rb
grape-gen-0.0.2 template/config/initializers/em-patches/carrierwave.rb
grape-gen-0.0.1 template/config/initializers/em-patches/carrierwave.rb