engineyard-serverside 2.5.0.cs3 → 2.5.0.cs4

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,9 +19,8 @@ module EY
19
19
 
20
20
  log_pathname = Pathname.new(options[:log_path])
21
21
  log_pathname.unlink if log_pathname.exist? # start fresh
22
- @logger = Logger.new(log_pathname.to_s)
22
+ @logger = Logger.new($stdout)
23
23
  @logger.level = Logger::DEBUG # Always log to the file at debug, formatter hides debug for non-verbose
24
- @logger.formatter = EY::Serverside::Shell::Formatter.new(@stdout, @stderr, start_time, @verbose)
25
24
  end
26
25
 
27
26
  def verbose?
@@ -58,9 +57,9 @@ module EY
58
57
  # $ cmd blah do \
59
58
  # > something more
60
59
  # > end
61
- def command_show(cmd) debug cmd.gsub(/^/,' > ').sub(/>/, '$') end
62
- def command_out(msg) debug msg.gsub(/^/,' ') end
63
- def command_err(msg) unknown msg.gsub(/^/,' ') end
60
+ def command_show(cmd) $stderr << cmd.gsub(/^/,' > ').sub(/>/, '$') end
61
+ def command_out(msg) $stderr << msg.gsub(/^/,' ') end
62
+ def command_err(msg) $stderr << msg.gsub(/^/,' ') end
64
63
 
65
64
  def logged_system(cmd, server = nil)
66
65
  EY::Serverside::Spawner.run(cmd, self, server)
@@ -1,5 +1,5 @@
1
1
  module EY
2
2
  module Serverside
3
- VERSION = '2.5.0.cs3'
3
+ VERSION = '2.5.0.cs4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: engineyard-serverside
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0.cs3
4
+ version: 2.5.0.cs4
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: