From f2b707c65359efdec1edfcb06b0a636541cd8a93 Mon Sep 17 00:00:00 2001 From: Corey Csuhta Date: Thu, 13 Jun 2019 07:04:56 -0400 Subject: [PATCH] Correct reference to SassC::Script::Value::String This part of the code was still referencing an older Sass Ruby constant path Fixes #128 --- lib/sassc/rails/functions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sassc/rails/functions.rb b/lib/sassc/rails/functions.rb index e621d4c..fbb84dc 100644 --- a/lib/sassc/rails/functions.rb +++ b/lib/sassc/rails/functions.rb @@ -5,7 +5,7 @@ module Sprockets module SassFunctions def asset_data_url(path) - SassC::Script::String.new("url(" + sprockets_context.asset_data_uri(path.value) + ")") + ::SassC::Script::Value::String.new("url(" + sprockets_context.asset_data_uri(path.value) + ")") end end end