log_toolbox 1.3.5 → 1.3.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 242002b9bd8b12b831126fdd8a500608149a3f2f32046813308ed58739d042d4
4
- data.tar.gz: 2f26403b6bcb6aa638634d195da70fdfb3abb30620075bbdce5a79cec6f1042c
3
+ metadata.gz: 28a9c385547959933a5c5fdb1d3ee5599c915f74a1a3ad6355dd8409a3bc20c7
4
+ data.tar.gz: e5ba4e9d8a3a01b7a036589d29e0cc6df79eb6f527f8816b80491d019f96d41c
5
5
  SHA512:
6
- metadata.gz: 4cc0b12e1dc369f6f503b6a499fb6005f5a679fc182bc04b36e0d2acb5498ae9bfcf172787416acdf896c0f39231576a67bf48271c853fdb31ff94035e85e274
7
- data.tar.gz: 9fde6d9099e3bcf904eafe985a991386be622c6ef81a194d0e4118aada76cf76f3c28e860493ca32b6cc7f247b0d9fbcc8a9354879881019cd9f17aaaf29786f
6
+ metadata.gz: b9816f33487576697c9c6dd8581ad0ed8ecc098ad5bd5250bf750319bfce571a17c700a0c81514af1d64742ab8facd28fd6d9991f941951b962447c5ddb3afa8
7
+ data.tar.gz: 899d9b23415f164ad5daa3315fb39a75287f5336a6f684493753d0c8400182b77afa0caaf9525c9057d7d116915b4efcd507bc3377c6b96ca02de54de9fa7f98
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Released] - 2019-05-21
8
8
 
9
+ ## [1.3.6] - 2020-12-04
10
+ ### FIXED
11
+ - Added buffer_max_items and buffer_max_interval into LogStash config
12
+
9
13
  ## [1.3.5] - 2020-12-04
10
14
  ### FIXED
11
15
  - Convert buffer_max_items and buffer_max_interval values to integer
@@ -32,9 +32,10 @@ module LogToolbox
32
32
  def configure_log_output_logstash
33
33
  config.logger = LogStashLogger.new(type: LOGSTASH_PROTOCOL,
34
34
  host: LOGSTASH_URL,
35
- port: LOGSTASH_PORT,
36
- buffer_max_items: LOGSTASH_BUFFER_MAX_ITEMS || 50,
37
- buffer_max_interval: LOGSTASH_BUFFER_MAX_INTERVAL || 5)
35
+ port: LOGSTASH_PORT)
36
+
37
+ config.logstash.buffer_max_items = LOGSTASH_BUFFER_MAX_ITEMS || 50
38
+ config.logstash.buffer_max_interval = LOGSTASH_BUFFER_MAX_INTERVAL || 5
38
39
  end
39
40
 
40
41
  def configure_log_output_stdout
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LogToolbox
4
- VERSION = '1.3.5'
4
+ VERSION = '1.3.6'
5
5
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.authors = ['Caio Almeida']
12
12
  spec.email = ['cbalmeida@guide.com.br']
13
13
 
14
- spec.required_ruby_version = '>= 2.4.0'
14
+ spec.required_ruby_version = '>= 2.5.0'
15
15
  spec.summary = 'Guide default gem for ruby application logging'
16
16
  spec.homepage = 'http://bitbucket.org/guideinvestimentos/log_toolbox'
17
17
  spec.license = 'Guide'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: log_toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.5
4
+ version: 1.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caio Almeida
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-04 00:00:00.000000000 Z
11
+ date: 2020-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lograge
@@ -234,7 +234,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
234
234
  requirements:
235
235
  - - ">="
236
236
  - !ruby/object:Gem::Version
237
- version: 2.4.0
237
+ version: 2.5.0
238
238
  required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  requirements:
240
240
  - - ">="