From 0ef9b0782a507175302f6a967af7205baf22ee6d Mon Sep 17 00:00:00 2001 From: Johnny Shields <27655+johnnyshields@users.noreply.github.com> Date: Thu, 28 Dec 2023 23:33:08 -0800 Subject: [PATCH] Revert "Revert "Replace unmaintained dartsass-ruby with sassc-embedded"" --- dartsass-sprockets.gemspec | 4 ++-- lib/sassc/rails.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dartsass-sprockets.gemspec b/dartsass-sprockets.gemspec index b8d0dd7..89aa582 100644 --- a/dartsass-sprockets.gemspec +++ b/dartsass-sprockets.gemspec @@ -15,14 +15,14 @@ Gem::Specification.new do |spec| spec.files = Dir['lib/**/*.rb'] + %w[LICENSE.txt README.md] spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) - spec.required_ruby_version = '>= 2.6.0' + spec.required_ruby_version = '>= 3.1.0' spec.add_development_dependency 'pry' spec.add_development_dependency "bundler" spec.add_development_dependency "rake" spec.add_development_dependency 'mocha' - spec.add_dependency "dartsass-ruby", "~> 3.0" + spec.add_dependency 'sassc-embedded', '~> 1.69' spec.add_dependency "tilt" spec.add_dependency 'railties', '>= 4.0.0' spec.add_dependency 'sprockets', '> 3.0' diff --git a/lib/sassc/rails.rb b/lib/sassc/rails.rb index 689267b..24f8b9e 100644 --- a/lib/sassc/rails.rb +++ b/lib/sassc/rails.rb @@ -2,7 +2,7 @@ require_relative "rails/version" -require "sassc" +require "sassc-embedded" require_relative "rails/functions" require_relative "rails/importer" require_relative "rails/template"