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.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/lib/manager.rb +1 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 736938172b64af455525ee085d0d9074ab4c8d3ac6650a96366389ed45af3931
4
- data.tar.gz: 7c65b71f1cdca2326cf8cd24a80d8a68e1f7d3e4d75583b9e7503a9d6827049d
2
+ SHA1:
3
+ metadata.gz: 84e8e418f67c78e39e6496a8c01d160abb70e6df
4
+ data.tar.gz: 1d882f55078125804fa31b90a1942ce7f7ec38c7
5
5
  SHA512:
6
- metadata.gz: 43923897aade7111db8a567f406dce3d86168842d83d53718cc4982d79a811bace89fe2ec31d04749f66e662bd1a556e88db474f9ac2abde05ee0ce354feb8e5
7
- data.tar.gz: 58ce3122d7c482c39ba7b039d26780ca8595d59abfbf5dd7fd7efbf58195da2f7877e2215c52c105090c37214a6828dd66978bac1a1243f4053471de22ae357e
6
+ metadata.gz: 561dfab68d556459d62983117f97763d90fc12c775bf0db484d99b6ec4a4e26dc0614b4370889ef97bfaeff186139b7570c7f0138d9fd073f01e624bda8bd90e
7
+ data.tar.gz: 663ceb2278699b4d17d8b682e2897bc2bb13bed4a45420949a711644e11dfb0560235e09a34d601ac0172711f04722aa5ef51405a2e5d461254c2189b67c967b
@@ -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.14
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-13 00:00:00.000000000 Z
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.7.3
46
+ rubygems_version: 2.5.2.1
47
47
  signing_key:
48
48
  specification_version: 4
49
49
  summary: Coralogix Centralized Ruby Logger SDK