childprocess 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
data/childprocess.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{childprocess}
8
- s.version = "0.0.5"
8
+ s.version = "0.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jari Bakken"]
12
- s.date = %q{2010-10-08}
12
+ s.date = %q{2010-10-09}
13
13
  s.description = %q{This gem aims at being a simple and reliable solution for controlling external programs running in the background on any Ruby / OS combination.}
14
14
  s.email = %q{jari.bakken@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
48
48
  s.homepage = %q{http://github.com/jarib/childprocess}
49
49
  s.rdoc_options = ["--charset=UTF-8"]
50
50
  s.require_paths = ["lib"]
51
- s.rubygems_version = %q{1.3.5}
51
+ s.rubygems_version = %q{1.3.7}
52
52
  s.summary = %q{Cross-platform ruby library for managing child processes.}
53
53
  s.test_files = [
54
54
  "spec/childprocess_spec.rb",
@@ -60,7 +60,7 @@ Gem::Specification.new do |s|
60
60
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
61
61
  s.specification_version = 3
62
62
 
63
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
63
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
64
64
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
65
65
  s.add_development_dependency(%q<yard>, [">= 0"])
66
66
  s.add_runtime_dependency(%q<ffi>, ["~> 0.6.3"])
@@ -16,11 +16,13 @@ module ChildProcess
16
16
 
17
17
  def exited?
18
18
  return true if @exit_code
19
-
20
19
  assert_started
20
+
21
21
  code = @handle.exit_code
22
22
  exited = code != PROCESS_STILL_ACTIVE
23
23
 
24
+ log(exited, code)
25
+
24
26
  if exited
25
27
  @exit_code = code
26
28
  end
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: childprocess
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ hash: 19
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 6
10
+ version: 0.0.6
5
11
  platform: ruby
6
12
  authors:
7
13
  - Jari Bakken
@@ -9,39 +15,55 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2010-10-08 00:00:00 +02:00
18
+ date: 2010-10-09 00:00:00 +02:00
13
19
  default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: rspec
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 13
30
+ segments:
31
+ - 1
32
+ - 2
33
+ - 9
23
34
  version: 1.2.9
24
- version:
35
+ type: :development
36
+ version_requirements: *id001
25
37
  - !ruby/object:Gem::Dependency
26
38
  name: yard
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
30
42
  requirements:
31
43
  - - ">="
32
44
  - !ruby/object:Gem::Version
45
+ hash: 3
46
+ segments:
47
+ - 0
33
48
  version: "0"
34
- version:
49
+ type: :development
50
+ version_requirements: *id002
35
51
  - !ruby/object:Gem::Dependency
36
52
  name: ffi
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
40
56
  requirements:
41
57
  - - ~>
42
58
  - !ruby/object:Gem::Version
59
+ hash: 1
60
+ segments:
61
+ - 0
62
+ - 6
63
+ - 3
43
64
  version: 0.6.3
44
- version:
65
+ type: :runtime
66
+ version_requirements: *id003
45
67
  description: This gem aims at being a simple and reliable solution for controlling external programs running in the background on any Ruby / OS combination.
46
68
  email: jari.bakken@gmail.com
47
69
  executables: []
@@ -89,21 +111,27 @@ rdoc_options:
89
111
  require_paths:
90
112
  - lib
91
113
  required_ruby_version: !ruby/object:Gem::Requirement
114
+ none: false
92
115
  requirements:
93
116
  - - ">="
94
117
  - !ruby/object:Gem::Version
118
+ hash: 3
119
+ segments:
120
+ - 0
95
121
  version: "0"
96
- version:
97
122
  required_rubygems_version: !ruby/object:Gem::Requirement
123
+ none: false
98
124
  requirements:
99
125
  - - ">="
100
126
  - !ruby/object:Gem::Version
127
+ hash: 3
128
+ segments:
129
+ - 0
101
130
  version: "0"
102
- version:
103
131
  requirements: []
104
132
 
105
133
  rubyforge_project:
106
- rubygems_version: 1.3.5
134
+ rubygems_version: 1.3.7
107
135
  signing_key:
108
136
  specification_version: 3
109
137
  summary: Cross-platform ruby library for managing child processes.