Sha256: 98325b68419e96895eee3c9a6b532c87bf709f93085eed6f9b1be7928ce03089
Contents?: true
Size: 791 Bytes
Versions: 5
Compression:
Stored size: 791 Bytes
Contents
Gem.loaded_specs['resizing-rails'].dependencies.each do |d| require d.name rescue LoadError require d.name.gsub('-', '/') end module Resizing module Rails class Engine < ::Rails::Engine isolate_namespace Resizing::Rails initializer 'ResizingRails precompile hook', group: :all do |app| app.config.assets.paths << File.join(File.dirname(__FILE__), '../../../', '/app/assets/javascripts') app.config.assets.paths << File.join(File.dirname(__FILE__), '../../../', '/app/assets/stylesheets') app.config.assets.precompile += %w( resizing/rails.js resizing/rails.css ) end # rake_tasks do # Dir[File.join(File.dirname(__FILE__), '../tasks/*.rake')].each { |f| load f } # end end end end
Version data entries
5 entries across 5 versions & 1 rubygems