webmock
https://github.com/bblimke/webmock
Ruby
Library for stubbing and setting expectations on HTTP requests in Ruby.
WebMock::Config#allow_localhost=
Sets the attribute allow_localhost
Edit
git clone [email protected]:bblimke/webmock.git
cd webmock
open lib/webmock/config.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-WebMock--Config-allow_localhost--for-pr
# Commit to gitgit add lib/webmock/config.rbgit commit -m "better docs for WebMock::Config#allow_localhost="
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-WebMock--Config-allow_localhost--for-pr
hub pull-request
# Celebrate!