Sha256: 6eb370bf566f53b60da28d6eaf32a146c90ae1c0cca091c8fff15ce0da98172e

Contents?: true

Size: 417 Bytes

Versions: 7

Compression:

Stored size: 417 Bytes

Contents

module RetinaRails

  module CarrierWave

    extend ActiveSupport::Concern

    module ClassMethods

      def raise_depraction_error!
        raise RetinaRails::DeprecationError.new("As of version 1.0.0.beta1 activating RetinaRails by including `RetinaRails::Carrierwave` is depracted. Add `retina!` to your uploader instead.")
      end

    end

    included do

      raise_depraction_error!

    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
retina_rails-1.0.4 lib/retina_rails/deprecation/carrierwave.rb
retina_rails-1.0.3 lib/retina_rails/deprecation/carrierwave.rb
retina_rails-1.0.2 lib/retina_rails/deprecation/carrierwave.rb
retina_rails-1.0.1 lib/retina_rails/deprecation/carrierwave.rb
retina_rails-1.0.0 lib/retina_rails/deprecation/carrierwave.rb
retina_rails-1.0.0.beta2 lib/retina_rails/deprecation/carrierwave.rb
retina_rails-1.0.0.beta1 lib/retina_rails/deprecation/carrierwave.rb