README.md in ably-0.1.6 vs README.md in ably-0.2.0
- old
+ new
@@ -1,7 +1,10 @@
# [Ably](https://ably.io)
+[![Build Status](https://travis-ci.org/ably/ably-ruby.png)](https://travis-ci.org/ably/ably-ruby)
+[![Gem Version](https://badge.fury.io/rb/ably.svg)](http://badge.fury.io/rb/ably)
+
A Ruby client library for [ably.io](https://ably.io), the real-time messaging service.
## Installation
The client library is available as a [gem from RubyGems.org](https://rubygems.org/gems/ably).
@@ -58,11 +61,11 @@
### Presence on a channel
```ruby
client = Ably::Realtime.new(api_key: "xxxxx")
channel = client.channel("test")
-channel.presence.enter(client_data: 'john.doe') do |presence|
+channel.presence.enter(data: 'john.doe') do |presence|
presence.get #=> [Array of members present]
end
```
## Using the REST API
@@ -103,9 +106,13 @@
```ruby
client = Ably::Rest.new(api_key: "xxxxx")
client.time #=> 2013-12-12 14:23:34 +0000
```
+
+## Dependencies
+
+If you only need to use the REST features of this library and do not want EventMachine as a dependency, then you should use the [Ably Ruby REST gem](https://rubygems.org/gems/ably-rest).
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)