cogger 0.0.0 → 0.0.1

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: 465a15ec3c5e20f27ef9956b05cc8f2899ef686317e226ba5b16830c3db153de
4
- data.tar.gz: '06861836951ec57ffb8dcfe10dcdcb8914eea7264725a53b34302a09e21a8e08'
3
+ metadata.gz: 549f70dc2a1efc438bfec3d9c565033d67aa9bb9ed7c67b1d846821f40a43755
4
+ data.tar.gz: 7c69238e1957399e8c921705a08633d42b6a9a49749df4e54af92652d18c988f
5
5
  SHA512:
6
- metadata.gz: f0e509f2aa695e350fca06ac740de063bfa31e5971923b96697ee6d0ef47b2ea512cc2f1988b32833efc99303c5f9eca89d3135f7499dc7fda8f2f8e49cbcbe0
7
- data.tar.gz: aef3da2c06270335364bc4d164743aa85c86730eb317677c8efdb4264922098b810104f21b744aa728992fe9c9e919dea085909dee7edf564c28083613652d32
6
+ metadata.gz: 9da91778d1781177eb34752785d1fcad0884af4f903d14ae240965b0133828a20db0de2cbff35bebca1fed164f073a1f6490b3c2f1b4af264a9de17a199823ba
7
+ data.tar.gz: 119a4f3088262ff8e1d82e9a6c0d5d03dcc434742eb5d850ebde50dc199d1e9c125efbd15314396ae2a594c487d713336ce528b567c57c90725a9e14d2c0e589
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -117,7 +117,7 @@ logger = Cogger::Client.new do |instance|
117
117
  end
118
118
  ----
119
119
 
120
- ==== Levels
120
+ ==== Environment
121
121
 
122
122
  The default log level is `INFO` but can be customized via your environment. For instance, you could
123
123
  set the logging level to any of the following:
@@ -184,7 +184,7 @@ was logged. Example:
184
184
  [source,ruby]
185
185
  ----
186
186
  class Demo
187
- def initialize logger: Cogger::Logger.new
187
+ def initialize logger: Cogger::Client.new
188
188
  @logger = logger
189
189
  end
190
190
 
@@ -198,12 +198,12 @@ end
198
198
  RSpec.describe Demo do
199
199
  subject(:demo) { described_class.new logger: }
200
200
 
201
- let(:logger) { Cogger::Logger.new Logger.new(StringIO.new) }
201
+ let(:logger) { Cogger::Client.new Logger.new(StringIO.new) }
202
202
 
203
203
  describe "#say" do
204
204
  it "logs text" do
205
- demo.say "Hi"
206
- expect(logger.reread).to include("Hi")
205
+ demo.say "test"
206
+ expect(logger.reread).to include("test")
207
207
  end
208
208
  end
209
209
  end
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.0.0"
5
+ spec.version = "0.0.1"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/cogger"
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.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
29
29
  RFE=
30
30
  -----END CERTIFICATE-----
31
- date: 2022-04-03 00:00:00.000000000 Z
31
+ date: 2022-04-09 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: pastel
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  requirements: []
103
- rubygems_version: 3.3.10
103
+ rubygems_version: 3.3.11
104
104
  signing_key:
105
105
  specification_version: 4
106
106
  summary: Decorates native logging with colorized output.
metadata.gz.sig CHANGED
Binary file