Update sass dep and test new error message

This commit is contained in:
Thomas Reynolds 2014-08-20 09:48:03 -07:00
parent 51d57afc73
commit a1979f11b1
3 changed files with 3 additions and 3 deletions

View file

@ -74,4 +74,4 @@ Feature: Support slim templating language
When I go to "/sass.html" When I go to "/sass.html"
Then I should see "html, body, div" Then I should see "html, body, div"
When I go to "/error.html" When I go to "/error.html"
Then I should see "Syntax error" Then I should see "Error: Invalid"

View file

@ -86,7 +86,7 @@ module Middleman
begin begin
@engine.render @engine.render
rescue ::Sass::SyntaxError => e rescue ::Sass::SyntaxError => e
::Sass::SyntaxError.exception_to_css(e, full_exception: true) ::Sass::SyntaxError.exception_to_css(e)
end end
end end

View file

@ -21,7 +21,7 @@ Gem::Specification.new do |s|
s.add_dependency("middleman-core", Middleman::VERSION) s.add_dependency("middleman-core", Middleman::VERSION)
s.add_dependency("middleman-sprockets", ">= 3.1.2") s.add_dependency("middleman-sprockets", ">= 3.1.2")
s.add_dependency("haml", [">= 4.0.5"]) s.add_dependency("haml", [">= 4.0.5"])
s.add_dependency("sass", [">= 3.2.17", "< 4.0"]) s.add_dependency("sass", [">= 3.4.0", "< 4.0"])
s.add_dependency("compass-import-once", ["1.0.5"]) s.add_dependency("compass-import-once", ["1.0.5"])
s.add_dependency("compass", [">= 1.0.0", "< 2.0.0"]) s.add_dependency("compass", [">= 1.0.0", "< 2.0.0"])
s.add_dependency("uglifier", ["~> 2.5"]) s.add_dependency("uglifier", ["~> 2.5"])