umbrellio-utils 0.4.0 → 0.4.1

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: 85dd7dea4f1dee04c26507a0196e6a0520e99ef08db6b880ff5238c09980472a
4
- data.tar.gz: 1377376c2ca11c16c1df7ac09dd64c4c7851d3a0e068b73b69d8701d31362488
3
+ metadata.gz: cb8113580849f3996fb8afb0859ef04df431f6e816cf9fcc89df3bab0066e751
4
+ data.tar.gz: 70e23152849fcb46aa8a012d04444ab6f164a0f0bca16a7aa46cd856987c208b
5
5
  SHA512:
6
- metadata.gz: 272cc4be8c75bb75a63c0ad649feda6da475aada4ec411a03e74fd404533d68087095781b965e1ac4d1ed2f6f5fa515ec40e9977d3a5da8f094ac05c9d34d259
7
- data.tar.gz: 1ac80ccf3221cb5c4a5461fa949b6bc7e858d554e1dafe3781041d6146b6807b00e97b86649973900a14812715bed4ecf6735bd8f5d06e21094b02cf1e707444
6
+ metadata.gz: 475aea0da1551e6b5104eb684f3fd815dee4654529f0cdfbf807bad0a21efdf19df9d37a5caad4a2bb024998dd8dcae1b8458cbe241b26e63ab57d33ff0fb030
7
+ data.tar.gz: e035b81cebc72254342d4ff40583afc2f26ed37978aea4a9d01953971ff6bce3ee3c8536c5a76760e99de3f6f0ff8c1f59dafebafb15506e55dc2d120513f77d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- umbrellio-utils (0.4.0)
4
+ umbrellio-utils (0.4.1)
5
5
  memery (~> 1)
6
6
 
7
7
  GEM
@@ -35,8 +35,6 @@ GEM
35
35
  ruby2_keywords (~> 0.0.2)
36
36
  method_source (1.0.0)
37
37
  minitest (5.14.4)
38
- nokogiri (1.12.5-x86_64-darwin)
39
- racc (~> 1.4)
40
38
  nokogiri (1.12.5-x86_64-linux)
41
39
  racc (~> 1.4)
42
40
  nori (2.6.0)
@@ -146,4 +144,4 @@ DEPENDENCIES
146
144
  yard
147
145
 
148
146
  BUNDLED WITH
149
- 2.2.29
147
+ 2.2.30
@@ -15,7 +15,8 @@ module UmbrellioUtils
15
15
  name: :name,
16
16
  thread_fingerprint: :thread_fingerprint,
17
17
  message: :message,
18
- app_tags: :app_tags,
18
+ tags: :tags,
19
+ named_tags: :named_tags,
19
20
  time: :time,
20
21
  }.freeze
21
22
 
@@ -26,7 +27,8 @@ module UmbrellioUtils
26
27
  # @option custom_names_mapping [Symbol] :thread_fingerprint
27
28
  # custom name for the thread_fingerprint field.
28
29
  # @option custom_names_mapping [Symbol] :message custom name for the `message` field.
29
- # @option custom_names_mapping [Symbol] :app_tags custom name for the `app_tags` field.
30
+ # @option custom_names_mapping [Symbol] :tags custom name for the `tags` field.
31
+ # @option custom_names_mapping [Symbol] :named_tags custom name for the `named_tags` field.
30
32
  # @option custom_names_mapping [Symbol] :time custom name for the `time` field.
31
33
  # @example Use custom name for the `message` and `time` fields
32
34
  # UmbrellioUtils::SemanticLogger::TinyJsonFormatter.new(
@@ -69,6 +71,7 @@ module UmbrellioUtils
69
71
  log.name,
70
72
  thread_fingerprint_for(log),
71
73
  log.message,
74
+ log.tags,
72
75
  log.named_tags,
73
76
  log.time.utc.iso8601(3),
74
77
  ]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UmbrellioUtils
4
- VERSION = "0.4.0"
4
+ VERSION = "0.4.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: umbrellio-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - JustAnotherDude
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-31 00:00:00.000000000 Z
11
+ date: 2021-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: memery