engineyard-serverside 1.5.23.ruby19.6 → 1.5.23.ruby19.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -108,7 +108,7 @@ module EY
108
108
  end
109
109
 
110
110
  def install_gem(path)
111
- run("#{gem_command} install --no-ri --no-rdoc #{path}")
111
+ run("#{gem_command} install -q --no-ri --no-rdoc #{path}")
112
112
  end
113
113
 
114
114
  def gem_command
@@ -48,14 +48,18 @@ module EY
48
48
  private
49
49
 
50
50
  def run_on_roles(cmd, wrapper=%w[sh -l -c])
51
- results = EY::Serverside::Server.from_roles(@roles).map do |server|
51
+ futures = EY::Serverside::Server.from_roles(@roles).map do |server|
52
52
  to_run = block_given? ? yield(server, cmd.dup) : cmd
53
53
  Celluloid::Future.new { server.run(Escape.shell_command(wrapper + [to_run])) }
54
54
  end
55
55
  # MRI's truthiness check is an internal C thing that does not call
56
56
  # any methods... so Dataflow cannot proxy it & we must "x == true"
57
57
  # Rubinius, wherefore art thou!?
58
- results.all?{|x| x.value == true } || raise(EY::Serverside::RemoteFailure.new(cmd))
58
+ unless futures.empty?
59
+ results = futures.map {|x| x.value}
60
+ results.all?{|x| x == true } || raise(EY::Serverside::RemoteFailure.new("""#{cmd}
61
+ Results: #{results}"""))
62
+ end
59
63
  end
60
64
 
61
65
  end
@@ -1,5 +1,5 @@
1
1
  module EY
2
2
  module Serverside
3
- VERSION = '1.5.23.ruby19.6'
3
+ VERSION = '1.5.23.ruby19.7'
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: 1.5.23.ruby19.6
4
+ version: 1.5.23.ruby19.7
5
5
  prerelease: 7
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: celluloid
16
- requirement: &2158995700 !ruby/object:Gem::Requirement
16
+ requirement: &2157546700 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2158995700
24
+ version_requirements: *2157546700
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: thor
27
- requirement: &2158995200 !ruby/object:Gem::Requirement
27
+ requirement: &2157546200 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - =
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.13.3
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2158995200
35
+ version_requirements: *2157546200
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &2158994700 !ruby/object:Gem::Requirement
38
+ requirement: &2157545700 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - =
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.3.2
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2158994700
46
+ version_requirements: *2157545700
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
- requirement: &2158994240 !ruby/object:Gem::Requirement
49
+ requirement: &2157545240 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 0.9.2.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2158994240
57
+ version_requirements: *2157545240
58
58
  description:
59
59
  email: cloud@engineyard.com
60
60
  executables: