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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 95d28a9be05212c519e1626767a363c09dedb9b4
4
- data.tar.gz: 7f423d7dc6a3d470d3309a6b2443c94166b0e622
3
+ metadata.gz: 6bb4ed018e0e1750b6db12ebe2fb07c6112eb221
4
+ data.tar.gz: 474ca3f382cb72e68fc4b6096c495345770385d2
5
5
  SHA512:
6
- metadata.gz: f1bb40a3498c6d48b13aa665152d9235a23edc20416468eedd46862841d00e5db4a059cda730dc80d4681e2ec890e12060db8ce0239e8de36618514956b98d24
7
- data.tar.gz: a688273b29302a1c6b831f33f9a76afa2bdad6d399e3defd2f43b737e6e81defbc0ebd7322098a7db9e98111505ebb64cd22912041f051adf2b4eb05bcb7ba81
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 ||= NoticeNotifier.new
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 ||= PerformanceNotifier.new
128
+ @deploy_notifier ||= DeployNotifier.new
129
129
  end
130
130
 
131
131
  # @return [Boolean] true if the notifier was configured, false otherwise
@@ -2,5 +2,5 @@
2
2
  # More information: http://semver.org/
3
3
  module Airbrake
4
4
  # @return [String] the library version
5
- AIRBRAKE_RUBY_VERSION = '4.2.4'.freeze
5
+ AIRBRAKE_RUBY_VERSION = '4.2.5'.freeze
6
6
  end
@@ -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
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-10 00:00:00.000000000 Z
11
+ date: 2019-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbtree-jruby