sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Commit.extract_signature
Returns +commit+'s signature in 'field' and the signed data The signature is done over the contents of the commit without the signature block in the header, which is the data in the second element in the return array.
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_commit.c
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rugged--Commit-extract_signature-for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_commit.cgit commit -m "better docs for Rugged::Commit.extract_signature"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--Commit-extract_signature-for-pr
hub pull-request
# Celebrate!