Update sass dep and test new error message
This commit is contained in:
parent
51d57afc73
commit
a1979f11b1
|
@ -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"
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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"])
|
||||||
|
|
Loading…
Reference in a new issue