log_toolbox 1.3.7 → 1.3.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63f24d53b86979a1060c9a087c3c65b94c7f25bd6f4303edc63199e79580e2ba
4
- data.tar.gz: cacbfcf42a486458d6c949b2dbd2829baaf6d46a5e3b2873ec74cbd430a4424a
3
+ metadata.gz: ab0e7bb99fb882d6fb319bdf16d5ca7b8de205e9677243f800039edc4315d40d
4
+ data.tar.gz: 28224f5e7491173fc44311c4f4a7009ef2a180bc7f2695f02c1f4f937178607b
5
5
  SHA512:
6
- metadata.gz: 24d0cb468176260e5ebe240d6f5559efdcc1602f58a43152cacb866c8a29e90cd69b100393b551d106eeb6f0c3f2f52fe4bdee82f11ff674f25b7157f0260c7a
7
- data.tar.gz: a08c22ec7826cf3860fa08d7f8a63c671146b6f6331cf59a0a1fa1c91a02cbe234402bf94f2bda73d8e511c254e8f8a8654608908de20839fd4131bbe9f24a5e
6
+ metadata.gz: 7da32d0ba5678d102d4c4930b5ec1cc972f6cbcfcd8dd9b0ff1c39d16e7e8cc187058d7869c76d10ed0c2bebe8687ea9569c58c9150cac56affd2b6669c1d3a7
7
+ data.tar.gz: 6834670ca4f7a6396903789124382a43e8d3f1d550d1e9ef6039ef8d16aacaf3dcdfa08145121af7e895f8f767f3028784bdcbf1dec7ba34418a086cc66d166e
@@ -6,11 +6,16 @@ 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.7] - 2020-12-04
9
+
10
+ ## [1.3.8] - 2020-12-10
11
+ ### FIXED
12
+ - Fixed LogStash configs
13
+
14
+ ## [1.3.7] - 2020-12-08
10
15
  ### Added
11
16
  - Configure log output stdout to development and test environment
12
17
 
13
- ## [1.3.6] - 2020-12-04
18
+ ## [1.3.6] - 2020-12-08
14
19
  ### FIXED
15
20
  - Added buffer_max_items and buffer_max_interval into LogStash config
16
21
 
@@ -30,10 +30,9 @@ module LogToolbox
30
30
  end
31
31
 
32
32
  def configure_log_output_logstash
33
- config.logger = LogStashLogger.new(type: LOGSTASH_PROTOCOL,
34
- host: LOGSTASH_URL,
35
- port: LOGSTASH_PORT)
36
-
33
+ config.logstash.type = LOGSTASH_PROTOCOL
34
+ config.logstash.host = LOGSTASH_URL
35
+ config.logstash.port = LOGSTASH_PORT
37
36
  config.logstash.buffer_max_items = LOGSTASH_BUFFER_MAX_ITEMS
38
37
  config.logstash.buffer_max_interval = LOGSTASH_BUFFER_MAX_INTERVAL
39
38
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LogToolbox
4
- VERSION = '1.3.7'
4
+ VERSION = '1.3.8'
5
5
  end
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.7
4
+ version: 1.3.8
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-08 00:00:00.000000000 Z
11
+ date: 2020-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lograge