slack-ruby-bot-server 0.8.2 → 0.8.3

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
2
  SHA256:
3
- metadata.gz: d8b66318cda0c496fd11d1f5a534d5c7dc6062b6bfaa713e89e36d220d8cb8d8
4
- data.tar.gz: 450f95c0403a4fa08dcc74724451909c83ac517d051dcc4e15bb2ad4a2b704c0
3
+ metadata.gz: 98fcac8e33fc669ff0a331717491c75cc7e819c1cf3c43b405901731ec4febc7
4
+ data.tar.gz: 728424653814376e017fbfe66f0d9fadaa65f8d116c10fd8d4b108753f8052b6
5
5
  SHA512:
6
- metadata.gz: 1275cd4ca5ed0d277fedd4013142819751f4b750aad6fcb37cb768750b79b6a5cbe9fb2b19e1e637688898449e813cee538963ad0c732e62a920535546ad4eb2
7
- data.tar.gz: 783f03e9567304d48751d807f45b201f10feec288df8c2d9b6c610b4970bc2085be9526ade6fe7cf1d60ee20eeb495664cd3153aaa6fb47d1b5ecc5733792622
6
+ metadata.gz: 44a081620509fa8a7e1effdf25f87a87e0c4b96c1ea67ccdad7cd02437c1bc0be74ec9e330816ba58c4642e8edf7e609734b1302c1bf6e4eea2445c4eff5dd76
7
+ data.tar.gz: b2a3ab5234473ea2cb9cf8079425bc63e84b515c439cbe0042893ed9683b98d149d05fb1854108d928a92004e9eb5573c84f4bd197db9b496e61fa6321d1ac1f
@@ -1,5 +1,9 @@
1
1
  ### Changelog
2
2
 
3
+ #### 0.8.3 (2019/01/17)
4
+
5
+ * [#88](https://github.com/slack-ruby/slack-ruby-bot-server/issues/88): Fix: compatibility with Grape 1.2.x - [@dblock](https://github.com/dblock).
6
+
3
7
  #### 0.8.2 (2018/10/11)
4
8
 
5
9
  * [#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).
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, v0.8.2. See [UPGRADING](UPGRADING.md) when upgrading from an older version.
16
+ 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.
17
17
 
18
18
  ### Try Me
19
19
 
@@ -1,8 +1,18 @@
1
1
  module Grape
2
2
  class API
3
- def self.sort(value)
4
- route_setting :sort, sort: value
5
- value
3
+ module Extensions
4
+ module SortExtension
5
+ def sort(value)
6
+ route_setting :sort, sort: value
7
+ value
8
+ end
9
+ end
6
10
  end
7
11
  end
8
12
  end
13
+
14
+ if defined? Grape::API::Instance
15
+ Grape::API::Instance.extend Grape::API::Extensions::SortExtension
16
+ else
17
+ Grape::API.extend Grape::API::Extensions::SortExtension
18
+ end
@@ -1,3 +1,3 @@
1
1
  module SlackRubyBotServer
2
- VERSION = '0.8.2'.freeze
2
+ VERSION = '0.8.3'.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.2
4
+ version: 0.8.3
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-10-11 00:00:00.000000000 Z
11
+ date: 2019-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async-websocket