twiglet 3.11.0 → 3.12.0

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: 99e8d740d7d9a800eef5d22fe68252f41bd6d75042d2a8f69596b9361a6daf4d
4
- data.tar.gz: fe9ac8d41fed72423a4ee2e9b209f0c10f742546fbd36704a1c391dba6004e64
3
+ metadata.gz: 7f7f408c7f0546be8ef926a307e70a58af7a7ff3427b1744bdbb4cfbc4653189
4
+ data.tar.gz: aaf5bce57110c3accb2353250c528a525b0948fbfda377f3b6fc6308e50030ba
5
5
  SHA512:
6
- metadata.gz: d14b3282ec480b9d628902261ac467f89bf5f635723d420a1b05607b7c6c4f549f6aaa70d0eba8513c23100e1f8142ed2099b07295c0ce288b85108478861daa
7
- data.tar.gz: 9d8119f8ce88a5fed9a0cc1e159180d623a194ee2eacfa0ac898a3d289b6318343c3583764223d132bc0cc1550b7c37bac2bcd2f6b39e530747f9f1d1a201f6f
6
+ metadata.gz: 830da1bdf6311f12b6a92cab29c8e25453d8ee0bd0007d3b41e211a628983ea20c3956dc6cab9b6d991901ebb7cfb718f0296b11b82e89c20deee187a4f6ae87
7
+ data.tar.gz: 140e91a61d0883769aea1e0828022ae0662750a571fc35531f3604d1708a24efbfc2b229624faef3855234d59048134c8f29700505d8ca674f7a9a830e5d1465
@@ -22,7 +22,7 @@ module Twiglet
22
22
 
23
23
  now = args.fetch(:now, -> { Time.now.utc })
24
24
  output = args.fetch(:output, $stdout)
25
- level = args.fetch(:level, DEBUG)
25
+ level = args.fetch(:level, INFO)
26
26
  validation_schema = args.fetch(:validation_schema, DEFAULT_VALIDATION_SCHEMA)
27
27
 
28
28
  raise 'Service name is mandatory' \
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Twiglet
4
- VERSION = '3.11.0'
4
+ VERSION = '3.12.0'
5
5
  end
data/test/logger_test.rb CHANGED
@@ -23,7 +23,8 @@ describe Twiglet::Logger do
23
23
  @logger = Twiglet::Logger.new(
24
24
  'petshop',
25
25
  now: @now,
26
- output: @buffer
26
+ output: @buffer,
27
+ level: Logger::DEBUG
27
28
  )
28
29
  end
29
30
 
@@ -652,7 +653,8 @@ describe Twiglet::Logger do
652
653
  'petshop',
653
654
  now: @now,
654
655
  output: @buffer,
655
- validation_schema: validation_schema
656
+ validation_schema: validation_schema,
657
+ level: Logger::DEBUG
656
658
  )
657
659
  end
658
660
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twiglet
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.11.0
4
+ version: 3.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simply Business
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-08 00:00:00.000000000 Z
11
+ date: 2024-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema