guard-spork 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/guard/spork/runner.rb +2 -2
- data/lib/guard/spork/version.rb +1 -1
- metadata +55 -61
data/lib/guard/spork/runner.rb
CHANGED
@@ -29,7 +29,7 @@ module Guard
|
|
29
29
|
|
30
30
|
def kill_sporks
|
31
31
|
UI.debug "Killing Spork servers with PID: #{spork_pids.join(', ')}"
|
32
|
-
spork_pids.each { |pid| Process.kill("KILL", pid) }
|
32
|
+
spork_pids.each { |pid| ::Process.kill("KILL", pid) }
|
33
33
|
end
|
34
34
|
|
35
35
|
private
|
@@ -85,7 +85,7 @@ module Guard
|
|
85
85
|
stats = []
|
86
86
|
loop do
|
87
87
|
begin
|
88
|
-
pid, stat = Process.wait2(-1, Process::WNOHANG)
|
88
|
+
pid, stat = ::Process.wait2(-1, ::Process::WNOHANG)
|
89
89
|
break if pid.nil?
|
90
90
|
stats << stat
|
91
91
|
rescue Errno::ECHILD
|
data/lib/guard/spork/version.rb
CHANGED
metadata
CHANGED
@@ -1,114 +1,108 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-spork
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
4
5
|
prerelease:
|
5
|
-
version: 0.2.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Thibaud Guillaume-Gentil
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-07-06 00:00:00.000000000 +02:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
16
|
name: guard
|
17
|
-
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: &2153014920 !ruby/object:Gem::Requirement
|
19
18
|
none: false
|
20
|
-
requirements:
|
21
|
-
- -
|
22
|
-
- !ruby/object:Gem::Version
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
23
22
|
version: 0.2.2
|
24
23
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: spork
|
28
24
|
prerelease: false
|
29
|
-
|
25
|
+
version_requirements: *2153014920
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: spork
|
28
|
+
requirement: &2153014000 !ruby/object:Gem::Requirement
|
30
29
|
none: false
|
31
|
-
requirements:
|
32
|
-
- -
|
33
|
-
- !ruby/object:Gem::Version
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
34
33
|
version: 0.8.4
|
35
34
|
type: :runtime
|
36
|
-
version_requirements: *id002
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: bundler
|
39
35
|
prerelease: false
|
40
|
-
|
36
|
+
version_requirements: *2153014000
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: bundler
|
39
|
+
requirement: &2153013440 !ruby/object:Gem::Requirement
|
41
40
|
none: false
|
42
|
-
requirements:
|
41
|
+
requirements:
|
43
42
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version:
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '1.0'
|
46
45
|
type: :development
|
47
|
-
version_requirements: *id003
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: rspec
|
50
46
|
prerelease: false
|
51
|
-
|
47
|
+
version_requirements: *2153013440
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: rspec
|
50
|
+
requirement: &2153012860 !ruby/object:Gem::Requirement
|
52
51
|
none: false
|
53
|
-
requirements:
|
52
|
+
requirements:
|
54
53
|
- - ~>
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version:
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '2.6'
|
57
56
|
type: :development
|
58
|
-
version_requirements: *id004
|
59
|
-
- !ruby/object:Gem::Dependency
|
60
|
-
name: guard-rspec
|
61
57
|
prerelease: false
|
62
|
-
|
58
|
+
version_requirements: *2153012860
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: guard-rspec
|
61
|
+
requirement: &2153012240 !ruby/object:Gem::Requirement
|
63
62
|
none: false
|
64
|
-
requirements:
|
63
|
+
requirements:
|
65
64
|
- - ~>
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version:
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0.4'
|
68
67
|
type: :development
|
69
|
-
|
68
|
+
prerelease: false
|
69
|
+
version_requirements: *2153012240
|
70
70
|
description: Guard::Spork automatically manage Spork DRb servers.
|
71
|
-
email:
|
71
|
+
email:
|
72
72
|
- thibaud@thibaud.me
|
73
73
|
executables: []
|
74
|
-
|
75
74
|
extensions: []
|
76
|
-
|
77
75
|
extra_rdoc_files: []
|
78
|
-
|
79
|
-
files:
|
76
|
+
files:
|
80
77
|
- lib/guard/spork/runner.rb
|
81
78
|
- lib/guard/spork/templates/Guardfile
|
82
79
|
- lib/guard/spork/version.rb
|
83
80
|
- lib/guard/spork.rb
|
84
81
|
- LICENSE
|
85
82
|
- README.rdoc
|
83
|
+
has_rdoc: true
|
86
84
|
homepage: http://rubygems.org/gems/guard-spork
|
87
85
|
licenses: []
|
88
|
-
|
89
86
|
post_install_message:
|
90
87
|
rdoc_options: []
|
91
|
-
|
92
|
-
require_paths:
|
88
|
+
require_paths:
|
93
89
|
- lib
|
94
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
95
91
|
none: false
|
96
|
-
requirements:
|
97
|
-
- -
|
98
|
-
- !ruby/object:Gem::Version
|
92
|
+
requirements:
|
93
|
+
- - ! '>='
|
94
|
+
- !ruby/object:Gem::Version
|
99
95
|
version: 1.8.7
|
100
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
97
|
none: false
|
102
|
-
requirements:
|
103
|
-
- -
|
104
|
-
- !ruby/object:Gem::Version
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
105
101
|
version: 1.3.6
|
106
102
|
requirements: []
|
107
|
-
|
108
103
|
rubyforge_project: guard-spork
|
109
|
-
rubygems_version: 1.
|
104
|
+
rubygems_version: 1.6.2
|
110
105
|
signing_key:
|
111
106
|
specification_version: 3
|
112
107
|
summary: Guard gem for Spork
|
113
108
|
test_files: []
|
114
|
-
|