From 7343e80b7db300ed8ecfdc8672e38b784cee2980 Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Thu, 20 Jan 2011 17:10:35 -0500 Subject: [PATCH] bumped chunky_png to 0.12.0 and updated specs accordingly --- Gemfile | 2 +- compass.gemspec | 2 +- spec/sprites_spec.rb | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Gemfile b/Gemfile index 7eb71521..a4b99326 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,7 @@ gem "haml", "~> 3.1.0.alpha" gem "rcov" gem "rubyzip" gem "livereload" -gem "chunky_png", "~> 0.10.1" +gem "chunky_png", "~> 0.12.0" gem "ruby-prof" unless RUBY_PLATFORM == "java" diff --git a/compass.gemspec b/compass.gemspec index 9e7f1127..fc8bf65b 100644 --- a/compass.gemspec +++ b/compass.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |gemspec| gemspec.summary = %q{A Real Stylesheet Framework} gemspec.add_dependency 'sass', '>= 3.1.0.alpha.50' - gemspec.add_dependency 'chunky_png', '~> 0.10.3' + gemspec.add_dependency 'chunky_png', '~> 0.12.0' gemspec.files = %w(README.markdown LICENSE.markdown VERSION.yml Rakefile) gemspec.files += Dir.glob("bin/*") diff --git a/spec/sprites_spec.rb b/spec/sprites_spec.rb index ee26a915..c619e9f5 100644 --- a/spec/sprites_spec.rb +++ b/spec/sprites_spec.rb @@ -62,7 +62,7 @@ describe Compass::Sprites do } CSS image_size('squares-*.png').should == [20, 30] - image_md5('squares-*.png').should == 'e8cd71d546aae6951ea44cb01af35820' + image_md5('squares-*.png').should == 'fcc93d7b279c2ad6898fbca49cbd01e1' end it "should generate sprite classes with dimensions" do @@ -285,7 +285,7 @@ describe Compass::Sprites do } CSS image_size('squares-*.png').should == [20, 30] - image_md5('squares-*.png').should == 'b61700e6d402d9df5f3820b73479f371' + image_md5('squares-*.png').should == '652b67f5e9092520d6f26caae7e18012' end it "should use position adjustments in mixins" do @@ -323,7 +323,7 @@ describe Compass::Sprites do } CSS image_size('squares-*.png').should == [20, 30] - image_md5('squares-*.png').should == 'b61700e6d402d9df5f3820b73479f371' + image_md5('squares-*.png').should == '652b67f5e9092520d6f26caae7e18012' end it "should repeat the image" do @@ -346,7 +346,7 @@ describe Compass::Sprites do } CSS image_size('squares-*.png').should == [20, 30] - image_md5('squares-*.png').should == '0187306f3858136feee87d3017e7f307' + image_md5('squares-*.png').should == '94abae8440f1b58617f52920b70aaed2' end it "should allow the position of a sprite to be specified in absolute pixels" do @@ -370,7 +370,7 @@ describe Compass::Sprites do } CSS image_size('squares-*.png').should == [30, 30] - image_md5('squares-*.png').should == '262766d3e342f72b052f5708da6a1bf3' + image_md5('squares-*.png').should == '2fb19ef9c83018c93c6f147af3a56cb2' end it "should provide a nice errors for lemonade's old users" do