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.

Source | Google | Stack overflow

Edit

git clone [email protected]:rails/sprockets.git

cd sprockets

open lib/sprockets/configuration.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Sprockets--Configuration-version-for-pr


# Commit to git

git add lib/sprockets/configuration.rbgit commit -m "better docs for Sprockets::Configuration#version"


# Open pull request

gem 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!