emilioforrer / haml_coffee_assets

Haml Coffee templates in the Rails asset pipeline or as Sprockets engine.
https://rubygems.org/gems/haml_coffee_assets
MIT License
437 stars 146 forks source link

Deprecation warning: `register_engine` for Sprockets #158

Closed marceloboeira closed 3 years ago

marceloboeira commented 8 years ago
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 in <class:Engine> at /Users/~/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/haml_coffee_assets-1.16.2/lib/haml_coffee_assets/rails/engine.rb:83)
rake aborted!
biske commented 8 years ago

I'm seeing same deprecation warning after Rails 5 upgrade.

mathieujobin commented 3 years ago

Support for 6.0 added in v1.20.0

please update and try again