sprockets
https://github.com/rails/sprockets
Ruby
Rack-based asset packaging system
Sprockets::Configuration#version
The `Environment#version` is a custom value used for manually expiring all asset caches. Sprockets is able to track most file and directory changes and will take care of expiring the cache for you. However, its impossible to know when any custom helpers change that you mix into the `Context`. It would be wise to increment this value anytime you make a configuration change to the `Environment` object.
Edit
git clone [email protected]:rails/sprockets.git
cd sprockets
open lib/sprockets/configuration.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Sprockets--Configuration-version-for-pr
# Commit to gitgit add lib/sprockets/configuration.rbgit commit -m "better docs for Sprockets::Configuration#version"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Sprockets--Configuration-version-for-pr
hub pull-request
# Celebrate!