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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d820271772f283b944d2a7e38d04463cc17808f2eacfe367409c54e081a9956e
4
- data.tar.gz: ab6b2e3b76ca40539ec1fcbf14dde0c923dc829458ef52e6e76916656ca51eec
3
+ metadata.gz: 78b09a52e2a4ac433a64cabe0c2d1e977a55b8a285b9de3c64f373ff094def87
4
+ data.tar.gz: 4da281ecbb7a6635387196d519ea775ff6cdfd899c2924cc2629b1a5a978b1ce
5
5
  SHA512:
6
- metadata.gz: cbffa4c276553be386c17741151b17f96db87842c2c2ea612adea3aad29dd63da244e72df8b17d564ccc8fc45e0d4ba296f6fe86c61d334b7dc05283d3dbf463
7
- data.tar.gz: 262b71be6c5a64c506599494bc4ac36c1cad45740be7e1ffa60970919e3a577ba5f42e0517fd3ab5ad17e9d8a1279a84ab1c47b1c884dbf77adcc2a388d6ec49
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, severity: PagerDutyService::HIGH_URGENCY_ERROR,
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
@@ -1,3 +1,3 @@
1
1
  module NineOneOne
2
- VERSION = '2.0.2'.freeze
2
+ VERSION = '2.0.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nine_one_one
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kacper Madej