lognotifier 0.0.5 → 0.0.6

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
  SHA1:
3
- metadata.gz: 2f9f4a3327765327d119256598ade5ecd51d1132
4
- data.tar.gz: ccd651ccf1e69da2cd0a0ac9078e31711a8645fd
3
+ metadata.gz: 93e3ffd8d28508f723a1b35c870463db4461f5a8
4
+ data.tar.gz: 05fcd920d6d7f0b9ec460b9fb31ccb0435604ca8
5
5
  SHA512:
6
- metadata.gz: 3af867267545bd579ddb121a071c126b087c8c0d7e959617fc60ae150c14000eeb740c1d11af543dd4024df95a54941480ea112bbd58b62f0003d64aa5580930
7
- data.tar.gz: d423343495bcef574eb9c2ec8da6c51cbba7859da7013caeeb39a5370e80a8c526d0d83b61a2a606e8232f685d7a591a5aa1e801f4131e0e51dd23ce41c73c40
6
+ metadata.gz: e45b826df40c8c08de26e2febac7f5cd32a0861f59da99d7e61a010c33f0dfe778e9d354c1c85af36412aa80d079018a2e829e2db0f560a3617c22e5c8e9fd1b
7
+ data.tar.gz: aec2c6f258f695475e17e649ca468b47e7b5d600c08d7069c58bff1fb194badaa8cade323a92fce1eb27e2451dbc941f39bea8f97dd34d64ef02b329a8c340e3
@@ -63,7 +63,7 @@ module Lognotifier
63
63
  message += previous.chomp + ' | ' unless previous.nil? || previous == content
64
64
  message += content.chomp
65
65
  begin
66
- pagerduty.trigger("#{pattern['prefix']} #{message}")
66
+ pagerduty.trigger("#{pattern['prefix']}", {'details' => message})
67
67
  @logger.info("ALERT TRIGGERD - #{pattern['prefix']}: #{message}")
68
68
  rescue => e
69
69
  @logger.error("FAILED TO SEND ALERT: #{pattern['prefix']} #{message}")
@@ -1,3 +1,3 @@
1
1
  module Lognotifier
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lognotifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Breinlinger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-16 00:00:00.000000000 Z
11
+ date: 2017-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.4.8
110
+ rubygems_version: 2.5.2
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: Parse logs and notify to pagerduty on patter match