Use config.assets.quiet instead of quiet_assets gem
The quiet_assets gem doesn't support rails 5, but sprockets 3 now has a config.assets.quiet option, which deprecates the quiet_assets gem. But the logging gem has a no-op silence method, that's why the quiet option doesn't work out-of-the-box. I added a little hack to use the silence method from ActiveSupport, which is also used from the original rails logger.
Showing
... | ... | @@ -312,7 +312,4 @@ group :development, :test do |
gem "jasmine-jquery-rails", "2.0.3" | ||
gem "rails-assets-jasmine-ajax", "3.3.1", source: "https://rails-assets.org" | ||
gem "sinon-rails", "1.15.0" | ||
# silence assets | ||
gem "quiet_assets", "1.1.0" | ||
end |
Please register or sign in to comment