ringleader 1.1.5.pre1 → 1.1.5.pre2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ringleader/process.rb +7 -0
- data/lib/ringleader/version.rb +1 -1
- data/ringleader.gemspec +3 -3
- metadata +7 -7
data/lib/ringleader/process.rb
CHANGED
@@ -107,6 +107,13 @@ module Ringleader
|
|
107
107
|
@starting = true
|
108
108
|
info "starting process `#{config.command}`"
|
109
109
|
|
110
|
+
unless File.directory?(config.dir)
|
111
|
+
error "#{config.dir} does not exist!"
|
112
|
+
@starting = false
|
113
|
+
@running = false
|
114
|
+
return false
|
115
|
+
end
|
116
|
+
|
110
117
|
# give the child process a terminal so output isn't buffered
|
111
118
|
@master, slave = PTY.open
|
112
119
|
in_clean_environment do
|
data/lib/ringleader/version.rb
CHANGED
data/ringleader.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
|
|
6
6
|
gem.email = ["nwitmer@gmail.com"]
|
7
7
|
gem.description = %q{TCP application host and proxy server}
|
8
8
|
gem.summary = %q{Proxy TCP connections to an on-demand pool of configured applications}
|
9
|
-
gem.homepage = "https://github.com/
|
9
|
+
gem.homepage = "https://github.com/zerowidth/ringleader"
|
10
10
|
|
11
11
|
gem.files = `git ls-files`.split($\)
|
12
12
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
@@ -16,8 +16,8 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.version = Ringleader::VERSION
|
17
17
|
gem.required_ruby_version = "> 1.9.3"
|
18
18
|
|
19
|
-
gem.add_dependency "celluloid", "~> 0.
|
20
|
-
gem.add_dependency "celluloid-io", "~> 0.
|
19
|
+
gem.add_dependency "celluloid", "~> 0.14.0.pre"
|
20
|
+
gem.add_dependency "celluloid-io", "~> 0.14.0.pre"
|
21
21
|
gem.add_dependency "reel", "~> 0.3.0"
|
22
22
|
gem.add_dependency "trollop", "~> 1.16.2"
|
23
23
|
gem.add_dependency "rainbow", "~> 1.1.4"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ringleader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.5.
|
4
|
+
version: 1.1.5.pre2
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: celluloid
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.14.0.pre
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.14.0.pre
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: celluloid-io
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 0.
|
37
|
+
version: 0.14.0.pre
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
45
|
+
version: 0.14.0.pre
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: reel
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -241,7 +241,7 @@ files:
|
|
241
241
|
- spec/fixtures/rvm.yml
|
242
242
|
- spec/ringleader/config_spec.rb
|
243
243
|
- spec/spec_helper.rb
|
244
|
-
homepage: https://github.com/
|
244
|
+
homepage: https://github.com/zerowidth/ringleader
|
245
245
|
licenses: []
|
246
246
|
post_install_message:
|
247
247
|
rdoc_options: []
|