README.md in lita-campfire-0.1.3 vs README.md in lita-campfire-0.1.4
- old
+ new
@@ -1,9 +1,8 @@
# Campfire adapter for Lita
-## Continuous Integration
-
+[![Gem Version](https://badge.fury.io/rb/lita-campfire.png)](http://badge.fury.io/rb/lita-campfire)
[![Build Status](https://secure.travis-ci.org/josacar/lita-campfire.png)](http://travis-ci.org/josacar/lita-campfire)
[![Coverage Status](https://coveralls.io/repos/josacar/lita-campfire/badge.png)](https://coveralls.io/r/josacar/lita-campfire)
[![Code Climate](https://codeclimate.com/github/josacar/lita-campfire.png)](https://codeclimate.com/github/josacar/lita-campfire)
[![Dependency Status](https://gemnasium.com/josacar/lita-campfire.png)](https://gemnasium.com/josacar/lita-campfire)
@@ -34,10 +33,11 @@
* `subdomain` (String) - The organization name to join by your robot. Default: `nil`.
### Optional attributes
* `debug` (Boolean) - If `true`, turns on the underlying Campfire library's (tinder) logger, which is fairly verbose. Default: `false`.
+* `tinder_options` (Hash) - If set passes the options to tinder listen method when called
**Note** You must set also `config.robot.name` and `config.robot.mention_name` to work.
### Example
@@ -57,9 +57,10 @@
config.adapter.subdomain = ENV["CAMPFIRE_SUBDOMAIN"]
config.adapter.apikey = ENV["CAMPFIRE_APIKEY"]
config.adapter.rooms = ENV["CAMPFIRE_ROOMS"].split(',')
config.adapter.debug = false
+ config.adapter.tinder_options = { timeout: 30, user_agent: 'lita-campfire' }
config.redis.url = ENV["REDISTOGO_URL"]
config.http.port = ENV["PORT"]
config.handlers.google_images.safe_search = :off