centralized_ruby_logger 0.0.7 → 0.0.8

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 +4 -4
  2. data/lib/manager.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fb502c79d362dab95bd6952b8797c6a63aa174e
4
- data.tar.gz: 62fa85cd8669520ba055d1b478e23df6e9d7096b
3
+ metadata.gz: 96d713cbb6f0070230dc0acf280a0fee81a0dbeb
4
+ data.tar.gz: 7528b01bc50db46bcd8954389068192b63043e3e
5
5
  SHA512:
6
- metadata.gz: 820d64a3b931fff9d354984d9957749db29ddf94ff86e8e431b790ea802123f1a412506ca0c42efdf6124bd9ed87af980237c33e752a8a19763534bce955610f
7
- data.tar.gz: 55dda48fdeaebeb624fc255e5be382fd38a561db7b4c5e99210c31fd7066a1494234afa99abd3e5872e0567f22e8119be5a1087449dcd68b2128bacce671704e
6
+ metadata.gz: 8452e580acab17f20fe4cd17a09b59f1230d29ebb8df41b21146b3977581da4559251385541023b7a20b477c9cd453c3688c27a7fa4e83ac097c2ee8fece15f5
7
+ data.tar.gz: 1bf5b8153feaedfef3dd0880b551cb656e81a4e2e48ea5ab97f104a9c5ca1953b6487e33bac9b90e050444c46f97f07c2a59a4e0f567948af7a784cede7c8ee8
data/lib/manager.rb CHANGED
@@ -133,7 +133,7 @@ module Coralogix
133
133
 
134
134
  # If the size is bigger than the maximum allowed chunk size then split it by half.
135
135
  # Keep splitting it until the size is less than MAX_LOG_CHUNK_SIZE
136
- while (@buffer.take(size).join(",").bytesize > MAX_LOG_CHUNK_SIZE) || (size == 0)
136
+ while (@buffer.take(size).join(",").bytesize > MAX_LOG_CHUNK_SIZE) && (size > 0)
137
137
  size=size/2;
138
138
  end
139
139
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: centralized_ruby_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Royee Goldberg