centralized_ruby_logger 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/manager.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 84e8e418f67c78e39e6496a8c01d160abb70e6df
|
4
|
+
data.tar.gz: 1d882f55078125804fa31b90a1942ce7f7ec38c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 561dfab68d556459d62983117f97763d90fc12c775bf0db484d99b6ec4a4e26dc0614b4370889ef97bfaeff186139b7570c7f0138d9fd073f01e624bda8bd90e
|
7
|
+
data.tar.gz: 663ceb2278699b4d17d8b682e2897bc2bb13bed4a45420949a711644e11dfb0560235e09a34d601ac0172711f04722aa5ef51405a2e5d461254c2189b67c967b
|
data/lib/manager.rb
CHANGED
@@ -148,7 +148,7 @@ module Coralogix
|
|
148
148
|
@bulk_template[:logEntries] = @buffer.shift(size)
|
149
149
|
|
150
150
|
# Extract from the buffer size the total amount of the logs we removed from the buffer
|
151
|
-
@buffer_size-= (@bulk_template[:logEntries].to_json.bytesize - 2 - size-1)
|
151
|
+
@buffer_size-= (@bulk_template[:logEntries].to_json.bytesize - 2 - (size-1))
|
152
152
|
|
153
153
|
# Make sure we are always positive
|
154
154
|
@buffer_size = @buffer_size >= 0 ? @buffer_size : 0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: centralized_ruby_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Royee Goldberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Coralogix Centralized Ruby Logger to send logs to Coralogix server.
|
14
14
|
email: royee@coralogix.com
|
@@ -43,7 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
43
43
|
version: '0'
|
44
44
|
requirements: []
|
45
45
|
rubyforge_project:
|
46
|
-
rubygems_version: 2.
|
46
|
+
rubygems_version: 2.5.2.1
|
47
47
|
signing_key:
|
48
48
|
specification_version: 4
|
49
49
|
summary: Coralogix Centralized Ruby Logger SDK
|