From dc8c9b6c8630f1832d4a2f7ee8a5821fec0a828f Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 11 Mar 2012 23:17:56 -0700 Subject: [PATCH] Compass 0.13 will depend on Sass 3.2 --- Gemfile | 2 +- compass.gemspec | 2 +- lib/compass/sass_extensions/functions/sprites.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 15601958..2f2cb7ea 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gem "rspec", "~>2.0.0" gem "rails", "~> 3.1" gem "compass-validator", "3.0.1" gem "css_parser", "~> 1.0.1" -gem "sass", "~> 3.1" +gem "sass", "~> 3.2.0.alpha.93" gem "haml", "~> 3.1" gem "rubyzip" gem 'mocha' diff --git a/compass.gemspec b/compass.gemspec index 0265175c..e02c209e 100644 --- a/compass.gemspec +++ b/compass.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |gemspec| gemspec.rubygems_version = "1.3.5" gemspec.summary = %q{A Real Stylesheet Framework} - gemspec.add_dependency 'sass', '~> 3.1' + gemspec.add_dependency 'sass', '~> 3.2.0.alpha.93' gemspec.add_dependency 'chunky_png', '~> 1.2' gemspec.add_dependency 'fssm', '>= 0.2.7' diff --git a/lib/compass/sass_extensions/functions/sprites.rb b/lib/compass/sass_extensions/functions/sprites.rb index 69ac8ce2..bf3964b1 100644 --- a/lib/compass/sass_extensions/functions/sprites.rb +++ b/lib/compass/sass_extensions/functions/sprites.rb @@ -184,7 +184,7 @@ protected def convert_sprite_name(sprite) case sprite when Sass::Script::Color - Sass::Script::String.new(Sass::Script::Color::HTML4_COLORS_REVERSE[sprite.rgb]) + Sass::Script::String.new(Sass::Script::Color::COLOR_NAMES_REVERSE[sprite.rgb]) when Sass::Script::Bool Sass::Script::String.new(sprite.to_s) else