Open dillonwelch opened 6 years ago
This gem has dependency sass_rails which use sass too. Ruby Sass is deprecated and will be unmaintained as of 26 March 2019. Will you update dependency to use sassc_rails? Thank you.
I have forked this repo with a version that replaces the sass-rails
dependency with sassc-rails
. People are welcome to use it.
@marlinpierce do you want to create a PR? perhaps it would be considered then.
@jakeonfire I already created a PR, 12 days before you posted.
Here's an approach which we might be doing at our company.
The only things that the jquery-datatables-rails
gem does is:
The first can be accomplished by replacing jquery-datatables-rails
with jquery-datatables
. This will update the datatables javascript from 1.10.10
from year 2015 to 1.10.19
from 2018. The paths are different, so you will have to change your asset pipeline manifests.
For the second, just add the gems in the dependency. So replace
gem 'jquery-datatables-rails', '~> 3.4.0'
with
gem "jquery-rails", '~> 4.3'
gem "sassc-rails", '~> 2.0'
gem 'jquery-datatables', '~> 1.10.19'
This may eventually become a non-issue. The rails-sass
gem is being updated with 6.0.0
to just be a wrapper for rails-sassc
.
https://github.com/rails/rails/issues/32896
https://github.com/rails/sass-rails/issues/420
Looks like
sass-rails
is being end of life'd on 26 March 2019.