engineyard-serverside 2.6.8 → 2.6.9pre1
Sign up to get free protection for your applications and to get access to all the features.
@@ -29,13 +29,7 @@ module EY
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def binary
|
32
|
-
|
33
|
-
if File.exists?(resin_path)
|
34
|
-
resin_path
|
35
|
-
else
|
36
|
-
#gem relative path causes deploy hook failures if gem version mismatches with other app servers
|
37
|
-
File.expand_path("../../../bin/#{gem_name}", __FILE__)
|
38
|
-
end
|
32
|
+
File.expand_path("../../../bin/#{gem_name}", __FILE__)
|
39
33
|
end
|
40
34
|
|
41
35
|
def hook_executor
|
@@ -70,15 +70,7 @@ module EY
|
|
70
70
|
run "mkdir -p #{maintenance_page_dirname}"
|
71
71
|
public_system_symlink_warning
|
72
72
|
@up = true
|
73
|
-
|
74
|
-
if source_path == EY::Serverside::Paths::DEFAULT_MAINTENANCE_PAGE
|
75
|
-
#run fans out to all app servers but the serverside version is only isntalled on the server being used to deploy
|
76
|
-
#so if the serveside version being used isn't installed on a given app server the cp command would fail, but this echo will still work
|
77
|
-
run "echo '#{maintenance_page_html}' > #{enabled_maintenance_page_pathname}"
|
78
|
-
else
|
79
|
-
#since other possible paths are in your app, cp should work
|
80
|
-
run "cp #{source_path} #{enabled_maintenance_page_pathname}"
|
81
|
-
end
|
73
|
+
run "cp #{source_path} #{enabled_maintenance_page_pathname}"
|
82
74
|
end
|
83
75
|
|
84
76
|
def disable
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engineyard-serverside
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
5
|
-
prerelease:
|
4
|
+
version: 2.6.9pre1
|
5
|
+
prerelease: 5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- EY Cloud Team
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-08-
|
12
|
+
date: 2016-08-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|