webmock
https://github.com/bblimke/webmock
Ruby
Library for stubbing and setting expectations on HTTP requests in Ruby.
WebMock::Util::JSON.convert_json_to_yaml
Ensure that ":" and "," are always followed by a space
Edit
git clone [email protected]:bblimke/webmock.git
cd webmock
open lib/webmock/util/json.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-WebMock--Util--JSON-convert_json_to_yaml-for-pr
# Commit to gitgit add lib/webmock/util/json.rbgit commit -m "better docs for WebMock::Util::JSON.convert_json_to_yaml"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-WebMock--Util--JSON-convert_json_to_yaml-for-pr
hub pull-request
# Celebrate!