updated for chunky png 1.1.0

This commit is contained in:
Scott Davis 2011-03-21 17:38:15 -04:00
parent acf9c662f6
commit 691c6718b5
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
PATH
remote: .
specs:
compass (0.11.beta.3.a4d4319)
compass (0.11.beta.3.acf9c66)
chunky_png (~> 1.1.0)
sass (>= 3.1.0.alpha.249)

View File

@ -20,7 +20,7 @@ module Compass
else
x = image.left - (image.left / image.width).ceil * image.width
while x < width do
output_png.replace input_png, x, image.top
output_png.replace! input_png, x, image.top
x += image.width
end
end

View File

@ -88,7 +88,7 @@ describe Compass::Sprites do
}
CSS
image_size('squares-*.png').should == [20, 30]
image_md5('squares-*.png').should == 'fcc93d7b279c2ad6898fbca49cbd01e1'
image_md5('squares-*.png').should == 'd1aff60ac2f10dcc9859309d36f7e9a0'
end
it "should generate sprite classes with dimensions" do
@ -311,7 +311,7 @@ describe Compass::Sprites do
}
CSS
image_size('squares-*.png').should == [20, 30]
image_md5('squares-*.png').should == '652b67f5e9092520d6f26caae7e18012'
image_md5('squares-*.png').should == 'd1aff60ac2f10dcc9859309d36f7e9a0'
end
it "should use position adjustments in mixins" do
@ -349,7 +349,7 @@ describe Compass::Sprites do
}
CSS
image_size('squares-*.png').should == [20, 30]
image_md5('squares-*.png').should == '652b67f5e9092520d6f26caae7e18012'
image_md5('squares-*.png').should == 'd1aff60ac2f10dcc9859309d36f7e9a0'
end
it "should repeat the image" do
@ -396,7 +396,7 @@ describe Compass::Sprites do
}
CSS
image_size('squares-*.png').should == [30, 30]
image_md5('squares-*.png').should == '2fb19ef9c83018c93c6f147af3a56cb2'
image_md5('squares-*.png').should == '33b385d541ce887441606e75467fd7ef'
end
it "should provide a nice errors for lemonade's old users" do