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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 864a013edbe00a4cdcc64cdc5f469055c81a39011feb8b2630e028f7388d8169
4
- data.tar.gz: f6c9cdb622923a4df16aa1f318c78be864f47d4026cbd1c1245fa3837089df80
3
+ metadata.gz: 532289692d890ee67b30d2e4b5f725a43c1360ed37e4f58f3cd7885cbac1ac2e
4
+ data.tar.gz: e3e7edbc8ae802edab77418c9770b65edb6d3a152a6db8914902779a1df1b943
5
5
  SHA512:
6
- metadata.gz: 3133e82429f654071378e32791985bf923930c441a122725a0f1340d3757c61de1606865a165fe8f562d5340c406f3aea3f767371350f0c8ae46bf47ab337407
7
- data.tar.gz: bb01993b5f5408707bb6a1236e4e527460c35972d5d8fcc0d0f580f59824c75dcbb1ed11d0f2c3ee3bf508960710e5b8e4033668530b96134b65cbe8814ee1e2
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
- == Screenshot
26
+ == Screenshots
27
27
 
28
- image::https://alchemists.io/images/projects/cogger/screenshots/console.png[Console,width=1115,height=716,role=focal_point]
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
- # unknown: %i[bold white],
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.8.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.1"
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*"]
@@ -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, *%i[bold white on_red])
14
- .add_alias(:unknown, *%i[bold white])
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.8.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-12 00:00:00.000000000 Z
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.1'
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.1'
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