chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Provider::RemoteFile::Content#grab_file_from_uri
Given a source uri, return a Tempfile, or a File that acts like a Tempfile (close! method)
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/provider/remote_file/content.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Provider--RemoteFile--Content-grab_file_from_uri-for-pr
# Commit to gitgit add lib/chef/provider/remote_file/content.rbgit commit -m "better docs for Chef::Provider::RemoteFile::Content#grab_file_from_uri"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Provider--RemoteFile--Content-grab_file_from_uri-for-pr
hub pull-request
# Celebrate!