tee_logger 2.3.0 → 2.3.1

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: 59a9bb33bea8cf8a4daacb87ef8373c7fc600060
4
- data.tar.gz: 2caed1cc30207142e63c1793069bbcdf53a048e4
3
+ metadata.gz: c7cfa1233c7382b0aa859ac597dcf46c6624e631
4
+ data.tar.gz: 9c9c42fb945df93f0649e7a96c603045232efe4b
5
5
  SHA512:
6
- metadata.gz: fd999b91c1cd80c98115225a51a23785833f5697e6d4b747da45228c898e09f58e92f711bcc0718bb901f25a939d8774e4bb538a55e359923c562d9fa6bd0640
7
- data.tar.gz: a6fe565e2e2055101e306d938716c63099945ff82d1ed8da9e13bc53450dceea5960d305e1fae76331f72e4e9a100b2df35aa9b2de75ce480bd67cb7749a1231
6
+ metadata.gz: e766a42f2e74e1b03399eba2ceb86376088f04b18b0220ab9db72304ea0588f18c9d498ab9f6ddcf90fec182f3cd754b5b6e5cfa53f11f39c8b87921ec0b4646
7
+ data.tar.gz: ee19b4b2f1d5af0aaee20f7a72b268953d4e660b27e77cb9e4f81754d77e73c518fb9666be9b83919fc9ba7c3703c8a6852861bbb4087bf50a4fcab4cba26197
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 2.3.1
2
+ - refactoring
3
+ - TeeLogger#disable
4
+
1
5
  # 2.3.0
2
6
  - remove TeeLogger.attr_reader
3
7
  - and rename instance variable: @logger => @logfile
data/Gemfile CHANGED
@@ -2,3 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in tee_logger.gemspec
4
4
  gemspec
5
+ gem "codeclimate-test-reporter", group: :test, require: nil
data/README.md CHANGED
@@ -1,11 +1,13 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/tee_logger.svg)](http://badge.fury.io/rb/tee_logger)
2
2
  [![Build Status](https://travis-ci.org/k-ta-yamada/tee_logger.svg)](https://travis-ci.org/k-ta-yamada/tee_logger)
3
+ [![Code Climate](https://codeclimate.com/github/k-ta-yamada/tee_logger/badges/gpa.svg)](https://codeclimate.com/github/k-ta-yamada/tee_logger)
4
+ [![Test Coverage](https://codeclimate.com/github/k-ta-yamada/tee_logger/badges/coverage.svg)](https://codeclimate.com/github/k-ta-yamada/tee_logger/coverage)
3
5
 
4
6
  > Sorry, I changed Usage from version 2.0.0
5
7
 
6
8
  - [Rubygems.org](https://rubygems.org/gems/tee_logger)
7
9
  - [GitHub](https://github.com/k-ta-yamada/tee_logger)
8
- - [RubyDoc.info](http://www.rubydoc.info/gems/tee_logger/2.2.0)
10
+ - [RubyDoc.info](http://www.rubydoc.info/gems/tee_logger)
9
11
 
10
12
  # TeeLogger
11
13
 
@@ -1,5 +1,5 @@
1
1
  # namespace
2
2
  module TeeLogger
3
3
  # version number
4
- VERSION = '2.3.0'
4
+ VERSION = '2.3.1'
5
5
  end
data/lib/tee_logger.rb CHANGED
@@ -103,7 +103,7 @@ module TeeLogger
103
103
  # @todo Too miscellaneous
104
104
  # @param target [String, Symbol]
105
105
  def disable(target)
106
- instance_variable_get("@#{target}").formatter = proc { |_, _, _, _| }
106
+ instance_variable_get("@#{target}").formatter = proc { |_, _, _, _| '' }
107
107
  end
108
108
 
109
109
  # @todo Too miscellaneous
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tee_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - k-ta-yamada