Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evrone/quiet_assets
DEPRECATED: As of sprockets-rails version 3.1.0, used in current versions of rails, this gem is deprecated
https://github.com/evrone/quiet_assets
Last synced: about 1 hour ago
JSON representation
DEPRECATED: As of sprockets-rails version 3.1.0, used in current versions of rails, this gem is deprecated
- Host: GitHub
- URL: https://github.com/evrone/quiet_assets
- Owner: evrone
- License: mit
- Archived: true
- Created: 2012-02-13T09:31:20.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2021-06-28T08:17:42.000Z (over 3 years ago)
- Last Synced: 2024-09-18T16:45:25.577Z (about 2 months ago)
- Language: Ruby
- Homepage: https://evrone.com
- Size: 43.9 KB
- Stars: 1,415
- Watchers: 71
- Forks: 86
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
Awesome Lists containing this project
README
# 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.rbconfig.assets.quiet = true
```Relevant PR: https://github.com/rails/sprockets-rails/pull/355
# Quiet Assets
[![Continuous Integration status](https://api.travis-ci.org/evrone/quiet_assets.svg)](http://travis-ci.org/evrone/quiet_assets)
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)Developed by Evrone team.
## 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](CODE-OF-CONDUCT.md) and [Contributing Guidelines](CONTRIBUTING.md) for submitting pull requests to us.
## Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/evrone/quiet_assets/tags).
## Changelog
The changelog is [here](CHANGELOG.md).
## Authors
* [Dmitry Karpunin](https://github.com/KODerFunk)
* [Dmitry Vorotilin](https://github.com/route)See also the list of [contributors](https://github.com/evrone/quiet_assets/contributors) who participated in this project.
## License
This project is licensed under the [MIT License](LICENSE).