open4 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README +3 -0
- data/lib/{open4-0.9.0.rb → open4-0.9.1.rb} +2 -2
- data/lib/open4.rb +2 -2
- metadata +3 -3
data/README
CHANGED
@@ -10,6 +10,9 @@ SYNOPSIS
|
|
10
10
|
|
11
11
|
HISTORY
|
12
12
|
|
13
|
+
0.9.1:
|
14
|
+
- fixed warning with '-w' : @cid not initialized. thanks blaise tarr.
|
15
|
+
|
13
16
|
0.9.0:
|
14
17
|
- added the ability for open4.spawn to take either an array of arguments
|
15
18
|
or multiple arguments in order to specify the argv for the command run.
|
@@ -4,7 +4,7 @@ require 'thread'
|
|
4
4
|
|
5
5
|
module Open4
|
6
6
|
#--{{{
|
7
|
-
VERSION = '0.9.
|
7
|
+
VERSION = '0.9.1'
|
8
8
|
def self.version() VERSION end
|
9
9
|
|
10
10
|
class Error < ::StandardError; end
|
@@ -102,7 +102,7 @@ module Open4
|
|
102
102
|
attr 'threads'
|
103
103
|
|
104
104
|
def initialize cid
|
105
|
-
@cid, @threads, @argv, @done, @running =
|
105
|
+
@cid, @threads, @argv, @done, @running = cid, [], [], Queue.new, false
|
106
106
|
@killed = false
|
107
107
|
end
|
108
108
|
|
data/lib/open4.rb
CHANGED
@@ -4,7 +4,7 @@ require 'thread'
|
|
4
4
|
|
5
5
|
module Open4
|
6
6
|
#--{{{
|
7
|
-
VERSION = '0.9.
|
7
|
+
VERSION = '0.9.1'
|
8
8
|
def self.version() VERSION end
|
9
9
|
|
10
10
|
class Error < ::StandardError; end
|
@@ -102,7 +102,7 @@ module Open4
|
|
102
102
|
attr 'threads'
|
103
103
|
|
104
104
|
def initialize cid
|
105
|
-
@cid, @threads, @argv, @done, @running =
|
105
|
+
@cid, @threads, @argv, @done, @running = cid, [], [], Queue.new, false
|
106
106
|
@killed = false
|
107
107
|
end
|
108
108
|
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: open4
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.9.
|
7
|
-
date: 2006-10-
|
6
|
+
version: 0.9.1
|
7
|
+
date: 2006-10-24 00:00:00.000000 -06:00
|
8
8
|
summary: open4
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -42,7 +42,7 @@ files:
|
|
42
42
|
- sample/timeout.rb
|
43
43
|
- sample/stdin_timeout.rb
|
44
44
|
- lib/open4.rb
|
45
|
-
- lib/open4-0.9.
|
45
|
+
- lib/open4-0.9.1.rb
|
46
46
|
test_files: []
|
47
47
|
rdoc_options: []
|
48
48
|
extra_rdoc_files: []
|