nine_one_one 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nine_one_one/notifier.rb +2 -2
- data/lib/nine_one_one/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78b09a52e2a4ac433a64cabe0c2d1e977a55b8a285b9de3c64f373ff094def87
|
4
|
+
data.tar.gz: 4da281ecbb7a6635387196d519ea775ff6cdfd899c2924cc2629b1a5a978b1ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7b8ae8c70b6f10abcd3e94a5b482b297afae532ef83eee08d6a244a716d830a29febaf8e3c3ad632cb2b54f7cb826e2682def14888f29d3f104302447ac1317
|
7
|
+
data.tar.gz: 0f98e14b0d9eeef2943fb1e6e39178876860a9ce0d9cdd4ea62faa75d6166afea11e12153a78dd82a24a0973780e153f12f21aa5b46a0195b21e3214323074b8
|
@@ -4,8 +4,8 @@ module NineOneOne
|
|
4
4
|
@config = config
|
5
5
|
end
|
6
6
|
|
7
|
-
def emergency(description, source, dedup_key: nil,
|
8
|
-
details_hash: nil)
|
7
|
+
def emergency(description, source: Socket.gethostname, dedup_key: nil,
|
8
|
+
severity: PagerDutyService::HIGH_URGENCY_ERROR, details_hash: nil)
|
9
9
|
emergency_service.trigger_event(description, source: source, dedup_key: dedup_key, severity: severity,
|
10
10
|
details_hash: details_hash)
|
11
11
|
end
|
data/lib/nine_one_one/version.rb
CHANGED