airbrake-ruby 4.2.4-java → 4.2.5-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 +2 -2
- data/lib/airbrake-ruby/version.rb +1 -1
- data/spec/airbrake_spec.rb +19 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bb4ed018e0e1750b6db12ebe2fb07c6112eb221
|
4
|
+
data.tar.gz: 474ca3f382cb72e68fc4b6096c495345770385d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14455f773b45231fde7e1203e49747f74edf922d60f563f693b57890b3481012c591d598b957bf9947fb7f62d9b15044b20e2109831ff6c0dd3fb9bb28f6c7b6
|
7
|
+
data.tar.gz: cba06f1d4f42606b1a473ae52c81109a52ee8b21a3006b00fe9db97bde047966879dc011c99a0fe318650931f6d1477c7a30b0aa6bfa7a7f9329420ee9cfcb42
|
data/lib/airbrake-ruby.rb
CHANGED
@@ -113,7 +113,7 @@ module Airbrake
|
|
113
113
|
# @since v4.2.3
|
114
114
|
# @api private
|
115
115
|
def performance_notifier
|
116
|
-
@performance_notifier ||=
|
116
|
+
@performance_notifier ||= PerformanceNotifier.new
|
117
117
|
end
|
118
118
|
|
119
119
|
# @since v4.2.3
|
@@ -125,7 +125,7 @@ module Airbrake
|
|
125
125
|
# @since v4.2.3
|
126
126
|
# @api private
|
127
127
|
def deploy_notifier
|
128
|
-
@deploy_notifier ||=
|
128
|
+
@deploy_notifier ||= DeployNotifier.new
|
129
129
|
end
|
130
130
|
|
131
131
|
# @return [Boolean] true if the notifier was configured, false otherwise
|
data/spec/airbrake_spec.rb
CHANGED
@@ -194,4 +194,23 @@ RSpec.describe Airbrake do
|
|
194
194
|
end
|
195
195
|
end
|
196
196
|
end
|
197
|
+
|
198
|
+
describe ".performance_notifier" do
|
199
|
+
it "returns a performance notifier" do
|
200
|
+
expect(described_class.performance_notifier)
|
201
|
+
.to be_an(Airbrake::PerformanceNotifier)
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
describe ".notice_notifier" do
|
206
|
+
it "returns a notice notifier" do
|
207
|
+
expect(described_class.notice_notifier).to be_an(Airbrake::NoticeNotifier)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
describe ".deploy_notifier" do
|
212
|
+
it "returns a deploy notifier" do
|
213
|
+
expect(described_class.deploy_notifier).to be_an(Airbrake::DeployNotifier)
|
214
|
+
end
|
215
|
+
end
|
197
216
|
end
|
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.2.
|
4
|
+
version: 4.2.5
|
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: 2019-04-
|
11
|
+
date: 2019-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbtree-jruby
|