quiet_assets

DEPRECATED: As of sprockets-rails version 3.1.0, used in current versions of rails, this gem is deprecated

  • 所有者: evrone/quiet_assets
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

PLEASE NOTE, THIS PROJECT IS NO LONGER BEING MAINTAINED

As of sprockets-rails version 3.1.0, used in current versions of rails, this gem is deprecated.

The asset pipeline now supports a quiet option which suppresses output of asset requests:

# config/environments/development.rb

config.assets.quiet = true

Relevant PR: https://github.com/rails/sprockets-rails/pull/355

Quiet Assets

Continuous Integration status

Quiet Assets turns off the Rails asset pipeline log. This means that it suppresses messages in your development log such as:

Started GET "/assets/application.js" for 127.0.0.1 at 2015-01-28 13:35:34 +0300
Served asset /application.js - 304 Not Modified (8ms)

Getting Started

Prerequisites

Support Ruby on Rails >= 3.1

Installation

It is recommended that this gem only be used for development.
To install, add this line to development group in your Gemfile:

gem 'quiet_assets', group: :development

Then, from the command line, run:

$ bundle

Usage

Simply installing Quiet Assets will suppress the log messages automatically. However, if you wish to temporarily re-enable the logging of the asset pipeline messages,
place the following in your config/application.rb file:

config.quiet_assets = false

If you need to supress output for other paths you can do so by specifying:

config.quiet_assets_paths << '/silent/'

Contributing

Please read Code of Conduct and Contributing Guidelines for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Changelog

The changelog is here.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License.

主要指标

概览
名称与所有者evrone/quiet_assets
主编程语言Ruby
编程语言Ruby (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2012-02-13 09:31:20
推送于2021-06-28 08:17:42
最后一次提交2021-06-28 11:17:42
发布数5
最新版本名称v1.1.0 (发布于 2014-12-22 18:50:57)
第一版名称v1.0.0 (发布于 2012-03-22 10:14:20)
用户参与
星数1.4k
关注者数70
派生数84
提交数68
已启用问题?
问题数34
打开的问题数0
拉请求数15
打开的拉请求数0
关闭的拉请求数11
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?