Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warnings #75

Closed
dreikanter opened this issue Jul 29, 2016 · 5 comments
Closed

Deprecation warnings #75

dreikanter opened this issue Jul 29, 2016 · 5 comments

Comments

@dreikanter
Copy link

I'm getting these warnings when sassc-rails is on the Gemfile (using Rails 5):

DEPRECATION WARNING: Sprockets method `register_engine` is deprecated.
Please register a mime type using `register_mime_type` then
use `register_compressor` or `register_transformer`.
https://github.com/rails/sprockets/blob/master/guides/extending_sprockets.md#supporting-all-versions-of-sprockets-in-processors
 (called from block (2 levels) in <class:Railtie> at /Users/dreikanter/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sassc-rails-1.2.1/lib/sassc/rails/railtie.rb:53)
DEPRECATION WARNING: Sprockets method `register_engine` is deprecated.
Please register a mime type using `register_mime_type` then
use `register_compressor` or `register_transformer`.
https://github.com/rails/sprockets/blob/master/guides/extending_sprockets.md#supporting-all-versions-of-sprockets-in-processors
 (called from block (2 levels) in <class:Railtie> at /Users/dreikanter/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sassc-rails-1.2.1/lib/sassc/rails/railtie.rb:54)
@bobmaerten
Copy link

Should be related to rails/sass-rails#381 which have fixed the issue in latest release (5.0.6)

@kinopyo
Copy link
Contributor

kinopyo commented Aug 1, 2016

With latest sass-rails 5.0.6 I'm still getting the deprecation, think we should still fix it in this repo as well? I've seen a PR attempted to fix it #73

@bobmaerten
Copy link

Why is there no release yet?
Running on master for development is not a problem, but I'd like to know Is there something preventing this to happen.

@bolandrm
Copy link
Member

Released 1.3.0

@bobmaerten
Copy link

So nice of you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants