airbrake-ruby 3.0.0.rc.2 → 3.0.0.rc.3

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: 0aef633a546613b3d46a1669505df654fcc4348b
4
- data.tar.gz: c35b98d3ffa46c7ee3fe976546585f27ca6d1bd1
3
+ metadata.gz: '0965a1a57e79af2ae1e07efbbb7c95ed295ff5c5'
4
+ data.tar.gz: f4ec1d4f408cbf1748ed57d2bd407454e5be3702
5
5
  SHA512:
6
- metadata.gz: 820453ab4d27d72c7f356958af555bc361507ca48cde546e6bc15f77cb32077c2cc1623d6a0afe882c37b9ade81888b58ddaadbd2c7f17b820a6011ab666877d
7
- data.tar.gz: fc7078da83d4cd3d2e4e4c2602e5441e9ebd6751410cfdf8ffb6c4998f1832790a3ccfb41aa97a39470315b60a965b0b91059bc4914c366f923e986842f8adf1
6
+ metadata.gz: 4122439f62ddc77106018546702a14fc9fe3c79b5682267d039044c8d37f9bd3aaafb385ad13c61032cf1b90c02cb40429f31223c915bef16eba5483bd7bcfa2
7
+ data.tar.gz: 0d74dcff6b9b28b117316dd6fdf46bbb54cfc09df3e06bf0254e884a85ce266d57a1a514f70aadc9fe80f00d6acc52afdf931d9b1573f58370d5f972f189eca6
@@ -56,8 +56,10 @@ module Airbrake
56
56
  # @param [Integer] count The number of requests
57
57
  # @param [Float] sum The sum of request duration in milliseconds
58
58
  # @param [Float] sumsq The squared sum of request duration in milliseconds
59
- # @param [TDigest::TDigest] tdigest
60
- def initialize(count: 0, sum: 0.0, sumsq: 0.0, tdigest: TDigest::TDigest.new)
59
+ # @param [TDigest::TDigest] tdigest By default, the compression is 20
60
+ def initialize(
61
+ count: 0, sum: 0.0, sumsq: 0.0, tdigest: TDigest::TDigest.new(0.05)
62
+ )
61
63
  super(count, sum, sumsq, tdigest)
62
64
  end
63
65
 
@@ -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.2'.freeze
5
+ AIRBRAKE_RUBY_VERSION = '3.0.0.rc.3'.freeze
6
6
  end
@@ -48,10 +48,10 @@ RSpec.describe Airbrake::RouteSender do
48
48
  {"routes":\[
49
49
  {"method":"GET","route":"/foo","statusCode":200,
50
50
  "time":"2018-01-01T00:00:00\+00:00","count":1,"sum":24.0,
51
- "sumsq":576.0,"tDigest":"AAAAAkBZAAAAAAAAAAAAAUHAAAAB"},
51
+ "sumsq":576.0,"tDigest":"AAAAAkA0AAAAAAAAAAAAAUHAAAAB"},
52
52
  {"method":"GET","route":"/foo","statusCode":200,
53
53
  "time":"2018-01-01T00:01:00\+00:00","count":1,"sum":10.0,
54
- "sumsq":100.0,"tDigest":"AAAAAkBZAAAAAAAAAAAAAUEgAAAB"}\]}
54
+ "sumsq":100.0,"tDigest":"AAAAAkA0AAAAAAAAAAAAAUEgAAAB"}\]}
55
55
  \z|x
56
56
  )
57
57
  ).to have_been_made
@@ -67,10 +67,10 @@ RSpec.describe Airbrake::RouteSender do
67
67
  {"routes":\[
68
68
  {"method":"GET","route":"/foo","statusCode":200,
69
69
  "time":"2018-01-01T00:00:00\+00:00","count":1,"sum":24.0,
70
- "sumsq":576.0,"tDigest":"AAAAAkBZAAAAAAAAAAAAAUHAAAAB"},
70
+ "sumsq":576.0,"tDigest":"AAAAAkA0AAAAAAAAAAAAAUHAAAAB"},
71
71
  {"method":"POST","route":"/foo","statusCode":200,
72
72
  "time":"2018-01-01T00:00:00\+00:00","count":1,"sum":10.0,
73
- "sumsq":100.0,"tDigest":"AAAAAkBZAAAAAAAAAAAAAUEgAAAB"}\]}
73
+ "sumsq":100.0,"tDigest":"AAAAAkA0AAAAAAAAAAAAAUEgAAAB"}\]}
74
74
  \z|x
75
75
  )
76
76
  ).to have_been_made
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.2
4
+ version: 3.0.0.rc.3
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-10-30 00:00:00.000000000 Z
11
+ date: 2018-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tdigest