treefell 0.2.2 → 0.2.3

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
  SHA1:
3
- metadata.gz: 0b320702819874e40877795f4d957ea40005f1d5
4
- data.tar.gz: f1465485137b21ef81b966d8f52445e8d061e3eb
3
+ metadata.gz: aa7207780fff940842ef702f33321ad8e07fff43
4
+ data.tar.gz: 4b7c5f201aa20cfed884557d3c5fac5f6ba26dff
5
5
  SHA512:
6
- metadata.gz: eb745fcba0d098d68bc6178c0463efcdc1587b716571b4b78759e07c0cdcb62456e27123dfd773c97cc3b73ed1ccfd5fdbe6e9c1cd90edabb847dec13cfd9b3a
7
- data.tar.gz: 037a0b798d1ec0274683282ad90127b440b0ef672201bb4354ad00cd428707922d9f46366485a17fd0b89813bd0ff0086d605de72904c941a89299f70544b126
6
+ metadata.gz: 180419544eea4e9eb0d3047000b3740c63618014ce33587cf9f0080efecc72c3ea33d1a3909f1e8f20339c7d826ab57b53891d7ac844e075fc24c0ff8715e809
7
+ data.tar.gz: 04cd2b4f0bcee70945b4cb4c808e685dcab9ba49e950495889ce031bfa4d361392370cd976f4a606aa8925cd73e53d5cb1b1ee97c234ac899c50523cd7e39d00
@@ -1,3 +1,3 @@
1
1
  module Treefell
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
data/lib/treefell.rb CHANGED
@@ -12,7 +12,7 @@ module Treefell
12
12
  end
13
13
 
14
14
  def self.env_var
15
- @env_var || Treefell::EnvFilter::ENV_VAR_KEY
15
+ @env_var || Filters::EnvFilter::ENV_VAR_KEY
16
16
  end
17
17
 
18
18
  def self.debug(namespace=nil, io: $stdout, filter: nil)
@@ -26,7 +26,8 @@ module Treefell
26
26
  end
27
27
 
28
28
  def self.reset
29
- @debug_loggers.clear
29
+ @debug_loggers.clear if @debug_loggers
30
+ @env_var = nil
30
31
  end
31
32
 
32
33
  def self.[](namespace)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: treefell
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zach Dennis