engineyard-serverside 1.3.4.jruby.2 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/engineyard-serverside/version.rb +1 -1
- data/spec/real_deploy_spec.rb +8 -2
- metadata +8 -12
data/spec/real_deploy_spec.rb
CHANGED
@@ -6,6 +6,8 @@ module EY::Strategies::IntegrationSpec
|
|
6
6
|
def update_repository_cache
|
7
7
|
cached_copy = File.join(c.shared_path, 'cached-copy')
|
8
8
|
|
9
|
+
FileUtils.mkdir_p(File.join(c.shared_path, 'config'))
|
10
|
+
|
9
11
|
FileUtils.mkdir_p(cached_copy)
|
10
12
|
Dir.chdir(cached_copy) do
|
11
13
|
`echo "this is my file; there are many like it, but this one is mine" > file`
|
@@ -74,11 +76,15 @@ describe "deploying an application" do
|
|
74
76
|
end
|
75
77
|
|
76
78
|
def run(cmd)
|
77
|
-
|
79
|
+
#$stderr.puts(cmd)
|
78
80
|
@commands << cmd
|
79
81
|
super
|
80
82
|
end
|
81
83
|
|
84
|
+
def restart
|
85
|
+
FileUtils.touch("#{c.release_path}/restart")
|
86
|
+
end
|
87
|
+
|
82
88
|
# we're probably running this spec under bundler, but a real
|
83
89
|
# deploy does not
|
84
90
|
def bundle
|
@@ -128,7 +134,7 @@ describe "deploying an application" do
|
|
128
134
|
end
|
129
135
|
|
130
136
|
it "restarts the app servers" do
|
131
|
-
File.exist?(File.join(@deploy_dir, 'current', '
|
137
|
+
File.exist?(File.join(@deploy_dir, 'current', 'restart')).should be_true
|
132
138
|
end
|
133
139
|
|
134
140
|
it "runs 'bundle install' with --deployment" do
|
metadata
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engineyard-serverside
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 19
|
5
|
+
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 3
|
9
9
|
- 4
|
10
|
-
|
11
|
-
- 2
|
12
|
-
version: 1.3.4.jruby.2
|
10
|
+
version: 1.3.4
|
13
11
|
platform: ruby
|
14
12
|
authors:
|
15
13
|
- EY Cloud Team
|
@@ -17,7 +15,7 @@ autorequire:
|
|
17
15
|
bindir: bin
|
18
16
|
cert_chain: []
|
19
17
|
|
20
|
-
date: 2010-09-
|
18
|
+
date: 2010-09-28 00:00:00 -07:00
|
21
19
|
default_executable: engineyard-serverside
|
22
20
|
dependencies: []
|
23
21
|
|
@@ -273,14 +271,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
273
271
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
274
272
|
none: false
|
275
273
|
requirements:
|
276
|
-
- - "
|
274
|
+
- - ">="
|
277
275
|
- !ruby/object:Gem::Version
|
278
|
-
hash:
|
276
|
+
hash: 3
|
279
277
|
segments:
|
280
|
-
-
|
281
|
-
|
282
|
-
- 1
|
283
|
-
version: 1.3.1
|
278
|
+
- 0
|
279
|
+
version: "0"
|
284
280
|
requirements: []
|
285
281
|
|
286
282
|
rubyforge_project:
|