airbrake-ruby 5.2.0-java → 5.2.1-java
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.rb +3 -2
- data/lib/airbrake-ruby/async_sender.rb +3 -1
- data/lib/airbrake-ruby/context.rb +51 -0
- data/lib/airbrake-ruby/filter_chain.rb +2 -0
- data/lib/airbrake-ruby/filters/context_filter.rb +4 -5
- data/lib/airbrake-ruby/filters/exception_attributes_filter.rb +1 -1
- data/lib/airbrake-ruby/filters/git_last_checkout_filter.rb +1 -1
- data/lib/airbrake-ruby/filters/git_revision_filter.rb +1 -1
- data/lib/airbrake-ruby/filters/keys_filter.rb +2 -2
- data/lib/airbrake-ruby/filters/sql_filter.rb +2 -2
- data/lib/airbrake-ruby/filters/thread_filter.rb +1 -1
- data/lib/airbrake-ruby/ignorable.rb +0 -2
- data/lib/airbrake-ruby/notice_notifier.rb +3 -4
- data/lib/airbrake-ruby/performance_notifier.rb +1 -2
- data/lib/airbrake-ruby/remote_settings/settings_data.rb +1 -1
- data/lib/airbrake-ruby/tdigest.rb +7 -6
- data/lib/airbrake-ruby/thread_pool.rb +5 -3
- data/lib/airbrake-ruby/timed_trace.rb +1 -3
- data/lib/airbrake-ruby/version.rb +1 -1
- data/spec/airbrake_spec.rb +139 -76
- data/spec/async_sender_spec.rb +10 -8
- data/spec/backtrace_spec.rb +13 -10
- data/spec/benchmark_spec.rb +5 -3
- data/spec/code_hunk_spec.rb +24 -15
- data/spec/config/processor_spec.rb +12 -4
- data/spec/config/validator_spec.rb +5 -2
- data/spec/config_spec.rb +24 -16
- 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 +5 -2
- data/spec/filters/git_last_checkout_filter_spec.rb +10 -12
- data/spec/filters/git_repository_filter.rb +9 -9
- data/spec/filters/git_revision_filter_spec.rb +19 -19
- data/spec/filters/keys_allowlist_spec.rb +25 -16
- data/spec/filters/keys_blocklist_spec.rb +25 -18
- data/spec/filters/root_directory_filter_spec.rb +3 -3
- data/spec/filters/sql_filter_spec.rb +26 -26
- data/spec/filters/system_exit_filter_spec.rb +4 -2
- data/spec/filters/thread_filter_spec.rb +15 -13
- 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 +23 -13
- data/spec/notice_notifier_spec.rb +52 -47
- data/spec/notice_spec.rb +6 -2
- data/spec/performance_notifier_spec.rb +67 -60
- data/spec/promise_spec.rb +38 -32
- data/spec/remote_settings/callback_spec.rb +27 -8
- data/spec/remote_settings/settings_data_spec.rb +4 -4
- data/spec/remote_settings_spec.rb +18 -8
- data/spec/response_spec.rb +34 -12
- data/spec/stashable_spec.rb +5 -5
- data/spec/stat_spec.rb +7 -5
- data/spec/sync_sender_spec.rb +49 -16
- data/spec/tdigest_spec.rb +60 -55
- data/spec/thread_pool_spec.rb +65 -55
- data/spec/time_truncate_spec.rb +4 -2
- data/spec/timed_trace_spec.rb +32 -30
- data/spec/truncator_spec.rb +72 -43
- metadata +51 -48
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: 5.2.
|
4
|
+
version: 5.2.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Airbrake Technologies, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbtree-jruby
|
@@ -46,6 +46,7 @@ files:
|
|
46
46
|
- lib/airbrake-ruby/config.rb
|
47
47
|
- lib/airbrake-ruby/config/processor.rb
|
48
48
|
- lib/airbrake-ruby/config/validator.rb
|
49
|
+
- lib/airbrake-ruby/context.rb
|
49
50
|
- lib/airbrake-ruby/deploy_notifier.rb
|
50
51
|
- lib/airbrake-ruby/file_cache.rb
|
51
52
|
- lib/airbrake-ruby/filter_chain.rb
|
@@ -100,6 +101,7 @@ files:
|
|
100
101
|
- spec/config/processor_spec.rb
|
101
102
|
- spec/config/validator_spec.rb
|
102
103
|
- spec/config_spec.rb
|
104
|
+
- spec/context_spec.rb
|
103
105
|
- spec/deploy_notifier_spec.rb
|
104
106
|
- spec/file_cache_spec.rb
|
105
107
|
- spec/filter_chain_spec.rb
|
@@ -169,66 +171,67 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
171
|
- !ruby/object:Gem::Version
|
170
172
|
version: '0'
|
171
173
|
requirements: []
|
172
|
-
rubygems_version: 3.
|
174
|
+
rubygems_version: 3.2.15
|
173
175
|
signing_key:
|
174
176
|
specification_version: 4
|
175
177
|
summary: Ruby notifier for https://airbrake.io
|
176
178
|
test_files:
|
177
|
-
- spec/
|
178
|
-
- spec/benchmark_spec.rb
|
179
|
-
- spec/helpers.rb
|
180
|
-
- spec/filters/exception_attributes_filter_spec.rb
|
181
|
-
- spec/filters/root_directory_filter_spec.rb
|
182
|
-
- spec/filters/sql_filter_spec.rb
|
183
|
-
- spec/filters/system_exit_filter_spec.rb
|
184
|
-
- spec/filters/thread_filter_spec.rb
|
185
|
-
- spec/filters/keys_allowlist_spec.rb
|
186
|
-
- spec/filters/dependency_filter_spec.rb
|
187
|
-
- spec/filters/context_filter_spec.rb
|
188
|
-
- spec/filters/git_last_checkout_filter_spec.rb
|
189
|
-
- spec/filters/git_revision_filter_spec.rb
|
190
|
-
- spec/filters/keys_blocklist_spec.rb
|
191
|
-
- spec/filters/gem_root_filter_spec.rb
|
192
|
-
- spec/filters/git_repository_filter.rb
|
193
|
-
- spec/spec_helper.rb
|
194
|
-
- spec/notice_spec.rb
|
195
|
-
- spec/config_spec.rb
|
196
|
-
- spec/performance_breakdown_spec.rb
|
197
|
-
- spec/tdigest_spec.rb
|
179
|
+
- spec/airbrake_spec.rb
|
198
180
|
- spec/async_sender_spec.rb
|
199
|
-
- spec/stat_spec.rb
|
200
|
-
- spec/loggable_spec.rb
|
201
181
|
- spec/backtrace_spec.rb
|
202
|
-
- spec/
|
203
|
-
- spec/
|
204
|
-
- spec/promise_spec.rb
|
205
|
-
- spec/thread_pool_spec.rb
|
206
|
-
- spec/config/validator_spec.rb
|
182
|
+
- spec/benchmark_spec.rb
|
183
|
+
- spec/code_hunk_spec.rb
|
207
184
|
- spec/config/processor_spec.rb
|
208
|
-
- spec/
|
209
|
-
- spec/
|
185
|
+
- spec/config/validator_spec.rb
|
186
|
+
- spec/config_spec.rb
|
187
|
+
- spec/context_spec.rb
|
210
188
|
- spec/deploy_notifier_spec.rb
|
211
|
-
- spec/performance_notifier_spec.rb
|
212
|
-
- spec/airbrake_spec.rb
|
213
|
-
- spec/nested_exception_spec.rb
|
214
|
-
- spec/timed_trace_spec.rb
|
215
189
|
- spec/file_cache_spec.rb
|
216
|
-
- spec/request_spec.rb
|
217
|
-
- spec/notice_notifier/options_spec.rb
|
218
190
|
- spec/filter_chain_spec.rb
|
219
|
-
- spec/
|
220
|
-
- spec/
|
221
|
-
- spec/
|
222
|
-
- spec/
|
223
|
-
- spec/
|
191
|
+
- spec/filters/context_filter_spec.rb
|
192
|
+
- spec/filters/dependency_filter_spec.rb
|
193
|
+
- spec/filters/exception_attributes_filter_spec.rb
|
194
|
+
- spec/filters/gem_root_filter_spec.rb
|
195
|
+
- spec/filters/git_last_checkout_filter_spec.rb
|
196
|
+
- spec/filters/git_repository_filter.rb
|
197
|
+
- spec/filters/git_revision_filter_spec.rb
|
198
|
+
- spec/filters/keys_allowlist_spec.rb
|
199
|
+
- spec/filters/keys_blocklist_spec.rb
|
200
|
+
- spec/filters/root_directory_filter_spec.rb
|
201
|
+
- spec/filters/sql_filter_spec.rb
|
202
|
+
- spec/filters/system_exit_filter_spec.rb
|
203
|
+
- spec/filters/thread_filter_spec.rb
|
224
204
|
- spec/fixtures/notroot.txt
|
225
|
-
- spec/fixtures/project_root/long_line.txt
|
226
|
-
- spec/fixtures/project_root/empty_file.rb
|
227
205
|
- spec/fixtures/project_root/code.rb
|
206
|
+
- spec/fixtures/project_root/empty_file.rb
|
207
|
+
- spec/fixtures/project_root/long_line.txt
|
228
208
|
- spec/fixtures/project_root/short_file.rb
|
229
209
|
- spec/fixtures/project_root/vendor/bundle/ignored_file.rb
|
230
|
-
- spec/
|
210
|
+
- spec/helpers.rb
|
211
|
+
- spec/ignorable_spec.rb
|
231
212
|
- spec/inspectable_spec.rb
|
232
|
-
- spec/
|
213
|
+
- spec/loggable_spec.rb
|
214
|
+
- spec/monotonic_time_spec.rb
|
215
|
+
- spec/nested_exception_spec.rb
|
216
|
+
- spec/notice_notifier/options_spec.rb
|
217
|
+
- spec/notice_notifier_spec.rb
|
218
|
+
- spec/notice_spec.rb
|
219
|
+
- spec/performance_breakdown_spec.rb
|
220
|
+
- spec/performance_notifier_spec.rb
|
221
|
+
- spec/promise_spec.rb
|
233
222
|
- spec/query_spec.rb
|
223
|
+
- spec/queue_spec.rb
|
224
|
+
- spec/remote_settings/callback_spec.rb
|
225
|
+
- spec/remote_settings/settings_data_spec.rb
|
234
226
|
- spec/remote_settings_spec.rb
|
227
|
+
- spec/request_spec.rb
|
228
|
+
- spec/response_spec.rb
|
229
|
+
- spec/spec_helper.rb
|
230
|
+
- spec/stashable_spec.rb
|
231
|
+
- spec/stat_spec.rb
|
232
|
+
- spec/sync_sender_spec.rb
|
233
|
+
- spec/tdigest_spec.rb
|
234
|
+
- spec/thread_pool_spec.rb
|
235
|
+
- spec/time_truncate_spec.rb
|
236
|
+
- spec/timed_trace_spec.rb
|
237
|
+
- spec/truncator_spec.rb
|