From f2b707c65359efdec1edfcb06b0a636541cd8a93 Mon Sep 17 00:00:00 2001 From: Corey Csuhta Date: Thu, 13 Jun 2019 07:04:56 -0400 Subject: [PATCH 1/2] 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 From 59ad1216a5296d1f5b7891094c5393c8493d71c3 Mon Sep 17 00:00:00 2001 From: Ryan Boland Date: Tue, 18 Jun 2019 09:16:21 -0400 Subject: [PATCH 2/2] version bump --- README.md | 2 ++ lib/sassc/rails/version.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e7df21..d5c8b59 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,8 @@ is maintained by [Ryan Boland](https://ryanboland.com) and [awesome contributors ## Changelog +- **2.1.2** + - [Correct reference to SassC::Script::Value::String](https://github.com/sass/sassc-rails/pull/129) - **2.1.1** - [Fix Scaffolding](https://github.com/sass/sassc-rails/pull/119) - **2.1.0** diff --git a/lib/sassc/rails/version.rb b/lib/sassc/rails/version.rb index b3fc08c..e280906 100644 --- a/lib/sassc/rails/version.rb +++ b/lib/sassc/rails/version.rb @@ -2,6 +2,6 @@ module SassC module Rails - VERSION = "2.1.1" + VERSION = "2.1.2" end end