event-reporting-handler 0.1.5 → 0.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d57c6634c36b5d40fa1e21b726e5f00e3e5aae11
|
4
|
+
data.tar.gz: fa4c5d5698fb2814c377b683393350acd1f9c94a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83d812aaffb2999513897c2c4940e9cf7ae8ee25ee0f9154bb39dcde06d1ca896d7a64970f45b51d9cd05b5f92a1b309a64987b87959d2459125cbfc60d372e4
|
7
|
+
data.tar.gz: 15b0e6534484685038973f29f84e181d35d3675d3c6b05b4fc6d7ffd7f8b66179b6e869d225aaa863358052d25c551f1553410ae0d50b4a54a06cdab0f3b521a
|
data/Gemfile
CHANGED
@@ -8,7 +8,6 @@ require 'chef/handler'
|
|
8
8
|
module BloombergLP
|
9
9
|
module EventReportingHandler
|
10
10
|
class StartHandler < Chef::Handler
|
11
|
-
attr_reader :http_url
|
12
11
|
|
13
12
|
def initialize(http_url='',sentry_config={})
|
14
13
|
@http_url = http_url
|
@@ -16,8 +15,8 @@ module BloombergLP
|
|
16
15
|
end
|
17
16
|
|
18
17
|
def report
|
19
|
-
Chef::Log.debug("Running start handler with http_url: #{http_url} and sentry_config: #{sentry_config} ")
|
20
|
-
http_event_reporter = HttpEventReporter.new(http_url
|
18
|
+
Chef::Log.debug("Running start handler with http_url: #{@http_url} and sentry_config: #{@sentry_config} ")
|
19
|
+
http_event_reporter = HttpEventReporter.new(@http_url,@sentry_config,@run_status)
|
21
20
|
@run_status.events.register(http_event_reporter)
|
22
21
|
http_event_reporter.run_started(@run_status)
|
23
22
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: event-reporting-handler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shahul Khajamohideen
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: raven-sentry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.15.2
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.15.2
|
55
69
|
description: Chef handler to send events to http url. Also sends chef run failures
|
56
70
|
to sentry
|
57
71
|
email:
|