README.md in uri-builder-0.1.5 vs README.md in uri-builder-0.1.6

- old
+ new

@@ -4,10 +4,16 @@ ```ruby URI.build("https://www.example.com/api/v1").path("/api/v2").query(search: "great books").uri ``` +Or if you prefer a block format that automatically converts back to an URI object after the transformation. + +```ruby +URI.build("https://www.example.com/api/v1") { _1.path("/api/v2").query search: "great books" } +``` + Compare that to: ```ruby uri = URI("https://www.example.com/api/v1") uri.path = "/api/v2" @@ -48,6 +54,6 @@ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org). ## Contributing -Bug reports and pull requests are welcome on GitHub at https://github.com/rocketshipio/uri-builder. +Bug reports and pull requests are welcome on GitHub at https://github.com/rubymonolith/uri-builder.