airbrake-ruby 3.2.2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/airbrake-ruby.rb +554 -0
- data/lib/airbrake-ruby/async_sender.rb +119 -0
- data/lib/airbrake-ruby/backtrace.rb +194 -0
- data/lib/airbrake-ruby/code_hunk.rb +53 -0
- data/lib/airbrake-ruby/config.rb +238 -0
- data/lib/airbrake-ruby/config/validator.rb +63 -0
- data/lib/airbrake-ruby/deploy_notifier.rb +47 -0
- data/lib/airbrake-ruby/file_cache.rb +48 -0
- data/lib/airbrake-ruby/filter_chain.rb +95 -0
- data/lib/airbrake-ruby/filters/context_filter.rb +29 -0
- data/lib/airbrake-ruby/filters/dependency_filter.rb +31 -0
- data/lib/airbrake-ruby/filters/exception_attributes_filter.rb +45 -0
- data/lib/airbrake-ruby/filters/gem_root_filter.rb +33 -0
- data/lib/airbrake-ruby/filters/git_last_checkout_filter.rb +90 -0
- data/lib/airbrake-ruby/filters/git_repository_filter.rb +42 -0
- data/lib/airbrake-ruby/filters/git_revision_filter.rb +66 -0
- data/lib/airbrake-ruby/filters/keys_blacklist.rb +50 -0
- data/lib/airbrake-ruby/filters/keys_filter.rb +140 -0
- data/lib/airbrake-ruby/filters/keys_whitelist.rb +49 -0
- data/lib/airbrake-ruby/filters/root_directory_filter.rb +28 -0
- data/lib/airbrake-ruby/filters/sql_filter.rb +104 -0
- data/lib/airbrake-ruby/filters/system_exit_filter.rb +23 -0
- data/lib/airbrake-ruby/filters/thread_filter.rb +92 -0
- data/lib/airbrake-ruby/hash_keyable.rb +37 -0
- data/lib/airbrake-ruby/ignorable.rb +44 -0
- data/lib/airbrake-ruby/nested_exception.rb +39 -0
- data/lib/airbrake-ruby/notice.rb +165 -0
- data/lib/airbrake-ruby/notice_notifier.rb +228 -0
- data/lib/airbrake-ruby/performance_notifier.rb +161 -0
- data/lib/airbrake-ruby/promise.rb +99 -0
- data/lib/airbrake-ruby/response.rb +71 -0
- data/lib/airbrake-ruby/stat.rb +56 -0
- data/lib/airbrake-ruby/sync_sender.rb +111 -0
- data/lib/airbrake-ruby/tdigest.rb +393 -0
- data/lib/airbrake-ruby/time_truncate.rb +17 -0
- data/lib/airbrake-ruby/truncator.rb +115 -0
- data/lib/airbrake-ruby/version.rb +6 -0
- data/spec/airbrake_spec.rb +171 -0
- data/spec/async_sender_spec.rb +154 -0
- data/spec/backtrace_spec.rb +438 -0
- data/spec/code_hunk_spec.rb +118 -0
- data/spec/config/validator_spec.rb +189 -0
- data/spec/config_spec.rb +281 -0
- data/spec/deploy_notifier_spec.rb +41 -0
- data/spec/file_cache.rb +36 -0
- data/spec/filter_chain_spec.rb +83 -0
- data/spec/filters/context_filter_spec.rb +25 -0
- data/spec/filters/dependency_filter_spec.rb +14 -0
- data/spec/filters/exception_attributes_filter_spec.rb +63 -0
- data/spec/filters/gem_root_filter_spec.rb +44 -0
- data/spec/filters/git_last_checkout_filter_spec.rb +48 -0
- data/spec/filters/git_repository_filter.rb +53 -0
- data/spec/filters/git_revision_filter_spec.rb +126 -0
- data/spec/filters/keys_blacklist_spec.rb +236 -0
- data/spec/filters/keys_whitelist_spec.rb +205 -0
- data/spec/filters/root_directory_filter_spec.rb +42 -0
- data/spec/filters/sql_filter_spec.rb +219 -0
- data/spec/filters/system_exit_filter_spec.rb +14 -0
- data/spec/filters/thread_filter_spec.rb +279 -0
- data/spec/fixtures/notroot.txt +7 -0
- data/spec/fixtures/project_root/code.rb +221 -0
- data/spec/fixtures/project_root/empty_file.rb +0 -0
- data/spec/fixtures/project_root/long_line.txt +1 -0
- data/spec/fixtures/project_root/short_file.rb +3 -0
- data/spec/fixtures/project_root/vendor/bundle/ignored_file.rb +5 -0
- data/spec/helpers.rb +9 -0
- data/spec/ignorable_spec.rb +14 -0
- data/spec/nested_exception_spec.rb +75 -0
- data/spec/notice_notifier_spec.rb +436 -0
- data/spec/notice_notifier_spec/options_spec.rb +266 -0
- data/spec/notice_spec.rb +297 -0
- data/spec/performance_notifier_spec.rb +287 -0
- data/spec/promise_spec.rb +165 -0
- data/spec/response_spec.rb +82 -0
- data/spec/spec_helper.rb +102 -0
- data/spec/stat_spec.rb +35 -0
- data/spec/sync_sender_spec.rb +140 -0
- data/spec/tdigest_spec.rb +230 -0
- data/spec/time_truncate_spec.rb +13 -0
- data/spec/truncator_spec.rb +238 -0
- metadata +278 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
RSpec.describe Airbrake::TimeTruncate do
|
2
|
+
describe "#utc_truncate_minutes" do
|
3
|
+
it "truncates time to the floor minute and returns an RFC3339 timestamp" do
|
4
|
+
time = Time.new(2018, 1, 1, 0, 0, 20, 0)
|
5
|
+
expect(subject.utc_truncate_minutes(time)).to eq('2018-01-01T00:00:00+00:00')
|
6
|
+
end
|
7
|
+
|
8
|
+
it "converts time with zone to UTC" do
|
9
|
+
time = Time.new(2018, 1, 1, 0, 0, 20, '-05:00')
|
10
|
+
expect(subject.utc_truncate_minutes(time)).to eq('2018-01-01T05:00:00+00:00')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,238 @@
|
|
1
|
+
RSpec.describe Airbrake::Truncator do
|
2
|
+
def multiply_by_2_max_len(chr)
|
3
|
+
chr * 2 * max_len
|
4
|
+
end
|
5
|
+
|
6
|
+
describe "#truncate" do
|
7
|
+
let(:max_size) { 3 }
|
8
|
+
let(:truncated) { '[Truncated]' }
|
9
|
+
let(:max_len) { max_size + truncated.length }
|
10
|
+
|
11
|
+
subject { described_class.new(max_size).truncate(object) }
|
12
|
+
|
13
|
+
context "given a frozen string" do
|
14
|
+
let(:object) { multiply_by_2_max_len('a') }
|
15
|
+
|
16
|
+
it "returns a new truncated frozen string" do
|
17
|
+
expect(subject.length).to eq(max_len)
|
18
|
+
expect(subject).to be_frozen
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
context "given a frozen hash of strings" do
|
23
|
+
let(:object) do
|
24
|
+
{
|
25
|
+
banana: multiply_by_2_max_len('a'),
|
26
|
+
kiwi: multiply_by_2_max_len('b'),
|
27
|
+
strawberry: 'c',
|
28
|
+
shrimp: 'd'
|
29
|
+
}.freeze
|
30
|
+
end
|
31
|
+
|
32
|
+
it "returns a new truncated frozen hash" do
|
33
|
+
expect(subject.size).to eq(max_size)
|
34
|
+
expect(subject).to be_frozen
|
35
|
+
|
36
|
+
expect(subject).to eq(
|
37
|
+
banana: 'aaa[Truncated]', kiwi: 'bbb[Truncated]', strawberry: 'c'
|
38
|
+
)
|
39
|
+
expect(subject[:banana]).to be_frozen
|
40
|
+
expect(subject[:kiwi]).to be_frozen
|
41
|
+
expect(subject[:strawberry]).not_to be_frozen
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
context "given a frozen array of strings" do
|
46
|
+
let(:object) do
|
47
|
+
[
|
48
|
+
multiply_by_2_max_len('a'),
|
49
|
+
'b',
|
50
|
+
multiply_by_2_max_len('c'),
|
51
|
+
'd'
|
52
|
+
].freeze
|
53
|
+
end
|
54
|
+
|
55
|
+
it "returns a new truncated frozen array" do
|
56
|
+
expect(subject.size).to eq(max_size)
|
57
|
+
expect(subject).to be_frozen
|
58
|
+
|
59
|
+
expect(subject).to eq(['aaa[Truncated]', 'b', 'ccc[Truncated]'])
|
60
|
+
expect(subject[0]).to be_frozen
|
61
|
+
expect(subject[1]).not_to be_frozen
|
62
|
+
expect(subject[2]).to be_frozen
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
context "given a frozen set of strings" do
|
67
|
+
let(:object) do
|
68
|
+
Set.new([
|
69
|
+
multiply_by_2_max_len('a'),
|
70
|
+
'b',
|
71
|
+
multiply_by_2_max_len('c'),
|
72
|
+
'd'
|
73
|
+
]).freeze
|
74
|
+
end
|
75
|
+
|
76
|
+
it "returns a new truncated frozen array" do
|
77
|
+
expect(subject.size).to eq(max_size)
|
78
|
+
expect(subject).to be_frozen
|
79
|
+
|
80
|
+
expect(subject).to eq(
|
81
|
+
Set.new(['aaa[Truncated]', 'b', 'ccc[Truncated]'])
|
82
|
+
)
|
83
|
+
expect(subject).to be_frozen
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
context "given an arbitrary frozen object that responds to #to_json" do
|
88
|
+
let(:object) do
|
89
|
+
obj = Object.new
|
90
|
+
def obj.to_json
|
91
|
+
'{"object":"shrimp"}'
|
92
|
+
end
|
93
|
+
obj.freeze
|
94
|
+
end
|
95
|
+
|
96
|
+
it "converts the object to truncated JSON" do
|
97
|
+
expect(subject.length).to eq(max_len)
|
98
|
+
expect(subject).to be_frozen
|
99
|
+
|
100
|
+
expect(subject).to eq('{"o[Truncated]')
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
context "given an arbitrary object that doesn't respond to #to_json" do
|
105
|
+
let(:object) do
|
106
|
+
obj = Object.new
|
107
|
+
allow(obj).to receive(:to_json).
|
108
|
+
and_raise(Airbrake::Notice::JSON_EXCEPTIONS.first)
|
109
|
+
obj
|
110
|
+
end
|
111
|
+
|
112
|
+
it "converts the object to a truncated string" do
|
113
|
+
expect(subject.length).to eq(max_len)
|
114
|
+
expect(subject).to eq('#<O[Truncated]')
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
shared_examples 'self returning objects' do |object|
|
119
|
+
it "returns the passed object" do
|
120
|
+
expect(described_class.new(max_size).truncate(object)).to eql(object)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
[1, true, false, :symbol, nil].each do |object|
|
125
|
+
include_examples 'self returning objects', object
|
126
|
+
end
|
127
|
+
|
128
|
+
context "given a recursive array" do
|
129
|
+
let(:object) do
|
130
|
+
a = %w[aaaaa bb]
|
131
|
+
a << a
|
132
|
+
a << 'c'
|
133
|
+
a
|
134
|
+
end
|
135
|
+
|
136
|
+
it "prevents recursion" do
|
137
|
+
expect(subject).to eq(['aaa[Truncated]', 'bb', '[Circular]'])
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
context "given a recursive array with recursive hashes" do
|
142
|
+
let(:object) do
|
143
|
+
a = []
|
144
|
+
a << a
|
145
|
+
|
146
|
+
h = {}
|
147
|
+
h[:k] = h
|
148
|
+
a << h << 'aaaa'
|
149
|
+
end
|
150
|
+
|
151
|
+
it "prevents recursion" do
|
152
|
+
expect(subject).to eq(['[Circular]', { k: '[Circular]' }, 'aaa[Truncated]'])
|
153
|
+
expect(subject).to be_frozen
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
context "given a recursive set with recursive arrays" do
|
158
|
+
let(:object) do
|
159
|
+
s = Set.new
|
160
|
+
s << s
|
161
|
+
|
162
|
+
h = {}
|
163
|
+
h[:k] = h
|
164
|
+
s << h << 'aaaa'
|
165
|
+
end
|
166
|
+
|
167
|
+
it "prevents recursion" do
|
168
|
+
expect(subject).to eq(
|
169
|
+
Set.new(['[Circular]', { k: '[Circular]' }, 'aaa[Truncated]'])
|
170
|
+
)
|
171
|
+
expect(subject).to be_frozen
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
context "given a hash with long strings" do
|
176
|
+
let(:object) do
|
177
|
+
{
|
178
|
+
a: multiply_by_2_max_len('a'),
|
179
|
+
b: multiply_by_2_max_len('b'),
|
180
|
+
c: { d: multiply_by_2_max_len('d'), e: 'e' }
|
181
|
+
}
|
182
|
+
end
|
183
|
+
|
184
|
+
it "truncates the long strings" do
|
185
|
+
expect(subject).to eq(
|
186
|
+
a: 'aaa[Truncated]', b: 'bbb[Truncated]', c: { d: 'ddd[Truncated]', e: 'e' }
|
187
|
+
)
|
188
|
+
expect(subject).to be_frozen
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
context "given a string with valid unicode characters" do
|
193
|
+
let(:object) { "€€€€€" }
|
194
|
+
|
195
|
+
it "truncates the string" do
|
196
|
+
expect(subject).to eq("€€€[Truncated]")
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
context "given an ASCII-8BIT string with invalid characters" do
|
201
|
+
let(:object) do
|
202
|
+
# Shenanigans to get a bad ASCII-8BIT string. Direct conversion raises error.
|
203
|
+
encoded = Base64.encode64("\xD3\xE6\xBC\x9D\xBA").encode!('ASCII-8BIT')
|
204
|
+
Base64.decode64(encoded).freeze
|
205
|
+
end
|
206
|
+
|
207
|
+
it "converts and truncates the string to UTF-8" do
|
208
|
+
expect(subject).to eq("���[Truncated]")
|
209
|
+
expect(subject).to be_frozen
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
context "given an array with hashes and hash-like objects with identical keys" do
|
214
|
+
let(:hashie) { Class.new(Hash) }
|
215
|
+
|
216
|
+
let(:object) do
|
217
|
+
{
|
218
|
+
errors: [
|
219
|
+
{ file: 'a' },
|
220
|
+
{ file: 'a' },
|
221
|
+
hashie.new.merge(file: 'bcde')
|
222
|
+
]
|
223
|
+
}
|
224
|
+
end
|
225
|
+
|
226
|
+
it "truncates values" do
|
227
|
+
expect(subject).to eq(
|
228
|
+
errors: [
|
229
|
+
{ file: 'a' },
|
230
|
+
{ file: 'a' },
|
231
|
+
hashie.new.merge(file: 'bcd[Truncated]')
|
232
|
+
]
|
233
|
+
)
|
234
|
+
expect(subject).to be_frozen
|
235
|
+
end
|
236
|
+
end
|
237
|
+
end
|
238
|
+
end
|
metadata
ADDED
@@ -0,0 +1,278 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: airbrake-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.2.2
|
5
|
+
platform: java
|
6
|
+
authors:
|
7
|
+
- Airbrake Technologies, Inc.
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-02-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rspec
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: pry
|
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: webmock
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.3'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: benchmark-ips
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '2'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: public_suffix
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '2.0'
|
90
|
+
- - "<"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '3.0'
|
93
|
+
type: :development
|
94
|
+
prerelease: false
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '2.0'
|
100
|
+
- - "<"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '3.0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rbtree-jruby
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0.2'
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0.2'
|
117
|
+
description: |
|
118
|
+
Airbrake Ruby is a plain Ruby notifier for Airbrake (https://airbrake.io), the
|
119
|
+
leading exception reporting service. Airbrake Ruby provides minimalist API that
|
120
|
+
enables the ability to send any Ruby exception to the Airbrake dashboard. The
|
121
|
+
library is extremely lightweight and it perfectly suits plain Ruby applications.
|
122
|
+
For apps that are built with Rails, Sinatra or any other Rack-compliant web
|
123
|
+
framework we offer the airbrake gem (https://github.com/airbrake/airbrake). It
|
124
|
+
has additional features such as reporting of any unhandled exceptions
|
125
|
+
automatically, integrations with Resque, Sidekiq, Delayed Job and many more.
|
126
|
+
email: support@airbrake.io
|
127
|
+
executables: []
|
128
|
+
extensions: []
|
129
|
+
extra_rdoc_files: []
|
130
|
+
files:
|
131
|
+
- lib/airbrake-ruby.rb
|
132
|
+
- lib/airbrake-ruby/async_sender.rb
|
133
|
+
- lib/airbrake-ruby/backtrace.rb
|
134
|
+
- lib/airbrake-ruby/code_hunk.rb
|
135
|
+
- lib/airbrake-ruby/config.rb
|
136
|
+
- lib/airbrake-ruby/config/validator.rb
|
137
|
+
- lib/airbrake-ruby/deploy_notifier.rb
|
138
|
+
- lib/airbrake-ruby/file_cache.rb
|
139
|
+
- lib/airbrake-ruby/filter_chain.rb
|
140
|
+
- lib/airbrake-ruby/filters/context_filter.rb
|
141
|
+
- lib/airbrake-ruby/filters/dependency_filter.rb
|
142
|
+
- lib/airbrake-ruby/filters/exception_attributes_filter.rb
|
143
|
+
- lib/airbrake-ruby/filters/gem_root_filter.rb
|
144
|
+
- lib/airbrake-ruby/filters/git_last_checkout_filter.rb
|
145
|
+
- lib/airbrake-ruby/filters/git_repository_filter.rb
|
146
|
+
- lib/airbrake-ruby/filters/git_revision_filter.rb
|
147
|
+
- lib/airbrake-ruby/filters/keys_blacklist.rb
|
148
|
+
- lib/airbrake-ruby/filters/keys_filter.rb
|
149
|
+
- lib/airbrake-ruby/filters/keys_whitelist.rb
|
150
|
+
- lib/airbrake-ruby/filters/root_directory_filter.rb
|
151
|
+
- lib/airbrake-ruby/filters/sql_filter.rb
|
152
|
+
- lib/airbrake-ruby/filters/system_exit_filter.rb
|
153
|
+
- lib/airbrake-ruby/filters/thread_filter.rb
|
154
|
+
- lib/airbrake-ruby/hash_keyable.rb
|
155
|
+
- lib/airbrake-ruby/ignorable.rb
|
156
|
+
- lib/airbrake-ruby/nested_exception.rb
|
157
|
+
- lib/airbrake-ruby/notice.rb
|
158
|
+
- lib/airbrake-ruby/notice_notifier.rb
|
159
|
+
- lib/airbrake-ruby/performance_notifier.rb
|
160
|
+
- lib/airbrake-ruby/promise.rb
|
161
|
+
- lib/airbrake-ruby/response.rb
|
162
|
+
- lib/airbrake-ruby/stat.rb
|
163
|
+
- lib/airbrake-ruby/sync_sender.rb
|
164
|
+
- lib/airbrake-ruby/tdigest.rb
|
165
|
+
- lib/airbrake-ruby/time_truncate.rb
|
166
|
+
- lib/airbrake-ruby/truncator.rb
|
167
|
+
- lib/airbrake-ruby/version.rb
|
168
|
+
- spec/airbrake_spec.rb
|
169
|
+
- spec/async_sender_spec.rb
|
170
|
+
- spec/backtrace_spec.rb
|
171
|
+
- spec/code_hunk_spec.rb
|
172
|
+
- spec/config/validator_spec.rb
|
173
|
+
- spec/config_spec.rb
|
174
|
+
- spec/deploy_notifier_spec.rb
|
175
|
+
- spec/file_cache.rb
|
176
|
+
- spec/filter_chain_spec.rb
|
177
|
+
- spec/filters/context_filter_spec.rb
|
178
|
+
- spec/filters/dependency_filter_spec.rb
|
179
|
+
- spec/filters/exception_attributes_filter_spec.rb
|
180
|
+
- spec/filters/gem_root_filter_spec.rb
|
181
|
+
- spec/filters/git_last_checkout_filter_spec.rb
|
182
|
+
- spec/filters/git_repository_filter.rb
|
183
|
+
- spec/filters/git_revision_filter_spec.rb
|
184
|
+
- spec/filters/keys_blacklist_spec.rb
|
185
|
+
- spec/filters/keys_whitelist_spec.rb
|
186
|
+
- spec/filters/root_directory_filter_spec.rb
|
187
|
+
- spec/filters/sql_filter_spec.rb
|
188
|
+
- spec/filters/system_exit_filter_spec.rb
|
189
|
+
- spec/filters/thread_filter_spec.rb
|
190
|
+
- spec/fixtures/notroot.txt
|
191
|
+
- spec/fixtures/project_root/code.rb
|
192
|
+
- spec/fixtures/project_root/empty_file.rb
|
193
|
+
- spec/fixtures/project_root/long_line.txt
|
194
|
+
- spec/fixtures/project_root/short_file.rb
|
195
|
+
- spec/fixtures/project_root/vendor/bundle/ignored_file.rb
|
196
|
+
- spec/helpers.rb
|
197
|
+
- spec/ignorable_spec.rb
|
198
|
+
- spec/nested_exception_spec.rb
|
199
|
+
- spec/notice_notifier_spec.rb
|
200
|
+
- spec/notice_notifier_spec/options_spec.rb
|
201
|
+
- spec/notice_spec.rb
|
202
|
+
- spec/performance_notifier_spec.rb
|
203
|
+
- spec/promise_spec.rb
|
204
|
+
- spec/response_spec.rb
|
205
|
+
- spec/spec_helper.rb
|
206
|
+
- spec/stat_spec.rb
|
207
|
+
- spec/sync_sender_spec.rb
|
208
|
+
- spec/tdigest_spec.rb
|
209
|
+
- spec/time_truncate_spec.rb
|
210
|
+
- spec/truncator_spec.rb
|
211
|
+
homepage: https://airbrake.io
|
212
|
+
licenses:
|
213
|
+
- MIT
|
214
|
+
metadata: {}
|
215
|
+
post_install_message:
|
216
|
+
rdoc_options: []
|
217
|
+
require_paths:
|
218
|
+
- lib
|
219
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
220
|
+
requirements:
|
221
|
+
- - ">="
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: '2.1'
|
224
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
225
|
+
requirements:
|
226
|
+
- - ">="
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: '0'
|
229
|
+
requirements: []
|
230
|
+
rubyforge_project:
|
231
|
+
rubygems_version: 2.6.13
|
232
|
+
signing_key:
|
233
|
+
specification_version: 4
|
234
|
+
summary: Ruby notifier for https://airbrake.io
|
235
|
+
test_files:
|
236
|
+
- spec/truncator_spec.rb
|
237
|
+
- spec/helpers.rb
|
238
|
+
- spec/filters/exception_attributes_filter_spec.rb
|
239
|
+
- spec/filters/root_directory_filter_spec.rb
|
240
|
+
- spec/filters/sql_filter_spec.rb
|
241
|
+
- spec/filters/keys_whitelist_spec.rb
|
242
|
+
- spec/filters/system_exit_filter_spec.rb
|
243
|
+
- spec/filters/thread_filter_spec.rb
|
244
|
+
- spec/filters/dependency_filter_spec.rb
|
245
|
+
- spec/filters/context_filter_spec.rb
|
246
|
+
- spec/filters/git_last_checkout_filter_spec.rb
|
247
|
+
- spec/filters/git_revision_filter_spec.rb
|
248
|
+
- spec/filters/keys_blacklist_spec.rb
|
249
|
+
- spec/filters/gem_root_filter_spec.rb
|
250
|
+
- spec/filters/git_repository_filter.rb
|
251
|
+
- spec/spec_helper.rb
|
252
|
+
- spec/notice_spec.rb
|
253
|
+
- spec/config_spec.rb
|
254
|
+
- spec/tdigest_spec.rb
|
255
|
+
- spec/async_sender_spec.rb
|
256
|
+
- spec/stat_spec.rb
|
257
|
+
- spec/backtrace_spec.rb
|
258
|
+
- spec/notice_notifier_spec.rb
|
259
|
+
- spec/time_truncate_spec.rb
|
260
|
+
- spec/promise_spec.rb
|
261
|
+
- spec/config/validator_spec.rb
|
262
|
+
- spec/sync_sender_spec.rb
|
263
|
+
- spec/ignorable_spec.rb
|
264
|
+
- spec/deploy_notifier_spec.rb
|
265
|
+
- spec/performance_notifier_spec.rb
|
266
|
+
- spec/airbrake_spec.rb
|
267
|
+
- spec/nested_exception_spec.rb
|
268
|
+
- spec/filter_chain_spec.rb
|
269
|
+
- spec/response_spec.rb
|
270
|
+
- spec/file_cache.rb
|
271
|
+
- spec/code_hunk_spec.rb
|
272
|
+
- spec/fixtures/notroot.txt
|
273
|
+
- spec/fixtures/project_root/long_line.txt
|
274
|
+
- spec/fixtures/project_root/empty_file.rb
|
275
|
+
- spec/fixtures/project_root/code.rb
|
276
|
+
- spec/fixtures/project_root/short_file.rb
|
277
|
+
- spec/fixtures/project_root/vendor/bundle/ignored_file.rb
|
278
|
+
- spec/notice_notifier_spec/options_spec.rb
|