console 1.2.1 → 1.2.2

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: 1f316273e881fc3d2c15b4f475465e948984f411683d9bfdb83debdd2920a80b
4
- data.tar.gz: f47ede631556011b0db57b99e854ca223fdd10f3caa2969c712d7dd97d0dd29d
3
+ metadata.gz: 42c957c1d64c6505fbeb52cd01efcd22117ecb74a0d0553c694edfa12c9ee649
4
+ data.tar.gz: 7096c0f2e4a91f723857ffc94626a2a8b111ef80cbc0a4b48b21ea83d332a68f
5
5
  SHA512:
6
- metadata.gz: d4f3c1672139f34fe869b30a328637b454f47fbe09064185909107a612f4fd6d997d2c50a6919e9f399165b6b71e3ce0e2657723d4a374072e3e43dcb533c317
7
- data.tar.gz: f0296a5d72fb61a284412d9ff822a461a841d0ca49cbb135550f1b092355ff6b04f3cffc5cf22669f64dc87b24250544f3fcb8d4bc41ef4ce01f93c7f97cd711
6
+ metadata.gz: 48066e81cd4018dd39a8cf41075a098c4f8e540b68a85dcec668b6d88462502a01e3f2349c392f385b87530372e2e68df505a838502bbb8cf315e7d0e87a6ef5
7
+ data.tar.gz: 8d13ed18bad4f335065d71a5d5784f86ad765d104bc62f8322d7212ddcd603f417aa220fe538c3ec5e4fc9118a9b3ffa3aa676e7efdc5aabff233e03e5e48fe5
@@ -55,7 +55,7 @@ module Console
55
55
  return klass
56
56
  end
57
57
 
58
- def initialize(output, verbose: true, level: 0, **options)
58
+ def initialize(output, verbose: true, level: self.class::DEFAULT_LEVEL, **options)
59
59
  @level = level
60
60
  @verbose = verbose
61
61
 
@@ -22,10 +22,10 @@ require_relative 'filter'
22
22
 
23
23
  module Console
24
24
  class Logger < Filter[debug: 0, info: 1, warn: 2, error: 3, fatal: 4]
25
+ DEFAULT_LEVEL = 1
26
+
25
27
  def initialize(output, **options)
26
28
  super(output, **options)
27
-
28
- self.info!
29
29
  end
30
30
  end
31
31
  end
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Console
22
- VERSION = "1.2.1"
22
+ VERSION = "1.2.2"
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: console
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-05 00:00:00.000000000 Z
11
+ date: 2019-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: covered