airbrake-ruby 3.0.0.rc.9 → 3.0.0

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: 5f8f0a23f9d134d54cd586ca311b27cf82d0c3e8
4
- data.tar.gz: 06d0f6fbf5b7f7809b0df03806e9991c564eb018
3
+ metadata.gz: 9ee928135214a657c40a9aad39b8c740cf1d7566
4
+ data.tar.gz: 229d0efea5f76e1f81388f1faacc2b135ccdc17b
5
5
  SHA512:
6
- metadata.gz: c9a326402201a26169bd1c65d36e049ebbfdb5ebf27c314e8dd803e30da89366ac0e8e897cebddf6112fdb751fabc6421e0e4aafea8bf65b5201672aaf731b8c
7
- data.tar.gz: 4648f252843e74ad697e519769126acdc3d007ea00316eaf694c7a672c3ffff87272d0e1278e80d7ccd7dca828834104c93e2b179064d462a3c3e3a1652b9f94
6
+ metadata.gz: 9d645597be22ee917a00fdf16ffa1e0c0fd86718a980c6c4dc3db9fa2aa34889dee0a87b49da33a8a8adf330717e3a54e37108aea4131480ec7b4a688f5d40a1
7
+ data.tar.gz: 4e18aa4274666b7bf0f106988aed1641f8891ed2dcd9ac5892b76efff6cc0c36d1c531ad195f81274b451fc2e8d88333b072500ba4470d3cbcaed4c272825e3a
@@ -126,7 +126,7 @@ module Airbrake
126
126
  )
127
127
 
128
128
  self.versions = {}
129
- self.route_stats = true
129
+ self.route_stats = false
130
130
  self.route_stats_flush_period = 15
131
131
 
132
132
  merge(user_config)
@@ -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 = '3.0.0.rc.9'.freeze
5
+ AIRBRAKE_RUBY_VERSION = '3.0.0'.freeze
6
6
  end
data/spec/config_spec.rb CHANGED
@@ -80,7 +80,7 @@ RSpec.describe Airbrake::Config do
80
80
  end
81
81
 
82
82
  it "enables route stats by default" do
83
- expect(config.route_stats).to be_truthy
83
+ expect(config.route_stats).to be_falsey
84
84
  end
85
85
 
86
86
  it "sets the default route_stats_flush_period" do
@@ -3,7 +3,12 @@ require 'spec_helper'
3
3
  # rubocop:disable Layout/DotPosition
4
4
  RSpec.describe Airbrake::Notifier do
5
5
  let(:user_params) do
6
- { project_id: 1, project_key: 'abc', logger: Logger.new('/dev/null') }
6
+ {
7
+ project_id: 1,
8
+ project_key: 'abc',
9
+ logger: Logger.new('/dev/null'),
10
+ route_stats: true
11
+ }
7
12
  end
8
13
 
9
14
  subject { described_class.new(user_params) }
@@ -43,7 +43,7 @@ RSpec.describe Airbrake::SyncSender do
43
43
  expect(
44
44
  a_request(:post, endpoint).with(
45
45
  headers: {
46
- 'User-Agent' => %r{airbrake-ruby/\d+\.\d+\.\d+.+ Ruby/\d+\.\d+\.\d+}
46
+ 'User-Agent' => %r{airbrake-ruby/\d+\.\d+\.\d+ Ruby/\d+\.\d+\.\d+}
47
47
  }
48
48
  )
49
49
  ).to have_been_made.once
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: 3.0.0.rc.9
4
+ version: 3.0.0
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: 2018-12-03 00:00:00.000000000 Z
11
+ date: 2019-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tdigest
@@ -210,9 +210,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
210
210
  version: '2.1'
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - ">"
213
+ - - ">="
214
214
  - !ruby/object:Gem::Version
215
- version: 1.3.1
215
+ version: '0'
216
216
  requirements: []
217
217
  rubyforge_project:
218
218
  rubygems_version: 2.6.13