mixlib-log 3.0.9 → 3.2.0

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: 95493c0814c7d9168427a11a611f5e55eb9b104635267bb2f62fae5c29b5d005
4
- data.tar.gz: 3a64b2405bbe57c2cb2bfb72b815c67c3470b38c47dd6835c2dba61d5195f18d
3
+ metadata.gz: 43b8e968ecf9d811ab70ba09a44ac34b4f6139bf7351a62e90d082c2c863100d
4
+ data.tar.gz: 2bba06d2b940dd4ef5eeac0ee77273dee63bb8f7778e23a0489c5f8dc0b8994b
5
5
  SHA512:
6
- metadata.gz: cde4bc246b2e9878fe2ce87026c6be03cf6c9d7d031f3fe29c73eb1d162076f8b30820ad8cccfa125f012787da33de5e681c25bc15f4ac1413e45b3dc8cd6b07
7
- data.tar.gz: 6f88ebc29a7e9989f1d391d44a105c1583573e7b7f70a4c8cb6853202c52417614dece03a48b3bdb9210e9a2f1a9e42fc24540ce3ad921406c6d2041ba30fdbd
6
+ metadata.gz: 22a3f86f5098a081eeef8ae32ba05d10339c46bd2c5b872acb760fd8f0cec0e54b04c39f73d06139fd5b751c1eb640dae3f60b6b60d99bd998e25667ff3e9838
7
+ data.tar.gz: 24915e0916f92a06e90b7535be205829391ec6674a2f1c33034bfe0722fa371aa119df8defc521b1e3c311a386eee4b7f89e23865f06497141ef1f698724f7c4
@@ -33,11 +33,7 @@ module Mixlib
33
33
  # Create an instance.
34
34
  #
35
35
  def initialize(logdev)
36
- @progname = nil
37
- @level = DEBUG
38
- @default_formatter = Formatter.new
39
- @formatter = nil
40
- @logdev = nil
36
+ super(nil, formatter: ::Mixlib::Log::Formatter.new)
41
37
  if logdev
42
38
  @logdev = LocklessLogDevice.new(logdev)
43
39
  end
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  module Log
3
- VERSION = "3.0.9".freeze
3
+ VERSION = "3.2.0".freeze
4
4
  end
5
5
  end
data/lib/mixlib/log.rb CHANGED
@@ -118,7 +118,7 @@ module Mixlib
118
118
  if new_level.nil?
119
119
  LEVEL_NAMES[logger.level]
120
120
  else
121
- self.level = (new_level)
121
+ self.level = new_level
122
122
  end
123
123
  end
124
124
 
metadata CHANGED
@@ -1,15 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixlib-log
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.9
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-21 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2025-01-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ffi
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.9'
20
+ - - "<="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.17.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.9'
30
+ - - "<="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.17.0
13
33
  description:
14
34
  email: info@chef.io
15
35
  executables: []
@@ -35,14 +55,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
35
55
  requirements:
36
56
  - - ">="
37
57
  - !ruby/object:Gem::Version
38
- version: '2.3'
58
+ version: '3.1'
39
59
  required_rubygems_version: !ruby/object:Gem::Requirement
40
60
  requirements:
41
61
  - - ">="
42
62
  - !ruby/object:Gem::Version
43
63
  version: '0'
44
64
  requirements: []
45
- rubygems_version: 3.0.3
65
+ rubygems_version: 3.2.3
46
66
  signing_key:
47
67
  specification_version: 4
48
68
  summary: A gem that provides a simple mixin for log functionality