cogger 0.27.0 → 0.28.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: 70f6a9da3a0ab293bb7909571afaf8af33e2c42dd36f1bb0845ac38442d13557
4
- data.tar.gz: f8dca81f5e93e6ba4c59a6af2bb57cf89cb79ff3a9885b1e390b61549a3dcf41
3
+ metadata.gz: 885f1fdee41d1db42ec0ecd033ddcc9c410559ad3738a0582bd7f5d034848c5e
4
+ data.tar.gz: a18cd882a032f51a28915b9aa8abfdb6783232d2f166b08468f8fb0c0785c9b0
5
5
  SHA512:
6
- metadata.gz: 14ae3c273c6da93bed7c4c2e01d55ac010525f2342806a3bd63eef9a12920fe92797391a3d1d450ed2d90e3d56ca15dcbb50ad9046f1d0bdcad087df437f9fcd
7
- data.tar.gz: c5215a8a89e139ba6087d70dfe10575fe4bb1b3d251b3aa333f9400406e4dd05255529578be09e537052e534c3d890db614b8fcac52ff260626ba92c018504c3
6
+ metadata.gz: fad996f5f79a366a0b9e6c06029368b5ed2abed0ea8a2498edd4275dbd50c50f6d50059a4da1a55c5c72d8a6e63e03073fa4e0f211f131fef535a61a37fb1e59
7
+ data.tar.gz: 705832e6859049dea07307642a5aa916b5c60bcd3abf2f98ca5a0efab2c2afc5ca1d9e98995c2cf53d63212a072be291bda5bce2779d1ce9f855368d7d68b755
checksums.yaml.gz.sig CHANGED
Binary file
data/cogger.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "cogger"
5
- spec.version = "0.27.0"
5
+ spec.version = "0.28.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/cogger"
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.required_ruby_version = ">= 3.3", "<= 3.4"
26
26
  spec.add_dependency "core", "~> 1.7"
27
- spec.add_dependency "refinements", "~> 12.8"
27
+ spec.add_dependency "refinements", "~> 12.9"
28
28
  spec.add_dependency "tone", "~> 1.0"
29
29
  spec.add_dependency "zeitwerk", "~> 2.6"
30
30
 
data/lib/cogger/hub.rb CHANGED
@@ -83,15 +83,14 @@ module Cogger
83
83
 
84
84
  attr_reader :registry, :configuration, :primary, :streams, :mutex
85
85
 
86
+ # :reek:FeatureEnvy
86
87
  def find_formatter attributes
87
- attributes.transform_with!(
88
- formatter: lambda do |value|
89
- return value unless value.is_a?(Symbol) || value.is_a?(String)
88
+ attributes.transform_value! :formatter do |value|
89
+ next value unless value.is_a?(Symbol) || value.is_a?(String)
90
90
 
91
- formatter, template = registry.get_formatter value
92
- template ? formatter.new(template) : formatter.new
93
- end
94
- )
91
+ formatter, template = registry.get_formatter value
92
+ template ? formatter.new(template) : formatter.new
93
+ end
95
94
  end
96
95
 
97
96
  def log(level, message = nil, **, &)
data.tar.gz.sig CHANGED
@@ -1,2 +1,5 @@
1
- bSN���LD��6�՟�Ά9;f�*���{����z
2
- V�� 3��sa�I�O���+���}v��h=���j6l�|��EaƦ}NGa�� ���>�
1
+ 9kyUc�,����Q�ڔ������Q���Ri���o4_]��k����f�1پf�ЅL��EE(��ąiFA:���)���,ssg����<U�2�Ȉř��R 8],��[��ȷB3x��B�� ��Դ]L$�йPkhh%��怘�Ŧ��o~���w�:|KFgn�[��J>5��P�
2
+ k�ټ�M�:�v�NFV ~�=��m§ۖ��MC�"����NF%�R@�s;ΒUK��k���I�D��8�+��
3
+ `1��F���KHl��0ňu
4
+ &IJgd.Y�
5
+ n1¾�@*5M{(Q��qܜ�����`��l�[�q�jU2 �l�3�jV�;{{�y�@}D���Z��oם 6 <bV�}���r���.��{�k<X$?�
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cogger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -35,7 +35,7 @@ cert_chain:
35
35
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
36
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
37
  -----END CERTIFICATE-----
38
- date: 2024-09-01 00:00:00.000000000 Z
38
+ date: 2024-10-04 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: core
@@ -57,14 +57,14 @@ dependencies:
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '12.8'
60
+ version: '12.9'
61
61
  type: :runtime
62
62
  prerelease: false
63
63
  version_requirements: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '12.8'
67
+ version: '12.9'
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: tone
70
70
  requirement: !ruby/object:Gem::Requirement
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
168
  requirements: []
169
- rubygems_version: 3.5.18
169
+ rubygems_version: 3.5.21
170
170
  signing_key:
171
171
  specification_version: 4
172
172
  summary: A customizable and feature rich logger.
metadata.gz.sig CHANGED
Binary file