slack-notifier 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/slack-notifier.rb +1 -1
- data/lib/slack-notifier/version.rb +1 -1
- data/spec/lib/slack-notifier_spec.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b26d815a68d346fe2726a68a896d54276b91b6f9
|
4
|
+
data.tar.gz: 92803f407f329b8b908062a033adc583b86f00cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b08f9faeb71b9cd2d20fc96d30f8585ca530b16c6a02af6ed13b14ef47c7fca513c2173aae7cb344e02f247df40b4d258d4cf35d6c2251d7250d7a8aafc53af5
|
7
|
+
data.tar.gz: f611a92dbe367be0cced5b590b58fbaddde92f17fc9eb50e170086bda195291569906956d4b6d1000279fbfb1b14f6456d23e11c40df566ee0edf3fd0092ce8c
|
data/lib/slack-notifier.rb
CHANGED
@@ -43,7 +43,7 @@ module Slack
|
|
43
43
|
|
44
44
|
params[:http_options] = payload.delete(:http_options) if payload.key?(:http_options)
|
45
45
|
|
46
|
-
middleware.call(payload).
|
46
|
+
middleware.call(payload).map do |pld|
|
47
47
|
params[:payload] = pld.to_json
|
48
48
|
client.post endpoint, params
|
49
49
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slack-notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Sloan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: " A slim ruby wrapper for posting to slack webhooks "
|
14
14
|
email:
|