test/fixtures/rails_root/config/sprites.rb in active_assets-0.2.2 vs test/fixtures/rails_root/config/sprites.rb in active_assets-0.2.3
- old
+ new
@@ -1,8 +1,8 @@
Rails.application.sprites do
sprite 'sprites/3.png' => 'sprites/3.css' do
- _"sprite_images/sprite3/1.gif" => ".klass_1"
- _"sprite_images/sprite3/2.gif" => ".klass_2"
+ _"sprite_images/sprite3/1.png" => ".klass_1"
+ _"sprite_images/sprite3/2.png" => ".klass_2"
end
sprite 'sprites/4.png' do
Dir[Rails.root.join('public/images/sprite_images/sprite4/*.{png,gif,jpg}')].each do |path|
image_path = path[%r{^.*/public/images/(.*)$}, 1]