README.md in slack-ruby-bot-server-0.8.3 vs README.md in slack-ruby-bot-server-0.9.0
- old
+ new
@@ -11,11 +11,11 @@
A library that contains a [Grape](http://github.com/ruby-grape/grape) API serving a [Slack Ruby Bot](https://github.com/slack-ruby/slack-ruby-bot) to multiple teams. This gem combines a web server, a RESTful API and multiple instances of [slack-ruby-bot](https://github.com/slack-ruby/slack-ruby-bot). It integrates with the [Slack Platform API](https://medium.com/slack-developer-blog/launch-platform-114754258b91#.od3y71dyo). Your customers can use a Slack button to install the bot.
### Stable Release
-You're reading the documentation for the **next** release of slack-ruby-bot-server. Please see the documentation for the [last stable release, v0.8.2](https://github.com/slack-ruby/slack-ruby-bot-server/blob/v0.8.2/README.md) unless you're integrating with HEAD. See [UPGRADING](UPGRADING.md) when upgrading from an older version.
+You're reading the documentation for the **stable** release of slack-ruby-bot-server, v0.9.0. See [UPGRADING](UPGRADING.md) when upgrading from an older version.
### Try Me
A demo version of the [sample app with mongoid](sample_apps/sample_app_mongoid) is running on Heroku at [slack-ruby-bot-server.herokuapp.com](https://slack-ruby-bot-server.herokuapp.com). Use the _Add to Slack_ button. The bot will join your team as _@slackbotserver_.
@@ -147,25 +147,9 @@
end
end
SlackRubyBotServer.configure do |config|
config.server_class = MyServer
-end
-```
-
-#### Ping Worker
-
-Each `SlackRubyBotServer::Server` instance will start a ping worker that will periodically check the online status of the bot via the Slack web [auth.test](https://api.slack.com/methods/auth.test) and [users.getPresence](https://api.slack.com/methods/users.getPresence) APIs, and will forcefully close the connection if the bot goes offline, causing an automatic reconnect.
-
-You can configure the ping interval, number of retries before restart, and disable the ping worker entirely.
-
-```ruby
-SlackRubyBotServer.configure do |config|
- config.ping = {
- enabled: true, # set to false to disable the ping worker
- ping_interval: 30, # interval in seconds
- retry_count: 3 # number of unsuccessful retries until a restart
- }
end
```
### Access Tokens