A platform for community discussion. Free, open, simple.
DEV: Update sassc gem
David Taylor56b4ee43d347
diff --git a/Gemfile.lock b/Gemfile.lockindex f145e0914ae..3ce0e45e60e 100644--- a/Gemfile.lock+++ b/Gemfile.lock@@ -145,7 +145,7 @@ GEMrake-compilerfast_xs (0.8.0)fastimage (2.1.5)- ffi (1.9.25)+ ffi (1.10.0)flamegraph (0.9.5)fspath (3.1.0)gc_tracer (1.5.1)@@ -320,8 +320,8 @@ GEMrake-compiler (1.0.4)rakerb-fsevent (0.10.3)- rb-inotify (0.9.10)- ffi (>= 0.5.0, < 2)+ rb-inotify (0.10.0)+ ffi (~> 1.0)rbtrace (0.4.11)ffi (>= 1.0.6)msgpack (>= 0.4.3)@@ -381,15 +381,9 @@ GEMcrass (~> 1.0.2)nokogiri (>= 1.8.0)nokogumbo (~> 2.0)- sass (3.5.6)- sass-listen (~> 4.0.0)- sass-listen (4.0.0)- rb-fsevent (~> 0.9, >= 0.9.4)- rb-inotify (~> 0.9, >= 0.9.7)- sassc (1.11.4)- bundler- ffi (~> 1.9.6)- sass (>= 3.3.0)+ sassc (2.0.1)+ ffi (~> 1.9)+ rakesawyer (0.8.1)addressable (>= 2.3.5, < 2.6)faraday (~> 0.8, < 1.0)diff --git a/lib/stylesheet/functions.rb b/lib/stylesheet/functions.rbindex 98ccd68b6c7..49c2eae41c9 100644--- a/lib/stylesheet/functions.rb+++ b/lib/stylesheet/functions.rb@@ -1,10 +1,10 @@module Stylesheetmodule ScssFunctionsdef asset_url(path)- SassC::Script::String.new("url('#{ActionController::Base.helpers.asset_url(path.value)}')")+ SassC::Script::Value::String.new("url('#{ActionController::Base.helpers.asset_url(path.value)}')")enddef image_url(path)- SassC::Script::String.new("url('#{ActionController::Base.helpers.image_url(path.value)}')")+ SassC::Script::Value::String.new("url('#{ActionController::Base.helpers.image_url(path.value)}')")endendend