file_pool 0.3.7 → 0.3.8

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.
@@ -1,3 +1,3 @@
1
1
  module FilePool
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
3
3
  end
data/lib/file_pool.rb CHANGED
@@ -106,10 +106,10 @@ module FilePool
106
106
 
107
107
  if options[:background]
108
108
  # don't wait, avoid zombies
109
- Process.detach(pid)
109
+ Process.detach(child)
110
110
  else
111
111
  # block until done
112
- Process.waitpid(pid)
112
+ Process.waitpid(child)
113
113
  end
114
114
 
115
115
  newid
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: file_pool
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 7
10
- version: 0.3.7
9
+ - 8
10
+ version: 0.3.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - "robokopp (Robert Anni\xC3\xA9s)"