cogger 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +29 -5
- data/cogger.gemspec +2 -2
- data/lib/cogger/registry.rb +3 -3
- data.tar.gz.sig +0 -0
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 532289692d890ee67b30d2e4b5f725a43c1360ed37e4f58f3cd7885cbac1ac2e
|
4
|
+
data.tar.gz: e3e7edbc8ae802edab77418c9770b65edb6d3a152a6db8914902779a1df1b943
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ccb37f5593cc139a445926860861a3bb03ebb9bab11a077100dba47ec262b1b595ee5a30c501aed280063c42a6fac12ea8c3038b5f773dfb298b20aae3607ef
|
7
|
+
data.tar.gz: 66ec62a82933c8063431daf5eb132e68df7c08aeffeaa55754660e2386abb868c627126cd009da08dde5976c853e83adc5567c453ed9454d4f78f3506e6ee382
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -23,9 +23,31 @@ toc::[]
|
|
23
23
|
* Provides multiple streams so you can log the same information to several outputs at once.
|
24
24
|
* Provides filtering of sensitive information.
|
25
25
|
|
26
|
-
==
|
26
|
+
== Screenshots
|
27
27
|
|
28
|
-
|
28
|
+
*Emoji*
|
29
|
+
|
30
|
+
image::https://alchemists.io/images/projects/cogger/screenshots/emoji.png[Emoji,width=150,height=130]
|
31
|
+
|
32
|
+
*Color*
|
33
|
+
|
34
|
+
image::https://alchemists.io/images/projects/cogger/screenshots/color.png[Color,width=150,height=125]
|
35
|
+
|
36
|
+
*Simple*
|
37
|
+
|
38
|
+
image::https://alchemists.io/images/projects/cogger/screenshots/simple.png[Simple,width=150,height=125]
|
39
|
+
|
40
|
+
*Detail*
|
41
|
+
|
42
|
+
image::https://alchemists.io/images/projects/cogger/screenshots/detail.png[Detail,width=350,height=130]
|
43
|
+
|
44
|
+
*JSON*
|
45
|
+
|
46
|
+
image::https://alchemists.io/images/projects/cogger/screenshots/json.png[JSON,width=803,height=130]
|
47
|
+
|
48
|
+
*Rack*
|
49
|
+
|
50
|
+
image::https://alchemists.io/images/projects/cogger/screenshots/rack.png[Rack,width=534,height=130]
|
29
51
|
|
30
52
|
== Requirements
|
31
53
|
|
@@ -220,7 +242,8 @@ Cogger.emojis
|
|
220
242
|
# :info => "🟢",
|
221
243
|
# :warn => "⚠️ ",
|
222
244
|
# :error => "🛑",
|
223
|
-
# :fatal => "🔥"
|
245
|
+
# :fatal => "🔥",
|
246
|
+
# :any => "⚫️"
|
224
247
|
# }
|
225
248
|
----
|
226
249
|
|
@@ -375,8 +398,7 @@ Cogger.aliases
|
|
375
398
|
# warn: :yellow,
|
376
399
|
# error: :red,
|
377
400
|
# fatal: %i[bold white on_red],
|
378
|
-
#
|
379
|
-
# any: %i[bold white]
|
401
|
+
# any: %i[dim bright_white]
|
380
402
|
# }
|
381
403
|
----
|
382
404
|
|
@@ -583,6 +605,8 @@ You can also use the IRB console for direct access to all objects:
|
|
583
605
|
bin/console
|
584
606
|
----
|
585
607
|
|
608
|
+
Lastly, there is a `bin/show` script which displays multiple log formats for quick visual reference. This is the same script used to generate the screenshots shown at the top of this document.
|
609
|
+
|
586
610
|
== Tests
|
587
611
|
|
588
612
|
To test, run:
|
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.
|
5
|
+
spec.version = "0.9.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.2"
|
26
26
|
spec.add_dependency "refinements", "~> 10.0"
|
27
|
-
spec.add_dependency "tone", "~> 0.
|
27
|
+
spec.add_dependency "tone", "~> 0.2"
|
28
28
|
spec.add_dependency "zeitwerk", "~> 2.6"
|
29
29
|
|
30
30
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
data/lib/cogger/registry.rb
CHANGED
@@ -10,14 +10,14 @@ module Cogger
|
|
10
10
|
.add_alias(:info, :green)
|
11
11
|
.add_alias(:warn, :yellow)
|
12
12
|
.add_alias(:error, :red)
|
13
|
-
.add_alias(:fatal,
|
14
|
-
.add_alias(:
|
15
|
-
.add_alias(:any, *%i[bold white])
|
13
|
+
.add_alias(:fatal, :bold, :white, :on_red)
|
14
|
+
.add_alias(:any, :dim, :bright_white)
|
16
15
|
.add_emoji(:debug, "🔎")
|
17
16
|
.add_emoji(:info, "🟢")
|
18
17
|
.add_emoji(:warn, "⚠️ ")
|
19
18
|
.add_emoji(:error, "🛑")
|
20
19
|
.add_emoji(:fatal, "🔥")
|
20
|
+
.add_emoji(:any, "⚫️")
|
21
21
|
.add_filter(:_csrf)
|
22
22
|
.add_filter(:password)
|
23
23
|
.add_filter(:password_confirmation)
|
data.tar.gz.sig
CHANGED
Binary file
|
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.
|
4
|
+
version: 0.9.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: 2023-04-
|
38
|
+
date: 2023-04-22 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: refinements
|
@@ -57,14 +57,14 @@ dependencies:
|
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0.
|
60
|
+
version: '0.2'
|
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: '0.
|
67
|
+
version: '0.2'
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
69
|
name: zeitwerk
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|