airbrake-ruby 5.2.1 → 6.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8371a959c69ffddca0dd25b6e8096450ecea66e13ddd6f6ace583eb37976516
|
4
|
+
data.tar.gz: f769f0604e3dd7118df53cb6de2e3115beed43a898e9eefb5828174c29f16f67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef094ddf119abfe8fd552980dbbc05ce907ed7608c12f7012fbcde1ee7861a33da67a435c8ef6fc378ef2490274050b7ccde598ac2a1f0f1098cd587c36b1222
|
7
|
+
data.tar.gz: 737a3900b60024d24303d10277d89ab782f60c58cadeb8e7fef3b7da17e983c8dd0033724e3640fe07d3428f1f86952f65ef378f81547213c2a8b11a9271eaa7
|
@@ -36,7 +36,7 @@ module Airbrake
|
|
36
36
|
`cd #{@git_path} && git config --get remote.origin.url`.chomp
|
37
37
|
else
|
38
38
|
"`git remote get-url` is unsupported in git #{@git_version}. " \
|
39
|
-
|
39
|
+
'Consider an upgrade to 2.7+'
|
40
40
|
end
|
41
41
|
|
42
42
|
return unless @repository
|
@@ -256,7 +256,7 @@ module Airbrake
|
|
256
256
|
array = bytes[start_idx..-1].unpack("G#{size}N#{size}")
|
257
257
|
means, counts = array.each_slice(size).to_a if array.any?
|
258
258
|
when SMALL_ENCODING
|
259
|
-
means = bytes[start_idx..(start_idx + 4 * size)].unpack("g#{size}")
|
259
|
+
means = bytes[start_idx..(start_idx + (4 * size))].unpack("g#{size}")
|
260
260
|
# Decode delta encoding of means
|
261
261
|
x = 0
|
262
262
|
means.map! do |m|
|
@@ -264,7 +264,7 @@ module Airbrake
|
|
264
264
|
x = m
|
265
265
|
m
|
266
266
|
end
|
267
|
-
counts_bytes = bytes[(start_idx + 4 * size)..-1].unpack('C*')
|
267
|
+
counts_bytes = bytes[(start_idx + (4 * size))..-1].unpack('C*')
|
268
268
|
counts = []
|
269
269
|
# Decode variable length integer bytes
|
270
270
|
size.times do
|
@@ -327,7 +327,7 @@ module Airbrake
|
|
327
327
|
|
328
328
|
cumn = 0
|
329
329
|
@centroids.each_value do |c|
|
330
|
-
c.mean_cumn = cumn + c.n / 2.0
|
330
|
+
c.mean_cumn = cumn + (c.n / 2.0)
|
331
331
|
cumn = c.cumn = cumn + c.n
|
332
332
|
end
|
333
333
|
@size = @last_cumulate = cumn
|
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
|
+
version: 6.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: 2021-
|
11
|
+
date: 2021-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbtree3
|
@@ -164,7 +164,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
164
164
|
requirements:
|
165
165
|
- - ">="
|
166
166
|
- !ruby/object:Gem::Version
|
167
|
-
version: '2.
|
167
|
+
version: '2.5'
|
168
168
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
169
|
requirements:
|
170
170
|
- - ">="
|