logue 1.0.10 → 1.0.11

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: 55aae1d709c8c9174f2ce03f228a050c55b2f74c
4
- data.tar.gz: be8c6ae5a7153e502b0ce0e5f50f425b72da09d0
3
+ metadata.gz: be0ec7812a60a739464699d8c086904cfd5e4b80
4
+ data.tar.gz: 1fc954e903970d9c00b5a5a5750f3c6919d04d86
5
5
  SHA512:
6
- metadata.gz: a15a52cd4cf076a5a19f5a3ca6142fa17fa99dca601c48cb04b1dd7fcf78e5acfcc133c151abe3a1f55faabd124e29216cfeef9a4ca98b10a9b5ac97a20f1c56
7
- data.tar.gz: 8d734ae5af75a88bb412e42011e31868ad29f9264bb6350e2a58bde514446eab7ddbef345b7cf889c6dc86017ffa2cf381197f15d41d772948ac6066e88e63e5
6
+ metadata.gz: c78f24d2d9627010644a85b84f358cb96b09fb8f14cdbe2f3fa818e7550e0c818c760a31791c81a11c7629791a50557cd4e737965c2d96c6f7036958a1a0a816
7
+ data.tar.gz: 632c4304e9c77de1b879b44f85df1d916ad6a196a7931464e83171a8475d72639979ae06c6041bcfd23b0c5a33ee4156b687102cbb16e21d3883920d43ab5d34
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- logue (1.0.10)
4
+ logue (1.0.11)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/logue/logger.rb CHANGED
@@ -88,6 +88,10 @@ class Logue::Logger
88
88
  level >= WARN
89
89
  end
90
90
 
91
+ def quiet= b
92
+ level = b ? WARN : DEBUG
93
+ end
94
+
91
95
  # Assigns output to a file with the given name. Returns the file; the client is responsible for
92
96
  # closing it.
93
97
  def outfile= f
data/lib/logue/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # -*- ruby -*-
3
3
 
4
4
  module Logue
5
- VERSION = '1.0.10'
5
+ VERSION = '1.0.11'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Pace