datadog-notifications 0.7.0 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +2 -2
- data/Gemfile +10 -1
- data/Gemfile.lock +65 -61
- data/datadog-notifications.gemspec +0 -9
- data/lib/datadog/notifications/plugins/grape.rb +1 -1
- data/lib/datadog/notifications/version.rb +1 -1
- metadata +3 -129
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 779801609364c452e152b53151b4dd66c0861e7b596444806c66e1b05f3c1f95
|
4
|
+
data.tar.gz: bb5a3a7b797084fbb980b9150f475f28a8c3c8eb290eafb34833e55362124537
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04c5df4de156fa35e4fad1d574ce1964d312b51cc3ef3cf282a7aadba9454dca5e3a89f1d0a10b850f0889be07eaf000e3246a9bf2c263e43b633af2e341fa5c
|
7
|
+
data.tar.gz: c29addc7cb14220158a672c805780c2a4c68e82c9437ffc7b6367d575f2c2a7f07a4a844bb3fca8d789d7a94558e9fa297ce0593dcde17fd126a01a85cea873e
|
data/.github/workflows/ruby.yml
CHANGED
@@ -11,9 +11,9 @@ jobs:
|
|
11
11
|
runs-on: ubuntu-latest
|
12
12
|
strategy:
|
13
13
|
matrix:
|
14
|
-
ruby-version: ["2.7", "3.0", "3.1"]
|
14
|
+
ruby-version: ["2.7", "3.0", "3.1", "3.2"]
|
15
15
|
steps:
|
16
|
-
- uses: actions/checkout@
|
16
|
+
- uses: actions/checkout@v3
|
17
17
|
- uses: ruby/setup-ruby@v1
|
18
18
|
with:
|
19
19
|
ruby-version: ${{ matrix.ruby-version }}
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,119 +1,123 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
datadog-notifications (0.7.
|
4
|
+
datadog-notifications (0.7.2)
|
5
5
|
activesupport
|
6
6
|
dogstatsd-ruby (>= 5.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activejob (7.0.3)
|
12
|
-
activesupport (= 7.0.3)
|
11
|
+
activejob (7.0.4.3)
|
12
|
+
activesupport (= 7.0.4.3)
|
13
13
|
globalid (>= 0.3.6)
|
14
|
-
activemodel (7.0.3)
|
15
|
-
activesupport (= 7.0.3)
|
16
|
-
activerecord (7.0.3)
|
17
|
-
activemodel (= 7.0.3)
|
18
|
-
activesupport (= 7.0.3)
|
19
|
-
activesupport (7.0.3)
|
14
|
+
activemodel (7.0.4.3)
|
15
|
+
activesupport (= 7.0.4.3)
|
16
|
+
activerecord (7.0.4.3)
|
17
|
+
activemodel (= 7.0.4.3)
|
18
|
+
activesupport (= 7.0.4.3)
|
19
|
+
activesupport (7.0.4.3)
|
20
20
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
21
21
|
i18n (>= 1.6, < 2)
|
22
22
|
minitest (>= 5.1)
|
23
23
|
tzinfo (~> 2.0)
|
24
24
|
ast (2.4.2)
|
25
25
|
builder (3.2.4)
|
26
|
-
concurrent-ruby (1.
|
26
|
+
concurrent-ruby (1.2.2)
|
27
27
|
diff-lcs (1.5.0)
|
28
28
|
dogstatsd-ruby (5.5.0)
|
29
|
-
dry-
|
29
|
+
dry-core (1.0.0)
|
30
30
|
concurrent-ruby (~> 1.0)
|
31
|
-
|
32
|
-
dry-
|
31
|
+
zeitwerk (~> 2.6)
|
32
|
+
dry-inflector (1.0.0)
|
33
|
+
dry-logic (1.5.0)
|
33
34
|
concurrent-ruby (~> 1.0)
|
34
|
-
dry-
|
35
|
-
|
35
|
+
dry-core (~> 1.0, < 2)
|
36
|
+
zeitwerk (~> 2.6)
|
37
|
+
dry-types (1.7.1)
|
36
38
|
concurrent-ruby (~> 1.0)
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
concurrent-ruby (~> 1.0)
|
43
|
-
dry-container (~> 0.3)
|
44
|
-
dry-core (~> 0.5, >= 0.5)
|
45
|
-
dry-inflector (~> 0.1, >= 0.1.2)
|
46
|
-
dry-logic (~> 1.0, >= 1.0.2)
|
47
|
-
globalid (1.0.0)
|
39
|
+
dry-core (~> 1.0)
|
40
|
+
dry-inflector (~> 1.0)
|
41
|
+
dry-logic (~> 1.4)
|
42
|
+
zeitwerk (~> 2.6)
|
43
|
+
globalid (1.1.0)
|
48
44
|
activesupport (>= 5.0)
|
49
|
-
grape (1.
|
45
|
+
grape (1.7.0)
|
50
46
|
activesupport
|
51
47
|
builder
|
52
48
|
dry-types (>= 1.1)
|
53
49
|
mustermann-grape (~> 1.0.0)
|
54
50
|
rack (>= 1.3.0)
|
55
51
|
rack-accept
|
56
|
-
i18n (1.
|
52
|
+
i18n (1.12.0)
|
57
53
|
concurrent-ruby (~> 1.0)
|
58
|
-
|
59
|
-
|
54
|
+
json (2.6.3)
|
55
|
+
mini_portile2 (2.8.1)
|
56
|
+
minitest (5.18.0)
|
57
|
+
mustermann (3.0.0)
|
60
58
|
ruby2_keywords (~> 0.0.1)
|
61
59
|
mustermann-grape (1.0.2)
|
62
60
|
mustermann (>= 1.0.0)
|
63
61
|
parallel (1.22.1)
|
64
|
-
parser (3.1.
|
62
|
+
parser (3.2.1.1)
|
65
63
|
ast (~> 2.4.1)
|
66
|
-
rack (
|
64
|
+
rack (3.0.7)
|
67
65
|
rack-accept (0.4.5)
|
68
66
|
rack (>= 0.4)
|
69
|
-
rack-test (
|
70
|
-
rack (>= 1.
|
67
|
+
rack-test (2.1.0)
|
68
|
+
rack (>= 1.3)
|
71
69
|
rainbow (3.1.1)
|
72
70
|
rake (13.0.6)
|
73
|
-
regexp_parser (2.
|
71
|
+
regexp_parser (2.7.0)
|
74
72
|
rexml (3.2.5)
|
75
|
-
rspec (3.
|
76
|
-
rspec-core (~> 3.
|
77
|
-
rspec-expectations (~> 3.
|
78
|
-
rspec-mocks (~> 3.
|
79
|
-
rspec-core (3.
|
80
|
-
rspec-support (~> 3.
|
81
|
-
rspec-expectations (3.
|
73
|
+
rspec (3.12.0)
|
74
|
+
rspec-core (~> 3.12.0)
|
75
|
+
rspec-expectations (~> 3.12.0)
|
76
|
+
rspec-mocks (~> 3.12.0)
|
77
|
+
rspec-core (3.12.1)
|
78
|
+
rspec-support (~> 3.12.0)
|
79
|
+
rspec-expectations (3.12.2)
|
82
80
|
diff-lcs (>= 1.2.0, < 2.0)
|
83
|
-
rspec-support (~> 3.
|
84
|
-
rspec-mocks (3.
|
81
|
+
rspec-support (~> 3.12.0)
|
82
|
+
rspec-mocks (3.12.4)
|
85
83
|
diff-lcs (>= 1.2.0, < 2.0)
|
86
|
-
rspec-support (~> 3.
|
87
|
-
rspec-support (3.
|
88
|
-
rubocop (1.
|
84
|
+
rspec-support (~> 3.12.0)
|
85
|
+
rspec-support (3.12.0)
|
86
|
+
rubocop (1.48.1)
|
87
|
+
json (~> 2.3)
|
89
88
|
parallel (~> 1.10)
|
90
|
-
parser (>= 3.
|
89
|
+
parser (>= 3.2.0.0)
|
91
90
|
rainbow (>= 2.2.2, < 4.0)
|
92
91
|
regexp_parser (>= 1.8, < 3.0)
|
93
92
|
rexml (>= 3.2.5, < 4.0)
|
94
|
-
rubocop-ast (>= 1.
|
93
|
+
rubocop-ast (>= 1.26.0, < 2.0)
|
95
94
|
ruby-progressbar (~> 1.7)
|
96
|
-
unicode-display_width (>=
|
97
|
-
rubocop-ast (1.
|
98
|
-
parser (>= 3.
|
99
|
-
rubocop-bsm (0.6.
|
95
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
96
|
+
rubocop-ast (1.27.0)
|
97
|
+
parser (>= 3.2.1.0)
|
98
|
+
rubocop-bsm (0.6.1)
|
100
99
|
rubocop (~> 1.0)
|
101
100
|
rubocop-performance
|
102
101
|
rubocop-rake
|
103
102
|
rubocop-rspec
|
104
|
-
rubocop-
|
103
|
+
rubocop-capybara (2.17.1)
|
104
|
+
rubocop (~> 1.41)
|
105
|
+
rubocop-performance (1.16.0)
|
105
106
|
rubocop (>= 1.7.0, < 2.0)
|
106
107
|
rubocop-ast (>= 0.4.0)
|
107
108
|
rubocop-rake (0.6.0)
|
108
109
|
rubocop (~> 1.0)
|
109
|
-
rubocop-rspec (2.
|
110
|
-
rubocop (~> 1.
|
111
|
-
|
110
|
+
rubocop-rspec (2.19.0)
|
111
|
+
rubocop (~> 1.33)
|
112
|
+
rubocop-capybara (~> 2.17)
|
113
|
+
ruby-progressbar (1.13.0)
|
112
114
|
ruby2_keywords (0.0.5)
|
113
|
-
sqlite3 (1.
|
114
|
-
|
115
|
+
sqlite3 (1.6.1)
|
116
|
+
mini_portile2 (~> 2.8.0)
|
117
|
+
tzinfo (2.0.6)
|
115
118
|
concurrent-ruby (~> 1.0)
|
116
|
-
unicode-display_width (2.
|
119
|
+
unicode-display_width (2.4.2)
|
120
|
+
zeitwerk (2.6.7)
|
117
121
|
|
118
122
|
PLATFORMS
|
119
123
|
ruby
|
@@ -121,9 +125,9 @@ PLATFORMS
|
|
121
125
|
DEPENDENCIES
|
122
126
|
activejob
|
123
127
|
activerecord
|
124
|
-
bundler
|
125
128
|
datadog-notifications!
|
126
129
|
grape (>= 1.0.2)
|
130
|
+
mustermann (>= 3.0)
|
127
131
|
rack-test
|
128
132
|
rake
|
129
133
|
rspec
|
@@ -18,14 +18,5 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.add_runtime_dependency 'activesupport'
|
19
19
|
s.add_runtime_dependency 'dogstatsd-ruby', '>= 5.0'
|
20
20
|
|
21
|
-
s.add_development_dependency 'activejob'
|
22
|
-
s.add_development_dependency 'activerecord'
|
23
|
-
s.add_development_dependency 'bundler'
|
24
|
-
s.add_development_dependency 'grape', '>= 1.0.2'
|
25
|
-
s.add_development_dependency 'rack-test'
|
26
|
-
s.add_development_dependency 'rake'
|
27
|
-
s.add_development_dependency 'rspec'
|
28
|
-
s.add_development_dependency 'rubocop-bsm'
|
29
|
-
s.add_development_dependency 'sqlite3'
|
30
21
|
s.metadata['rubygems_mfa_required'] = 'true'
|
31
22
|
end
|
@@ -35,7 +35,7 @@ module Datadog::Notifications::Plugins
|
|
35
35
|
status = exception_handler.call(payload[:exception_object]) if payload[:exception_object]
|
36
36
|
|
37
37
|
path = extract_path(endpoint)
|
38
|
-
path.gsub!(%r{[^\w
|
38
|
+
path.gsub!(%r{[^\w/-]+}, '_')
|
39
39
|
|
40
40
|
tags = self.tags + %W[method:#{method} status:#{status}]
|
41
41
|
tags.push "path:#{path}" if path
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datadog-notifications
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitrij Denissenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -38,132 +38,6 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '5.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: activejob
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: activerecord
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: bundler
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: grape
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 1.0.2
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 1.0.2
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rack-test
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rake
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rspec
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rubocop-bsm
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: sqlite3
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ">="
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
41
|
description: Datadog instrumentation for ActiveSupport::Notifications
|
168
42
|
email:
|
169
43
|
- dimitrij@blacksquaremedia.com
|
@@ -218,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
92
|
- !ruby/object:Gem::Version
|
219
93
|
version: '0'
|
220
94
|
requirements: []
|
221
|
-
rubygems_version: 3.
|
95
|
+
rubygems_version: 3.4.6
|
222
96
|
signing_key:
|
223
97
|
specification_version: 4
|
224
98
|
summary: Generic ActiveSupport::Notifications Datadog handler
|