Compare commits

...
5 Commits
Author SHA1 Message Date
David Dollar 1485eeb859 0.36.1 2012-01-18 11:18:39 -05:00
David Dollar e0b5928e88 bump term-ansicolor in gemspec 2012-01-18 11:18:33 -05:00
David Dollar a73dce5405 0.36.0 2012-01-17 22:21:36 -05:00
David Dollar 2abddb42b3 sync the writer stream 2012-01-17 22:21:16 -05:00
David Dollar d961a32cfe capture stderr as well 2012-01-17 22:20:25 -05:00
4 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
PATH PATH
remote: . remote: .
specs: specs:
foreman (0.35.0) foreman (0.36.1)
term-ansicolor (~> 1.0.5) term-ansicolor (~> 1.0.7)
thor (>= 0.13.6) thor (>= 0.13.6)
GEM GEM
+1 -1
View File
@@ -16,6 +16,6 @@ Gem::Specification.new do |gem|
gem.files = Dir["**/*"].select { |d| d =~ %r{^(README|bin/|data/|ext/|lib/|spec/|test/)} } gem.files = Dir["**/*"].select { |d| d =~ %r{^(README|bin/|data/|ext/|lib/|spec/|test/)} }
gem.files << "man/foreman.1" gem.files << "man/foreman.1"
gem.add_dependency 'term-ansicolor', '~> 1.0.5' gem.add_dependency 'term-ansicolor', '~> 1.0.7'
gem.add_dependency 'thor', '>= 0.13.6' gem.add_dependency 'thor', '>= 0.13.6'
end end
+2
View File
@@ -31,7 +31,9 @@ private
reader, writer = IO.pipe reader, writer = IO.pipe
pid = fork do pid = fork do
trap("INT", "IGNORE") trap("INT", "IGNORE")
writer.sync = true
$stdout.reopen writer $stdout.reopen writer
$stderr.reopen writer
reader.close reader.close
exec Foreman.runner, replace_command_env(command) exec Foreman.runner, replace_command_env(command)
end end
+1 -1
View File
@@ -1,5 +1,5 @@
module Foreman module Foreman
VERSION = "0.35.0" VERSION = "0.36.1"
end end