airbrake-ruby 4.2.4 → 4.2.5

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: d616c9badc9da53458a90f76e383ba6f3702c684
4
- data.tar.gz: 7f423d7dc6a3d470d3309a6b2443c94166b0e622
3
+ metadata.gz: f420d742ab241277d8364835c8b293782cc4ae1c
4
+ data.tar.gz: 474ca3f382cb72e68fc4b6096c495345770385d2
5
5
  SHA512:
6
- metadata.gz: 1833a11f83192a297114346ab89a947fd6d1a9795361cb0337420bbc02d32b3bc16e88a1cfdb736a7ac5669a9cafd473e71668c2a0b7ff1b4d7067f7eadb9be3
7
- data.tar.gz: a688273b29302a1c6b831f33f9a76afa2bdad6d399e3defd2f43b737e6e81defbc0ebd7322098a7db9e98111505ebb64cd22912041f051adf2b4eb05bcb7ba81
6
+ metadata.gz: c96369b971def3c5bb39bbf1957c8230c14de547a1c1b0a0846690b173ad168334a76792dc6c61cba19f3e7f0feefe2d5c0bd8e5479dce0cf52d2934f5edb874
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: ruby
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: rbtree3