dohlog 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/doh/log/stream_acceptor.rb +2 -4
  2. metadata +1 -1
@@ -3,9 +3,8 @@ module DohLog
3
3
  class StreamAcceptor
4
4
  attr_reader :ios
5
5
 
6
- def initialize(flush, ios = nil)
7
- @ios = ios || STDOUT
8
- @ios.sync = flush
6
+ def initialize(ios)
7
+ @ios = ios
9
8
  end
10
9
 
11
10
  def add(event)
@@ -13,7 +12,6 @@ class StreamAcceptor
13
12
  end
14
13
 
15
14
  def shutdown
16
- @ios.close
17
15
  @ios = nil
18
16
  end
19
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dohlog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: