sprockets

https://github.com/rails/sprockets

Ruby

Rack-based asset packaging system

Sprockets::Server#path_fingerprint

Gets ETag fingerprint.

    "foo-0aa2105d29558f3eb790d411d7d8fb66.js"
    # => "0aa2105d29558f3eb790d411d7d8fb66"

Source | Google | Stack overflow

Edit

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

cd sprockets

open lib/sprockets/server.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Sprockets--Server-path_fingerprint-for-pr


# Commit to git

git add lib/sprockets/server.rbgit commit -m "better docs for Sprockets::Server#path_fingerprint"


# 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--Server-path_fingerprint-for-pr

hub pull-request


# Celebrate!