extended_logger 0.6.1 → 0.6.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
  SHA1:
3
- metadata.gz: 4eb522f68f7697e65cffd4539df8219879be9973
4
- data.tar.gz: 0eda1536929c52214abe517846b7913adfe372da
3
+ metadata.gz: 97bbe77f301024495da9528d5ec193c89894f76b
4
+ data.tar.gz: d196a15033648b6e914d7a1c6b418448cb9210e4
5
5
  SHA512:
6
- metadata.gz: 8150607148ff582e2e8f959f67d614a05551bbc87bc227a272950a201a7639a2f12a70d7e118e5dfb4de215bfe2a18e5f6175e14987502edac6442ce0f508109
7
- data.tar.gz: 95d3dae30748c24e11ddfc5813e4c818514535a8318268c813d09a1b4bfec3016a1192a9e102ffe1e8dcd88c0e81f60f8cacec2cb0b1554e23146281c7f7d727
6
+ metadata.gz: 0c4dfec6925dd532ca2213c796f8a144583bb3c44a8b25037d8adffc8b8a21fb2f0535d64f0d0d684a254a3f3186e1e4fb9155f651e9b27f04798e9f8e9ff971
7
+ data.tar.gz: 1b764005965e5ddb5e604c775b03629c302a09829f7ddde4b89f986e9f4f2e37a805bd4646683bef0c3114801c3ba62bccad25c7f5a4c927d57ee7e14563b9ef
@@ -8,10 +8,11 @@ class ExtendedLogger
8
8
  @sink = sink
9
9
  end
10
10
 
11
- def self.build device=nil, **sink_arguments
11
+ def self.build device=nil, level: nil, **sink_arguments
12
12
  sink = self.sink device: device, **sink_arguments
13
13
 
14
14
  instance = new sink
15
+ instance.level = level if level
15
16
  instance
16
17
  end
17
18
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extended_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Ladd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-13 00:00:00.000000000 Z
11
+ date: 2016-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test_bench