engineyard-serverside 1.5.28.pre6 → 1.5.28.pre7
Sign up to get free protection for your applications and to get access to all the features.
@@ -57,7 +57,7 @@ module EY
|
|
57
57
|
EY::Serverside::LoggedOutput.verbose = options[:verbose]
|
58
58
|
EY::Serverside::LoggedOutput.logfile = File.join(ENV['HOME'], "#{options[:app]}-deploy.log")
|
59
59
|
|
60
|
-
|
60
|
+
propagate
|
61
61
|
|
62
62
|
EY::Serverside::Deploy.new(config).send(default_task)
|
63
63
|
end
|
@@ -138,7 +138,7 @@ module EY
|
|
138
138
|
|
139
139
|
EY::Serverside::Server.load_all_from_array(assemble_instance_hashes(config))
|
140
140
|
|
141
|
-
|
141
|
+
propagate
|
142
142
|
|
143
143
|
EY::Serverside::Server.all.each do |server|
|
144
144
|
server.sync_directory app_dir
|
@@ -184,7 +184,7 @@ module EY
|
|
184
184
|
config = EY::Serverside::Deploy::Configuration.new(options)
|
185
185
|
EY::Serverside::Server.load_all_from_array(assemble_instance_hashes(config))
|
186
186
|
|
187
|
-
|
187
|
+
propagate
|
188
188
|
|
189
189
|
EY::Serverside::Deploy.new(config).restart_with_maintenance_page
|
190
190
|
end
|
@@ -214,19 +214,13 @@ module EY
|
|
214
214
|
servers = EY::Serverside::Server.all.find_all { |server| !server.local? }
|
215
215
|
|
216
216
|
futures = EY::Serverside::Future.call(servers) do |server|
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
installed = server.install_gem(local_gem_file, remote_gem_file)
|
223
|
-
end
|
224
|
-
return installed
|
225
|
-
rescue
|
226
|
-
puts $!.message
|
227
|
-
puts $!.backtrace.join("\n")
|
228
|
-
return false
|
217
|
+
installed = server.gem?('engineyard-serverside', EY::Serverside::VERSION)
|
218
|
+
unless installed # doesn't have this exact version
|
219
|
+
puts "~> Installing engineyard-serverside on #{server.hostname}"
|
220
|
+
|
221
|
+
installed = server.install_gem(local_gem_file, remote_gem_file)
|
229
222
|
end
|
223
|
+
installed
|
230
224
|
end
|
231
225
|
|
232
226
|
EY::Serverside::Future.success?(futures)
|
@@ -106,7 +106,7 @@ module EY
|
|
106
106
|
egrep_escaped_version = version.gsub(/\./, '\.')
|
107
107
|
# the [,)] is to stop us from looking for e.g. 0.5.1, seeing
|
108
108
|
# 0.5.11, and mistakenly thinking 0.5.1 is there
|
109
|
-
has_gem_cmd =
|
109
|
+
has_gem_cmd = %Q{#{gem_binary} list #{name} | grep "#{name}" | egrep -q "#{egrep_escaped_version}[,)]"}
|
110
110
|
run(has_gem_cmd)
|
111
111
|
end
|
112
112
|
|
@@ -119,7 +119,7 @@ module EY
|
|
119
119
|
end
|
120
120
|
|
121
121
|
def gem_binary
|
122
|
-
File.
|
122
|
+
File.join(Gem.default_bindir, 'gem')
|
123
123
|
end
|
124
124
|
|
125
125
|
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.28.
|
4
|
+
version: 1.5.28.pre7
|
5
5
|
prerelease: 7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &2154483520 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - =
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.3.2
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2154483520
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &2154508560 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.9.2.2
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2154508560
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rdoc
|
38
|
-
requirement: &
|
38
|
+
requirement: &2154508180 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2154508180
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: timecop
|
49
|
-
requirement: &
|
49
|
+
requirement: &2154507720 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2154507720
|
58
58
|
description:
|
59
59
|
email: cloud@engineyard.com
|
60
60
|
executables:
|