semlogger 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/semlogger/rotate.rb +1 -1
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -9,7 +9,7 @@ class Semlogger::Rotate
9
9
 
10
10
  def open_if
11
11
  name = Time.now.strftime( @filename).gsub /%\$/, $$.to_s
12
- @file.close if @file and name != @file.path
12
+ close if @file and name != @file.path
13
13
  @file = File.open name, 'a' unless @file
14
14
  @file
15
15
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 4
9
- version: 0.0.4
8
+ - 5
9
+ version: 0.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Denis Knauf