README.md in propono-2.0.0.rc2 vs README.md in propono-2.0.0.rc3

- old
+ new

@@ -8,11 +8,11 @@ It's beautifully simple to use. [Watch an introduction](https://www.youtube.com/watch?v=ZM3-Gl5DVgM) ```ruby # On Machine A -Propono::Client.new.listen_to_queue('some-topic') do |message| +Propono::Client.new.listen('some-topic') do |message| puts "I just received: #{message}" end # On Machine B Propono::Client.new.publish('some-topic', "The Best Message Ever") @@ -24,11 +24,11 @@ ## Changes from v1 to v2 Version 2 of Propono changed a few things: - We moved from a global interface to a client interface. Rather than calling `publish` and equivalent on `Propono`, you should now initialize a `Propono::Client` and then call everything on that client. This fixes issues with thread safety and global config. - We have also removed the dependancy on Fog and instead switch to the `sns` and `sqs` mini-gems of `aws-sdk`. -- UDP and TCP support have been removed, an subscribe_by_post has been removed. +- UDP and TCP support have been removed, and `subscribe_by_post` has been removed. - We are now using long-polling. This makes Propono **significantly** faster (10-100x). ## Installation Add this line to your application's Gemfile: @@ -66,10 +66,10 @@ Listening for messages is easy too. Just tell Propono what your application is called and start listening. You'll get a block yielded for each message. ```ruby client = Propono::Client.new client.config.application_name = "application-name" # Something unique to this app. -client.listen_to_queue('some-topic') do |message| +client.listen('some-topic') do |message| # ... Do something interesting with the message end ``` In the background, Propono is automatically setting up a queue using SQS, a notification system using SNS, and gluing them all together for you. But you don't have to worry about any of that.