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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/slack-ruby-bot-server/ext/grape/sort_extension.rb +13 -3
- data/lib/slack-ruby-bot-server/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98fcac8e33fc669ff0a331717491c75cc7e819c1cf3c43b405901731ec4febc7
|
4
|
+
data.tar.gz: 728424653814376e017fbfe66f0d9fadaa65f8d116c10fd8d4b108753f8052b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44a081620509fa8a7e1effdf25f87a87e0c4b96c1ea67ccdad7cd02437c1bc0be74ec9e330816ba58c4642e8edf7e609734b1302c1bf6e4eea2445c4eff5dd76
|
7
|
+
data.tar.gz: b2a3ab5234473ea2cb9cf8079425bc63e84b515c439cbe0042893ed9683b98d149d05fb1854108d928a92004e9eb5573c84f4bd197db9b496e61fa6321d1ac1f
|
data/CHANGELOG.md
CHANGED
@@ -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 **
|
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
|
-
|
4
|
-
|
5
|
-
|
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
|
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.
|
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:
|
11
|
+
date: 2019-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-websocket
|