lib/leaflet-draw-rails.rb in leaflet-draw-rails-0.0.1 vs lib/leaflet-draw-rails.rb in leaflet-draw-rails-0.1.0

- old
+ new

@@ -1,10 +1,24 @@ require "leaflet-draw-rails/version" +require "leaflet-draw-rails/testing" +if defined? RSpec + RSpec.configure do |spec| + spec.include Leaflet::Draw::Rails::Testing + end +end + +if respond_to? :World + World Leaflet::Draw::Rails::Testing +end + module Leaflet module Draw module Rails class Engine < ::Rails::Engine + initializer 'leaflet-draw-rails.assets.precompile' do |app| + app.config.assets.precompile += %w(images/spritesheet.png images/spritesheet-2x.png) + end end end end end