coralogix_fluentd_logger 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/manager.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd4f86a5d4e0d30628228630a7cc3844c68e97ad
|
|
4
|
+
data.tar.gz: a4051cb7d64362218cdc75d852db49cc45f0acca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47fd24f7a727ac89909b9259fc02476b917e7720a20a710a161a9d833912046bc0526834aafa1ee8334725902ee93ce71141d0dde718646c168ac50fb7669672
|
|
7
|
+
data.tar.gz: 12661138fae93aacf61822c1e5dcff925c194548f1974b5005fd0e28b5d342ac801e0502f78102e9bb9941bd5c2096a9a5a762fc0c86aba5af69b898f50910e0
|
data/lib/manager.rb
CHANGED
|
@@ -128,7 +128,7 @@ module Coralogix
|
|
|
128
128
|
|
|
129
129
|
# If the size is bigger than the maximum allowed chunk size then split it by half.
|
|
130
130
|
# Keep splitting it until the size is less than MAX_LOG_CHUNK_SIZE
|
|
131
|
-
while (@buffer.take(size).join(",").bytesize > MAX_LOG_CHUNK_SIZE)
|
|
131
|
+
while (@buffer.take(size).join(",").bytesize > MAX_LOG_CHUNK_SIZE) && (size > 0)
|
|
132
132
|
size=size/2;
|
|
133
133
|
end
|
|
134
134
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coralogix_fluentd_logger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Royee Goldberg
|
|
@@ -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.6.11
|
|
47
47
|
signing_key:
|
|
48
48
|
specification_version: 4
|
|
49
49
|
summary: Coralogix Fluentd Logger SDK
|