Compass 0.13 will depend on Sass 3.2

This commit is contained in:
Chris Eppstein 2012-03-11 23:17:56 -07:00
parent d1f09e5c33
commit dc8c9b6c86
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ gem "rspec", "~>2.0.0"
gem "rails", "~> 3.1" gem "rails", "~> 3.1"
gem "compass-validator", "3.0.1" gem "compass-validator", "3.0.1"
gem "css_parser", "~> 1.0.1" gem "css_parser", "~> 1.0.1"
gem "sass", "~> 3.1" gem "sass", "~> 3.2.0.alpha.93"
gem "haml", "~> 3.1" gem "haml", "~> 3.1"
gem "rubyzip" gem "rubyzip"
gem 'mocha' gem 'mocha'

View File

@ -16,7 +16,7 @@ Gem::Specification.new do |gemspec|
gemspec.rubygems_version = "1.3.5" gemspec.rubygems_version = "1.3.5"
gemspec.summary = %q{A Real Stylesheet Framework} 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 'chunky_png', '~> 1.2'
gemspec.add_dependency 'fssm', '>= 0.2.7' gemspec.add_dependency 'fssm', '>= 0.2.7'

View File

@ -184,7 +184,7 @@ protected
def convert_sprite_name(sprite) def convert_sprite_name(sprite)
case sprite case sprite
when Sass::Script::Color 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 when Sass::Script::Bool
Sass::Script::String.new(sprite.to_s) Sass::Script::String.new(sprite.to_s)
else else