lib/retina_rails.rb in retina_rails-1.0.4 vs lib/retina_rails.rb in retina_rails-2.0.0

- old
+ new

@@ -1,20 +1,24 @@ require 'retina_rails/version' +require 'retina_rails/extensions' +require 'retina_rails/processors' require 'retina_rails/strategies' require 'retina_rails/helpers' -require 'retina_rails/exception' -require 'retina_rails/deprecation/carrierwave' -require 'retina_rails/deprecation/paperclip' - module RetinaRails if defined?(Rails) - class Engine < Rails::Engine; end - class Railtie < Rails::Railtie + initializer "retina_rails.include_extenions" do + RetinaRails::Extensions.include_extensions + end + + initializer "retina_rails.include_processors" do + RetinaRails::Processors.include_processors + end + initializer "retina_rails.include_strategies" do - RetinaRails::Strategies.include_strategies + RetinaRails::Strategies.include_strategies end end end end