saba-webhook-gateway 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rubocop.yml +306 -0
- data/Gemfile +2 -0
- data/Gemfile-lambda +3 -0
- data/LICENSE +21 -0
- data/README.md +144 -0
- data/Rakefile +15 -0
- data/exe/lambda-handler-googlechat.rb +26 -0
- data/exe/webhook-handler-googlechat.rb +30 -0
- data/googlechat.png +0 -0
- data/lib/saba-webhook-gateway/base.rb +359 -0
- data/lib/saba-webhook-gateway/googlechat.rb +326 -0
- data/lib/saba-webhook-gateway.rb +5 -0
- data/make-lambda-zip.sh +7 -0
- data/saba-webhook-gateway.gemspec +32 -0
- data/saba-webhook-gateway.png +0 -0
- data/webhooks/alert.json +887 -0
- data/webhooks/alertgroup.json +204 -0
- data/webhooks/host-register.json +305 -0
- data/webhooks/host-retire.json +279 -0
- data/webhooks/host-status.json +283 -0
- data/webhooks/monitor-create.json +580 -0
- data/webhooks/monitor-delete.json +545 -0
- data/webhooks/monitor-update.json +545 -0
- data/webhooks/sample.json +52 -0
- metadata +157 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
Gem::Specification.new do |spec|
|
2
|
+
spec.name = 'saba-webhook-gateway'
|
3
|
+
spec.version = '1.1.0'
|
4
|
+
spec.authors = ['Kenshi Muto']
|
5
|
+
spec.email = ['kmuto@kmuto.jp']
|
6
|
+
spec.license = 'MIT License'
|
7
|
+
spec.metadata = { 'rubygems_mfa_required' => 'true' }
|
8
|
+
|
9
|
+
spec.summary = 'Saba Webhook Gateway is Webhook handler for Mackerel'
|
10
|
+
spec.description = 'This library provides Webhook gateway library and GoogleChat poster as example.'
|
11
|
+
spec.homepage = 'https://github.com/kmuto/saba-webhook-gateway'
|
12
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
|
13
|
+
|
14
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
15
|
+
spec.metadata['source_code_uri'] = 'https://github.com/kmuto/saba-webhook-gateway'
|
16
|
+
|
17
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
18
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
|
+
end
|
20
|
+
|
21
|
+
spec.bindir = 'exe'
|
22
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
+
spec.require_paths = ['lib']
|
24
|
+
|
25
|
+
spec.add_dependency('dotenv')
|
26
|
+
spec.add_dependency('faraday')
|
27
|
+
|
28
|
+
spec.add_development_dependency('rake', '~> 12.0')
|
29
|
+
spec.add_development_dependency('rubocop', '~> 1.50')
|
30
|
+
spec.add_development_dependency('rubocop-performance')
|
31
|
+
spec.add_development_dependency('rubocop-rake')
|
32
|
+
end
|
Binary file
|