airbrake-ruby 4.15.0 → 6.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/airbrake-ruby/async_sender.rb +4 -2
- data/lib/airbrake-ruby/backtrace.rb +6 -5
- data/lib/airbrake-ruby/config/processor.rb +77 -0
- data/lib/airbrake-ruby/config/validator.rb +6 -0
- data/lib/airbrake-ruby/config.rb +44 -35
- data/lib/airbrake-ruby/context.rb +51 -0
- data/lib/airbrake-ruby/file_cache.rb +1 -1
- data/lib/airbrake-ruby/filter_chain.rb +3 -0
- data/lib/airbrake-ruby/filters/context_filter.rb +4 -5
- data/lib/airbrake-ruby/filters/dependency_filter.rb +1 -0
- data/lib/airbrake-ruby/filters/exception_attributes_filter.rb +1 -1
- data/lib/airbrake-ruby/filters/gem_root_filter.rb +1 -0
- data/lib/airbrake-ruby/filters/git_last_checkout_filter.rb +3 -4
- data/lib/airbrake-ruby/filters/git_repository_filter.rb +11 -2
- data/lib/airbrake-ruby/filters/git_revision_filter.rb +3 -1
- data/lib/airbrake-ruby/filters/keys_filter.rb +23 -15
- data/lib/airbrake-ruby/filters/root_directory_filter.rb +1 -0
- data/lib/airbrake-ruby/filters/sql_filter.rb +11 -11
- data/lib/airbrake-ruby/filters/system_exit_filter.rb +1 -0
- data/lib/airbrake-ruby/filters/thread_filter.rb +4 -3
- data/lib/airbrake-ruby/grouppable.rb +1 -1
- data/lib/airbrake-ruby/ignorable.rb +1 -2
- data/lib/airbrake-ruby/mergeable.rb +1 -1
- data/lib/airbrake-ruby/monotonic_time.rb +1 -1
- data/lib/airbrake-ruby/notice.rb +1 -8
- data/lib/airbrake-ruby/notice_notifier.rb +4 -4
- data/lib/airbrake-ruby/performance_breakdown.rb +1 -6
- data/lib/airbrake-ruby/performance_notifier.rb +40 -54
- data/lib/airbrake-ruby/promise.rb +1 -0
- data/lib/airbrake-ruby/query.rb +1 -6
- data/lib/airbrake-ruby/queue.rb +1 -8
- data/lib/airbrake-ruby/remote_settings/callback.rb +44 -0
- data/lib/airbrake-ruby/remote_settings/settings_data.rb +116 -0
- data/lib/airbrake-ruby/remote_settings.rb +128 -0
- data/lib/airbrake-ruby/request.rb +1 -8
- data/lib/airbrake-ruby/stat.rb +2 -13
- data/lib/airbrake-ruby/sync_sender.rb +3 -2
- data/lib/airbrake-ruby/tdigest.rb +12 -9
- data/lib/airbrake-ruby/thread_pool.rb +9 -6
- data/lib/airbrake-ruby/time_truncate.rb +2 -2
- data/lib/airbrake-ruby/timed_trace.rb +1 -3
- data/lib/airbrake-ruby/truncator.rb +8 -2
- data/lib/airbrake-ruby/version.rb +11 -1
- data/lib/airbrake-ruby.rb +44 -54
- data/spec/airbrake_spec.rb +178 -92
- data/spec/async_sender_spec.rb +10 -8
- data/spec/backtrace_spec.rb +39 -36
- data/spec/benchmark_spec.rb +7 -5
- data/spec/code_hunk_spec.rb +26 -17
- data/spec/config/processor_spec.rb +167 -0
- data/spec/config/validator_spec.rb +23 -3
- data/spec/config_spec.rb +43 -55
- data/spec/context_spec.rb +54 -0
- data/spec/deploy_notifier_spec.rb +6 -4
- data/spec/file_cache_spec.rb +1 -0
- data/spec/filter_chain_spec.rb +29 -24
- data/spec/filters/context_filter_spec.rb +14 -5
- data/spec/filters/dependency_filter_spec.rb +3 -1
- data/spec/filters/exception_attributes_filter_spec.rb +5 -3
- data/spec/filters/gem_root_filter_spec.rb +9 -6
- data/spec/filters/git_last_checkout_filter_spec.rb +10 -12
- data/spec/filters/{git_repository_filter.rb → git_repository_filter_spec.rb} +26 -15
- data/spec/filters/git_revision_filter_spec.rb +20 -20
- data/spec/filters/keys_allowlist_spec.rb +26 -16
- data/spec/filters/keys_blocklist_spec.rb +35 -18
- data/spec/filters/root_directory_filter_spec.rb +7 -7
- data/spec/filters/sql_filter_spec.rb +28 -28
- data/spec/filters/system_exit_filter_spec.rb +4 -2
- data/spec/filters/thread_filter_spec.rb +16 -14
- data/spec/loggable_spec.rb +2 -2
- data/spec/monotonic_time_spec.rb +8 -6
- data/spec/nested_exception_spec.rb +46 -46
- data/spec/notice_notifier/options_spec.rb +25 -15
- data/spec/notice_notifier_spec.rb +54 -49
- data/spec/notice_spec.rb +7 -3
- data/spec/performance_breakdown_spec.rb +0 -12
- data/spec/performance_notifier_spec.rb +69 -87
- data/spec/promise_spec.rb +38 -32
- data/spec/query_spec.rb +1 -11
- data/spec/queue_spec.rb +1 -13
- data/spec/remote_settings/callback_spec.rb +162 -0
- data/spec/remote_settings/settings_data_spec.rb +348 -0
- data/spec/remote_settings_spec.rb +201 -0
- data/spec/request_spec.rb +1 -13
- data/spec/response_spec.rb +34 -12
- data/spec/spec_helper.rb +4 -4
- data/spec/stashable_spec.rb +5 -5
- data/spec/stat_spec.rb +7 -14
- data/spec/sync_sender_spec.rb +52 -17
- data/spec/tdigest_spec.rb +61 -56
- data/spec/thread_pool_spec.rb +67 -58
- data/spec/time_truncate_spec.rb +23 -6
- data/spec/timed_trace_spec.rb +32 -30
- data/spec/truncator_spec.rb +72 -43
- metadata +67 -51
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airbrake-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Airbrake Technologies, Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbtree3
|
@@ -44,7 +44,9 @@ files:
|
|
44
44
|
- lib/airbrake-ruby/benchmark.rb
|
45
45
|
- lib/airbrake-ruby/code_hunk.rb
|
46
46
|
- lib/airbrake-ruby/config.rb
|
47
|
+
- lib/airbrake-ruby/config/processor.rb
|
47
48
|
- lib/airbrake-ruby/config/validator.rb
|
49
|
+
- lib/airbrake-ruby/context.rb
|
48
50
|
- lib/airbrake-ruby/deploy_notifier.rb
|
49
51
|
- lib/airbrake-ruby/file_cache.rb
|
50
52
|
- lib/airbrake-ruby/filter_chain.rb
|
@@ -77,6 +79,9 @@ files:
|
|
77
79
|
- lib/airbrake-ruby/promise.rb
|
78
80
|
- lib/airbrake-ruby/query.rb
|
79
81
|
- lib/airbrake-ruby/queue.rb
|
82
|
+
- lib/airbrake-ruby/remote_settings.rb
|
83
|
+
- lib/airbrake-ruby/remote_settings/callback.rb
|
84
|
+
- lib/airbrake-ruby/remote_settings/settings_data.rb
|
80
85
|
- lib/airbrake-ruby/request.rb
|
81
86
|
- lib/airbrake-ruby/response.rb
|
82
87
|
- lib/airbrake-ruby/stashable.rb
|
@@ -93,8 +98,10 @@ files:
|
|
93
98
|
- spec/backtrace_spec.rb
|
94
99
|
- spec/benchmark_spec.rb
|
95
100
|
- spec/code_hunk_spec.rb
|
101
|
+
- spec/config/processor_spec.rb
|
96
102
|
- spec/config/validator_spec.rb
|
97
103
|
- spec/config_spec.rb
|
104
|
+
- spec/context_spec.rb
|
98
105
|
- spec/deploy_notifier_spec.rb
|
99
106
|
- spec/file_cache_spec.rb
|
100
107
|
- spec/filter_chain_spec.rb
|
@@ -103,7 +110,7 @@ files:
|
|
103
110
|
- spec/filters/exception_attributes_filter_spec.rb
|
104
111
|
- spec/filters/gem_root_filter_spec.rb
|
105
112
|
- spec/filters/git_last_checkout_filter_spec.rb
|
106
|
-
- spec/filters/
|
113
|
+
- spec/filters/git_repository_filter_spec.rb
|
107
114
|
- spec/filters/git_revision_filter_spec.rb
|
108
115
|
- spec/filters/keys_allowlist_spec.rb
|
109
116
|
- spec/filters/keys_blocklist_spec.rb
|
@@ -131,6 +138,9 @@ files:
|
|
131
138
|
- spec/promise_spec.rb
|
132
139
|
- spec/query_spec.rb
|
133
140
|
- spec/queue_spec.rb
|
141
|
+
- spec/remote_settings/callback_spec.rb
|
142
|
+
- spec/remote_settings/settings_data_spec.rb
|
143
|
+
- spec/remote_settings_spec.rb
|
134
144
|
- spec/request_spec.rb
|
135
145
|
- spec/response_spec.rb
|
136
146
|
- spec/spec_helper.rb
|
@@ -145,8 +155,9 @@ files:
|
|
145
155
|
homepage: https://airbrake.io
|
146
156
|
licenses:
|
147
157
|
- MIT
|
148
|
-
metadata:
|
149
|
-
|
158
|
+
metadata:
|
159
|
+
rubygems_mfa_required: 'true'
|
160
|
+
post_install_message:
|
150
161
|
rdoc_options: []
|
151
162
|
require_paths:
|
152
163
|
- lib
|
@@ -154,69 +165,74 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
154
165
|
requirements:
|
155
166
|
- - ">="
|
156
167
|
- !ruby/object:Gem::Version
|
157
|
-
version: '2.
|
168
|
+
version: '2.5'
|
158
169
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
170
|
requirements:
|
160
171
|
- - ">="
|
161
172
|
- !ruby/object:Gem::Version
|
162
173
|
version: '0'
|
163
174
|
requirements: []
|
164
|
-
rubygems_version: 3.
|
165
|
-
signing_key:
|
175
|
+
rubygems_version: 3.2.32
|
176
|
+
signing_key:
|
166
177
|
specification_version: 4
|
167
178
|
summary: Ruby notifier for https://airbrake.io
|
168
179
|
test_files:
|
169
|
-
- spec/
|
170
|
-
- spec/benchmark_spec.rb
|
171
|
-
- spec/helpers.rb
|
172
|
-
- spec/filters/exception_attributes_filter_spec.rb
|
173
|
-
- spec/filters/root_directory_filter_spec.rb
|
174
|
-
- spec/filters/sql_filter_spec.rb
|
175
|
-
- spec/filters/system_exit_filter_spec.rb
|
176
|
-
- spec/filters/thread_filter_spec.rb
|
177
|
-
- spec/filters/keys_allowlist_spec.rb
|
178
|
-
- spec/filters/dependency_filter_spec.rb
|
179
|
-
- spec/filters/context_filter_spec.rb
|
180
|
-
- spec/filters/git_last_checkout_filter_spec.rb
|
181
|
-
- spec/filters/git_revision_filter_spec.rb
|
182
|
-
- spec/filters/keys_blocklist_spec.rb
|
183
|
-
- spec/filters/gem_root_filter_spec.rb
|
184
|
-
- spec/filters/git_repository_filter.rb
|
185
|
-
- spec/spec_helper.rb
|
186
|
-
- spec/notice_spec.rb
|
187
|
-
- spec/config_spec.rb
|
188
|
-
- spec/performance_breakdown_spec.rb
|
189
|
-
- spec/tdigest_spec.rb
|
180
|
+
- spec/airbrake_spec.rb
|
190
181
|
- spec/async_sender_spec.rb
|
191
|
-
- spec/stat_spec.rb
|
192
|
-
- spec/loggable_spec.rb
|
193
182
|
- spec/backtrace_spec.rb
|
194
|
-
- spec/
|
195
|
-
- spec/
|
196
|
-
- spec/
|
197
|
-
- spec/thread_pool_spec.rb
|
183
|
+
- spec/benchmark_spec.rb
|
184
|
+
- spec/code_hunk_spec.rb
|
185
|
+
- spec/config/processor_spec.rb
|
198
186
|
- spec/config/validator_spec.rb
|
199
|
-
- spec/
|
200
|
-
- spec/
|
187
|
+
- spec/config_spec.rb
|
188
|
+
- spec/context_spec.rb
|
201
189
|
- spec/deploy_notifier_spec.rb
|
202
|
-
- spec/performance_notifier_spec.rb
|
203
|
-
- spec/airbrake_spec.rb
|
204
|
-
- spec/nested_exception_spec.rb
|
205
|
-
- spec/timed_trace_spec.rb
|
206
190
|
- spec/file_cache_spec.rb
|
207
|
-
- spec/request_spec.rb
|
208
|
-
- spec/notice_notifier/options_spec.rb
|
209
191
|
- spec/filter_chain_spec.rb
|
210
|
-
- spec/
|
211
|
-
- spec/
|
212
|
-
- spec/
|
192
|
+
- spec/filters/context_filter_spec.rb
|
193
|
+
- spec/filters/dependency_filter_spec.rb
|
194
|
+
- spec/filters/exception_attributes_filter_spec.rb
|
195
|
+
- spec/filters/gem_root_filter_spec.rb
|
196
|
+
- spec/filters/git_last_checkout_filter_spec.rb
|
197
|
+
- spec/filters/git_repository_filter_spec.rb
|
198
|
+
- spec/filters/git_revision_filter_spec.rb
|
199
|
+
- spec/filters/keys_allowlist_spec.rb
|
200
|
+
- spec/filters/keys_blocklist_spec.rb
|
201
|
+
- spec/filters/root_directory_filter_spec.rb
|
202
|
+
- spec/filters/sql_filter_spec.rb
|
203
|
+
- spec/filters/system_exit_filter_spec.rb
|
204
|
+
- spec/filters/thread_filter_spec.rb
|
213
205
|
- spec/fixtures/notroot.txt
|
214
|
-
- spec/fixtures/project_root/long_line.txt
|
215
|
-
- spec/fixtures/project_root/empty_file.rb
|
216
206
|
- spec/fixtures/project_root/code.rb
|
207
|
+
- spec/fixtures/project_root/empty_file.rb
|
208
|
+
- spec/fixtures/project_root/long_line.txt
|
217
209
|
- spec/fixtures/project_root/short_file.rb
|
218
210
|
- spec/fixtures/project_root/vendor/bundle/ignored_file.rb
|
219
|
-
- spec/
|
211
|
+
- spec/helpers.rb
|
212
|
+
- spec/ignorable_spec.rb
|
220
213
|
- spec/inspectable_spec.rb
|
221
|
-
- spec/
|
214
|
+
- spec/loggable_spec.rb
|
215
|
+
- spec/monotonic_time_spec.rb
|
216
|
+
- spec/nested_exception_spec.rb
|
217
|
+
- spec/notice_notifier/options_spec.rb
|
218
|
+
- spec/notice_notifier_spec.rb
|
219
|
+
- spec/notice_spec.rb
|
220
|
+
- spec/performance_breakdown_spec.rb
|
221
|
+
- spec/performance_notifier_spec.rb
|
222
|
+
- spec/promise_spec.rb
|
222
223
|
- spec/query_spec.rb
|
224
|
+
- spec/queue_spec.rb
|
225
|
+
- spec/remote_settings/callback_spec.rb
|
226
|
+
- spec/remote_settings/settings_data_spec.rb
|
227
|
+
- spec/remote_settings_spec.rb
|
228
|
+
- spec/request_spec.rb
|
229
|
+
- spec/response_spec.rb
|
230
|
+
- spec/spec_helper.rb
|
231
|
+
- spec/stashable_spec.rb
|
232
|
+
- spec/stat_spec.rb
|
233
|
+
- spec/sync_sender_spec.rb
|
234
|
+
- spec/tdigest_spec.rb
|
235
|
+
- spec/thread_pool_spec.rb
|
236
|
+
- spec/time_truncate_spec.rb
|
237
|
+
- spec/timed_trace_spec.rb
|
238
|
+
- spec/truncator_spec.rb
|