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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5935ae5cdf0ad8a0b97044ee63f11b1a7c0c21b4d9d901bff27e14d2d7543b22
4
- data.tar.gz: 0aa3de2457df6fb8d23e2ae3ac456cc7c463cc13482851e4e750fa1f1e53a8de
3
+ metadata.gz: 779801609364c452e152b53151b4dd66c0861e7b596444806c66e1b05f3c1f95
4
+ data.tar.gz: bb5a3a7b797084fbb980b9150f475f28a8c3c8eb290eafb34833e55362124537
5
5
  SHA512:
6
- metadata.gz: b87c1cd9fc7b2f2f0c4514661b4dd914ef1c529808c6eb1fad0ed1ee20a852b305e96d07b8ca297010495c7d8ae7982cf0cb7e93f8aca75b122d692f4985b415
7
- data.tar.gz: 81e36be184535761d78a0e6c1dfd555232b6af6fbd86f6942d00892a5ca63b38377bdef49d60fbd4561794517b583c756bb508aecd34b4dc2e8fc8e9c898e63a
6
+ metadata.gz: 04c5df4de156fa35e4fad1d574ce1964d312b51cc3ef3cf282a7aadba9454dca5e3a89f1d0a10b850f0889be07eaf000e3246a9bf2c263e43b633af2e341fa5c
7
+ data.tar.gz: c29addc7cb14220158a672c805780c2a4c68e82c9437ffc7b6367d575f2c2a7f07a4a844bb3fca8d789d7a94558e9fa297ce0593dcde17fd126a01a85cea873e
@@ -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@v2
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
@@ -1,3 +1,12 @@
1
1
  source 'https://rubygems.org'
2
-
3
2
  gemspec
3
+
4
+ gem 'activejob'
5
+ gem 'activerecord'
6
+ gem 'grape', '>= 1.0.2'
7
+ gem 'mustermann', '>= 3.0'
8
+ gem 'rack-test'
9
+ gem 'rake'
10
+ gem 'rspec'
11
+ gem 'rubocop-bsm'
12
+ gem 'sqlite3'
data/Gemfile.lock CHANGED
@@ -1,119 +1,123 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- datadog-notifications (0.7.0)
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.1.10)
26
+ concurrent-ruby (1.2.2)
27
27
  diff-lcs (1.5.0)
28
28
  dogstatsd-ruby (5.5.0)
29
- dry-configurable (0.15.0)
29
+ dry-core (1.0.0)
30
30
  concurrent-ruby (~> 1.0)
31
- dry-core (~> 0.6)
32
- dry-container (0.9.0)
31
+ zeitwerk (~> 2.6)
32
+ dry-inflector (1.0.0)
33
+ dry-logic (1.5.0)
33
34
  concurrent-ruby (~> 1.0)
34
- dry-configurable (~> 0.13, >= 0.13.0)
35
- dry-core (0.7.1)
35
+ dry-core (~> 1.0, < 2)
36
+ zeitwerk (~> 2.6)
37
+ dry-types (1.7.1)
36
38
  concurrent-ruby (~> 1.0)
37
- dry-inflector (0.2.1)
38
- dry-logic (1.2.0)
39
- concurrent-ruby (~> 1.0)
40
- dry-core (~> 0.5, >= 0.5)
41
- dry-types (1.5.1)
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.6.2)
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.10.0)
52
+ i18n (1.12.0)
57
53
  concurrent-ruby (~> 1.0)
58
- minitest (5.15.0)
59
- mustermann (1.1.1)
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.2.0)
62
+ parser (3.2.1.1)
65
63
  ast (~> 2.4.1)
66
- rack (2.2.3.1)
64
+ rack (3.0.7)
67
65
  rack-accept (0.4.5)
68
66
  rack (>= 0.4)
69
- rack-test (1.1.0)
70
- rack (>= 1.0, < 3)
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.5.0)
71
+ regexp_parser (2.7.0)
74
72
  rexml (3.2.5)
75
- rspec (3.11.0)
76
- rspec-core (~> 3.11.0)
77
- rspec-expectations (~> 3.11.0)
78
- rspec-mocks (~> 3.11.0)
79
- rspec-core (3.11.0)
80
- rspec-support (~> 3.11.0)
81
- rspec-expectations (3.11.0)
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.11.0)
84
- rspec-mocks (3.11.1)
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.11.0)
87
- rspec-support (3.11.0)
88
- rubocop (1.30.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.1.0.0)
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.18.0, < 2.0)
93
+ rubocop-ast (>= 1.26.0, < 2.0)
95
94
  ruby-progressbar (~> 1.7)
96
- unicode-display_width (>= 1.4.0, < 3.0)
97
- rubocop-ast (1.18.0)
98
- parser (>= 3.1.1.0)
99
- rubocop-bsm (0.6.0)
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-performance (1.14.1)
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.11.1)
110
- rubocop (~> 1.19)
111
- ruby-progressbar (1.11.0)
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.4.2)
114
- tzinfo (2.0.4)
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.1.0)
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
@@ -1,5 +1,5 @@
1
1
  module Datadog
2
2
  class Notifications
3
- VERSION = '0.7.0'.freeze
3
+ VERSION = '0.7.2'.freeze
4
4
  end
5
5
  end
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.0
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: 2022-06-06 00:00:00.000000000 Z
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.3.7
95
+ rubygems_version: 3.4.6
222
96
  signing_key:
223
97
  specification_version: 4
224
98
  summary: Generic ActiveSupport::Notifications Datadog handler