console 1.4.1 → 1.5.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: 34ccd1256430f59ae972ea3759afc6a804eab3178686fdbe094e4835477414bb
4
- data.tar.gz: 6c9a306c59fa29b4fa93a71002977a159a89fb00cc3e07a51a92f4ceb91ee706
3
+ metadata.gz: fbf1eadc0f7feb035420f924a20586af9519aa49df5aedb11a4dbdd6fb74f6c4
4
+ data.tar.gz: 7d6d9d50f41664e74a0eb7ea7b1b176c7715915bf60e936d62ab5786855dd4c9
5
5
  SHA512:
6
- metadata.gz: 45b0209e1e0c69399fcafd519f6bc4f6913c2ea3df8afeea63b18a1ef6277b754c161be6d0bb4e2f75ea6358cd63a9063baeb42b8e0195cc231e9abae2e07b25
7
- data.tar.gz: 03c0d291a39afc46f44bb19e81d3285cf0f5764ecdd4e1f66121d7d503219ff9bd5b0a15c3acac63e5835ecfdf0376cb27f29724b3c7d835dfdda7b9a5dd9d2c
6
+ metadata.gz: f971cf07e39afd931aa72e72045bb0ac53fe6d301ce86af896947f295f3f27c8d815c124c433d1688d25f46e7f48ca004fd16d80e3abb4e79daf451292e56d2a
7
+ data.tar.gz: fabc30bc37fb1ea3d4ce2c54f2ca9aea101faf1484c037fea9b837ea0d7543bf9be5a56678ce3df293fa7d177747ed4caa429d968f2206d542376168b1b455d3
@@ -100,11 +100,11 @@ module Console
100
100
  end
101
101
 
102
102
  def off!
103
- @level = -1
103
+ @level = self.class::MAXIMUM_LEVEL + 1
104
104
  end
105
105
 
106
106
  def all!
107
- @level = self.class::MAXIMUM_LEVEL
107
+ @level = -1
108
108
  end
109
109
 
110
110
  # You can enable and disable logging for classes. This function checks if logging for a given subject is enabled.
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Console
22
- VERSION = "1.4.1"
22
+ VERSION = "1.5.0"
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.4.1
4
+ version: 1.5.0
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-10-14 00:00:00.000000000 Z
11
+ date: 2019-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: covered