README.md in amqp-client-1.1.0 vs README.md in amqp-client-1.1.1

- old
+ new

@@ -1,9 +1,13 @@ # AMQP::Client A modern AMQP 0-9-1 Ruby client. Very fast (just as fast as the Java client, and >4x than other Ruby clients), fully thread-safe, blocking operations and straight-forward error handling. +It's small, only ~1800 lines of code, and without any dependencies. Other Ruby clients are about 4 times bigger. But without trading functionallity. + +It's safe by default, messages are published as persistent, and is waiting for confirmation from the broker. That can of course be disabled if performance is a priority. + ## Support The library is fully supported by [CloudAMQP](https://www.cloudamqp.com), the largest RabbitMQ hosting provider in the world. Open [an issue](https://github.com/cloudamqp/amqp-client.rb/issues) or [email our support](mailto:support@cloudamqp.com) if you have problems or questions. ## Documentation @@ -29,14 +33,14 @@ # Create a temporary queue q = ch.queue_declare # Publish a message to said queue -ch.basic_publish "Hello World!", "", q.queue_name +ch.basic_publish_confirm "Hello World!", "", q.queue_name, persistent: true # Poll the queue for a message -msg = ch.basic_get q.queue_name +msg = ch.basic_get(q.queue_name) # Print the message's body to STDOUT puts msg.body ``` @@ -102,10 +106,10 @@ 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/cloudamqp/amqp-client.rb +Bug reports and pull requests are welcome on GitHub at [https://github.com/cloudamqp/amqp-client.rb](https://github.com/cloudamqp/amqp-client.rb/) ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).