rufus-cloche 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.txt +4 -0
- data/lib/rufus/cloche.rb +2 -1
- data/test/test.rb +10 -0
- metadata +2 -2
data/CHANGELOG.txt
CHANGED
data/lib/rufus/cloche.rb
CHANGED
@@ -57,7 +57,7 @@ module Rufus
|
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
-
VERSION = '0.1.
|
60
|
+
VERSION = '0.1.5'
|
61
61
|
|
62
62
|
attr_reader :dir
|
63
63
|
|
@@ -260,6 +260,7 @@ module Rufus
|
|
260
260
|
#p [ :lock, @fpath, e ]
|
261
261
|
#e.backtrace.each { |l| puts l }
|
262
262
|
end
|
263
|
+
file.close rescue nil
|
263
264
|
end
|
264
265
|
end
|
265
266
|
end
|
data/test/test.rb
CHANGED
@@ -13,8 +13,18 @@ require File.join(ROOT, %w[ lib rufus cloche.rb ])
|
|
13
13
|
class ClocheTest < Test::Unit::TestCase
|
14
14
|
|
15
15
|
def setup
|
16
|
+
|
17
|
+
#lsof = `lsof -p #{$$}`
|
18
|
+
#puts '=' * 70
|
19
|
+
#puts lsof
|
20
|
+
#puts
|
21
|
+
#puts lsof.split("\n").size
|
22
|
+
#puts '=' * 70
|
23
|
+
|
16
24
|
@c_dir = File.join(ROOT, 'tcloche')
|
25
|
+
|
17
26
|
FileUtils.rm_rf(@c_dir) rescue nil
|
27
|
+
|
18
28
|
@c = Rufus::Cloche.new(:dir => @c_dir)
|
19
29
|
end
|
20
30
|
#def teardown
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rufus-cloche
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Mettraux
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-15 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|