fde-slack-notification 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/slack/message.rb +3 -2
- data/lib/slack/notification/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: f48d43de6e5f3865f1fb98727994aa03747283ea2833b13cc3b9266e10f58070
|
4
|
+
data.tar.gz: 67ddbe72857d9586d48bad41d79ebaa19743081892cd04bb5fc354ac765aa793
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 289325450737e0ce1baeb9b8544189fa1867a9669483549659ab69beafc8d583af42647a9347e61adbfa7abde626f74d9e4260637165a23ed85dfc5e4e67ebe2
|
7
|
+
data.tar.gz: d0e530061d0370791619651f865ba3977dbe9466f704bdddd6627f5579cc9a607bbe30fa9e6cbfe6daca18fda1b480f791eac52bcc9f22b64c7857a2f3a8b303
|
data/lib/slack/message.rb
CHANGED
@@ -9,7 +9,7 @@ module FDE
|
|
9
9
|
YELLOW = '#FEEFB3'.freeze
|
10
10
|
RED = '#FFBABA'.freeze
|
11
11
|
|
12
|
-
RETRY_LIMIT =
|
12
|
+
RETRY_LIMIT = 3
|
13
13
|
TOO_MANY_REQUESTS_STATUS_CODE = "429"
|
14
14
|
|
15
15
|
|
@@ -92,7 +92,8 @@ module FDE
|
|
92
92
|
@retries += 1
|
93
93
|
retry
|
94
94
|
end
|
95
|
-
raise
|
95
|
+
raise api_error, message_hash: message_hash
|
96
|
+
|
96
97
|
end
|
97
98
|
end
|
98
99
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fde-slack-notification
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Langenegger
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: slack-notifier
|