mimi-logger 0.1.1 → 0.1.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: a9e27d4de5da546bde567946828ee4e2cfffcd43
4
- data.tar.gz: abb9ff6842b419092747cec69d76e9531eb5e157
3
+ metadata.gz: fbe29541826be5c0039eaa0e048fb358b16fbdce
4
+ data.tar.gz: 3df2c56beae9eebb87a7651f4a38d14e871d6395
5
5
  SHA512:
6
- metadata.gz: 84691cfe5f129a37895126f34c64d0f3636998aee4f9b5045172861373c554072fd7fe104f2bea0d7c6741b8c8099f8d80a29064266b2a826c9e7d00622dda0e
7
- data.tar.gz: f745519a3727bb2800f8d46358e79679d0d04c739e29b3420ec3f3c8bb5960823987adee801c73a236ca403dddf019c15d8c7063dc17d8804ec41c2af46b5b39
6
+ metadata.gz: 18b631e1f90f9406c9556710b721e3761a01e9fff760881330f9b996f758ef2aa41e8eb9ead36432f7b06ab15d02b6f2753c83d9780a9050ec9dc4ae6b1e0432
7
+ data.tar.gz: 644d8221e16b761a5a7fcb63484566e88659421e71677eb728b3684f1938cec4453ff1fd50e3ee6a4a59804f3c57c999479654a15081567cb093a537ae744034
data/lib/mimi/logger.rb CHANGED
@@ -45,7 +45,7 @@ module Mimi
45
45
  opts = self.class.module_options.deep_merge(opts)
46
46
  @logger_instance = ::Logger.new(io)
47
47
  @logger_instance.level = self.class.level_from_any(opts[:level])
48
- io.sync if io.respond_to?(:sync)
48
+ io.sync = true if io.respond_to?(:sync=)
49
49
  @logger_instance.formatter = self.class.formatter
50
50
  end
51
51
 
@@ -1,5 +1,5 @@
1
1
  module Mimi
2
2
  class Logger
3
- VERSION = '0.1.1'.freeze
3
+ VERSION = '0.1.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mimi-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Kukushkin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-09 00:00:00.000000000 Z
11
+ date: 2016-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mimi-core