README.md in rasti-web-broadcaster-1.1.2 vs README.md in rasti-web-broadcaster-2.0.0
- old
+ new
@@ -1,9 +1,9 @@
# Rasti::Web::Broadcaster
[![Gem Version](https://badge.fury.io/rb/rasti-web-broadcaster.svg)](https://rubygems.org/gems/rasti-web-broadcaster)
-[![Build Status](https://travis-ci.org/gabynaiman/rasti-web-broadcaster.svg?branch=master)](https://travis-ci.org/gabynaiman/rasti-web-broadcaster)
+[![Build Status](https://app.travis-ci.com/gabynaiman/rasti-web-broadcaster.svg?branch=master)](https://app.travis-ci.com/gabynaiman/rasti-web-broadcaster)
[![Coverage Status](https://coveralls.io/repos/gabynaiman/rasti-web-broadcaster/badge.svg?branch=master)](https://coveralls.io/r/gabynaiman/rasti-web-broadcaster?branch=master)
[![Code Climate](https://codeclimate.com/github/gabynaiman/rasti-web-broadcaster.svg)](https://codeclimate.com/github/gabynaiman/rasti-web-broadcaster)
Enable server sent events with rack middleware implemented over Faye and Broadcaster (Redis Pub/Sub)
@@ -28,9 +28,10 @@
### Configuration
```ruby
Rasti::Web::Broadcaster.configure do |config|
config.id = 'AppName'
config.redis_settings = "redis://#{ENV['REDIS_HOST']}:#{ENV['REDIS_PORT']}"
+ config.keep_alive_interval = 30
config.logger = Logger.new "/log/#{ENV['RACK_ENV']}.log"
end
```
### Rack middleware