coralogix_logger 0.0.22 → 0.0.23
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: fc09ca0146a353113e15b1a1a828a256fef0de7d
|
|
4
|
+
data.tar.gz: dea6cb4cb5b2841d47d1a7c302861120ab3715f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 522b8339001796395a6fda857e2fc0098a5ea632dd305cea1c7e8e9120f5e7044cc16b033c1c404c2e0af66ef1e9867712c165f599f5d15e0e17483f16a0092d
|
|
7
|
+
data.tar.gz: fd4e268e905da0736bc3d2b87038c2dd75ff90844b6892f84dfb9e675e9e5ea42b188c328b22f2ce00813fa4691c7e0702ff47087119a6471eeb4beac233aaf2
|
data/lib/manager.rb
CHANGED
|
@@ -137,7 +137,7 @@ module Coralogix
|
|
|
137
137
|
|
|
138
138
|
# If the size is bigger than the maximum allowed chunk size then split it by half.
|
|
139
139
|
# Keep splitting it until the size is less than MAX_LOG_CHUNK_SIZE
|
|
140
|
-
while (@buffer.take(size).join(",").bytesize > MAX_LOG_CHUNK_SIZE)
|
|
140
|
+
while (@buffer.take(size).join(",").bytesize > MAX_LOG_CHUNK_SIZE) && (size > 0)
|
|
141
141
|
size=size/2;
|
|
142
142
|
end
|
|
143
143
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coralogix_logger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.23
|
|
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 Ruby Logger SDK
|