slack-ruby-bot-server 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: '08d2ca6a35e52167fede4422f6f7cb4e436aaf78'
4
- data.tar.gz: 580793c0cddae73b27ddc7f65d26208d2b16bb1e
2
+ SHA256:
3
+ metadata.gz: d8b66318cda0c496fd11d1f5a534d5c7dc6062b6bfaa713e89e36d220d8cb8d8
4
+ data.tar.gz: 450f95c0403a4fa08dcc74724451909c83ac517d051dcc4e15bb2ad4a2b704c0
5
5
  SHA512:
6
- metadata.gz: f17072e2f9db331a104cf2b6ab1a111f90177240bd5c73eeb69d65673797cbc305913c7845e0d4d0693eededa00f85d51cd064fcf2ef76eb539ae50f90bf2dc8
7
- data.tar.gz: 3136311a0f290eb8f714a8e7dab0fc5e65e02eaba7281dc05de1486c1b3d948f056f2cfe48c1de8f7395e3a4c5626ca0f61e5742c2f9ceb535024f0a7ee8913d
6
+ metadata.gz: 1275cd4ca5ed0d277fedd4013142819751f4b750aad6fcb37cb768750b79b6a5cbe9fb2b19e1e637688898449e813cee538963ad0c732e62a920535546ad4eb2
7
+ data.tar.gz: 783f03e9567304d48751d807f45b201f10feec288df8c2d9b6c610b4970bc2085be9526ade6fe7cf1d60ee20eeb495664cd3153aaa6fb47d1b5ecc5733792622
@@ -1,5 +1,9 @@
1
1
  ### Changelog
2
2
 
3
+ #### 0.8.2 (2018/10/11)
4
+
5
+ * [#80](https://github.com/slack-ruby/slack-ruby-bot-server/pull/80): Fix: closed stream when closing connection in ping worker - [@dblock](https://github.com/dblock).
6
+
3
7
  #### 0.8.1 (2018/9/20)
4
8
 
5
9
  * [#79](https://github.com/slack-ruby/slack-ruby-bot-server/pull/79): Fix: ping worker terminates on a failed restart - [@dblock](https://github.com/dblock).
data/Gemfile CHANGED
@@ -25,7 +25,6 @@ group :development, :test do
25
25
  gem 'database_cleaner'
26
26
  gem 'fabrication'
27
27
  gem 'faker'
28
- gem 'heroku'
29
28
  gem 'hyperclient'
30
29
  gem 'mongoid-shell'
31
30
  gem 'rack-server-pages'
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015-2017 Daniel Doubrovkine & Contributors
3
+ Copyright (c) 2015-2018 Daniel Doubrovkine & Contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -13,7 +13,7 @@ A library that contains a [Grape](http://github.com/ruby-grape/grape) API servin
13
13
 
14
14
  ### Stable Release
15
15
 
16
- You're reading the documentation for the **stable** release of slack-ruby-bot-server, 0.8.1. See [UPGRADING](UPGRADING.md) when upgrading from an older version.
16
+ You're reading the documentation for the **stable** release of slack-ruby-bot-server, v0.8.2. See [UPGRADING](UPGRADING.md) when upgrading from an older version.
17
17
 
18
18
  ### Try Me
19
19
 
@@ -72,7 +72,7 @@ This library implements an app, [SlackRubyBotServer::App](lib/slack-ruby-bot-ser
72
72
 
73
73
  #### App
74
74
 
75
- The app instance checks for a working MongoDB connection, ensures database indexes, performs database migrations, sets up bot aliases and log levels. You can introduce custom behavior into the app lifecycle by subclassing `SlackRubyBotServer::App` and creating an instance of the child class in `config.ru`.
75
+ The app instance checks for a working database connection, ensures indexes, performs migrations, sets up bot aliases and log levels. You can introduce custom behavior into the app lifecycle by subclassing `SlackRubyBotServer::App` and creating an instance of the child class in `config.ru`.
76
76
 
77
77
  ```ruby
78
78
  class MyApp < SlackRubyBotServer::App
@@ -181,15 +181,16 @@ You can see a sample implementation in [slack-sup#3a497b](https://github.com/dbl
181
181
 
182
182
  ### Examples Using Slack Ruby Bot Server
183
183
 
184
- * [slack-amber-alert](https://github.com/dblock/slack-amber-alert), free service at [missingkidsbot.org](https://www.missingkidsbot.org)
185
184
  * [slack-sup](https://github.com/dblock/slack-sup), free service at [sup.playplay.io](https://sup.playplay.io)
186
185
  * [slack-gamebot](https://github.com/dblock/slack-gamebot), free service at [www.playplay.io](https://www.playplay.io)
187
186
  * [slack-market](https://github.com/dblock/slack-market), free service at [market.playplay.io](https://market.playplay.io)
188
187
  * [slack-shellbot](https://github.com/slack-ruby/slack-shellbot), free service at [shell.playplay.io](https://shell.playplay.io)
189
188
  * [slack-api-explorer](https://github.com/slack-ruby/slack-api-explorer), free service at [api-explorer.playplay.io](https://shell.playplay.io)
189
+ * [slack-strava](https://github.com/dblock/slack-strava), free service at [slava.playplay.io](https://slava.playplay.io)
190
+ * [slack-arena](https://github.com/dblock/slack-arena), free service at [arena.playplay.io](https://arena.playplay.io)
190
191
 
191
192
  ### Copyright & License
192
193
 
193
- Copyright [Daniel Doubrovkine](http://code.dblock.org) and Contributors, 2015-2017
194
+ Copyright [Daniel Doubrovkine](http://code.dblock.org) and Contributors, 2015-2018
194
195
 
195
196
  [MIT License](LICENSE)
@@ -72,9 +72,9 @@ module SlackRubyBotServer
72
72
 
73
73
  def restart!
74
74
  logger.warn "RESTART: #{owner}"
75
- close_connection
76
75
  close_driver
77
76
  emit_close
77
+ close_connection
78
78
  false
79
79
  rescue StandardError => e
80
80
  logger.warn "Error restarting team #{owner.id}: #{e.message}."
@@ -1,3 +1,3 @@
1
1
  module SlackRubyBotServer
2
- VERSION = '0.8.1'.freeze
2
+ VERSION = '0.8.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack-ruby-bot-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Doubrovkine
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-20 00:00:00.000000000 Z
11
+ date: 2018-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async-websocket
@@ -295,7 +295,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
295
295
  version: '0'
296
296
  requirements: []
297
297
  rubyforge_project:
298
- rubygems_version: 2.6.13
298
+ rubygems_version: 2.7.6
299
299
  signing_key:
300
300
  specification_version: 4
301
301
  summary: A Grape API serving a Slack bot to multiple teams.