engineyard-serverside 1.5.15 → 1.5.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -143,6 +143,10 @@ module EY
143
143
  File.join(shared_path, "bundled_gems")
144
144
  end
145
145
 
146
+ def gemfile_path
147
+ File.join(release_path, "Gemfile")
148
+ end
149
+
146
150
  def ruby_version_file
147
151
  File.join(bundled_gems_path, "RUBY_VERSION")
148
152
  end
@@ -183,6 +183,10 @@ To fix this problem, commit your Gemfile.lock to your repository and redeploy.
183
183
  end
184
184
 
185
185
  # We specify 'IdentitiesOnly' to avoid failures on systems with > 5 private keys available.
186
+ # We set UserKnownHostsFile to /dev/null because StrickHostKeyChecking no doesn't
187
+ # ignore existing entries in known_hosts; we want to actively ignore all such.
188
+ # Learned this at http://lists.mindrot.org/pipermail/openssh-unix-dev/2009-February/027271.html
189
+ # (Thanks Jim L.)
186
190
  def generate_ssh_wrapper
187
191
  path = ssh_wrapper_path
188
192
  identity_file = "~/.ssh/#{c.app}-deploy-key"
@@ -190,7 +194,7 @@ To fix this problem, commit your Gemfile.lock to your repository and redeploy.
190
194
  cat > #{path} <<'SSH'
191
195
  #!/bin/sh
192
196
  unset SSH_AUTH_SOCK
193
- ssh -o 'CheckHostIP no' -o 'StrictHostKeyChecking no' -o 'PasswordAuthentication no' -o 'LogLevel DEBUG' -o 'IdentityFile #{identity_file}' -o 'IdentitiesOnly yes' $*
197
+ ssh -o 'CheckHostIP no' -o 'StrictHostKeyChecking no' -o 'PasswordAuthentication no' -o 'LogLevel DEBUG' -o 'IdentityFile #{identity_file}' -o 'IdentitiesOnly yes' -o 'UserKnownHostsFile /dev/null' $*
194
198
  SSH
195
199
  chmod 0700 #{path}
196
200
  WRAP
@@ -393,6 +397,7 @@ Deploy again if your services configuration appears incomplete or out of date.
393
397
  def bundler_config
394
398
  version = LockfileParser.default_version
395
399
  options = [
400
+ "--gemfile #{c.gemfile_path}",
396
401
  "--path #{c.bundled_gems_path}",
397
402
  "--binstubs #{c.binstubs_path}",
398
403
  "--without #{c.bundle_without}"
@@ -1,5 +1,5 @@
1
1
  module EY
2
2
  module Serverside
3
- VERSION = '1.5.15'
3
+ VERSION = '1.5.16'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: engineyard-serverside
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 35
5
+ prerelease:
5
6
  segments:
6
7
  - 1
7
8
  - 5
8
- - 15
9
- segments_generated: true
10
- version: 1.5.15
9
+ - 16
10
+ version: 1.5.16
11
11
  platform: ruby
12
12
  authors:
13
13
  - EY Cloud Team
@@ -15,37 +15,42 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-10 00:00:00 -08:00
18
+ date: 2011-11-15 00:00:00 -05:00
19
19
  default_executable: engineyard-serverside
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- version_requirements: &id001 !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
23
25
  requirements:
24
26
  - - "="
25
27
  - !ruby/object:Gem::Version
28
+ hash: 31
26
29
  segments:
27
30
  - 1
28
31
  - 3
29
32
  - 2
30
- segments_generated: true
31
33
  version: 1.3.2
32
- requirement: *id001
33
34
  name: rspec
34
- prerelease: false
35
35
  type: :development
36
+ version_requirements: *id001
36
37
  - !ruby/object:Gem::Dependency
37
- version_requirements: &id002 !ruby/object:Gem::Requirement
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
38
41
  requirements:
39
42
  - - ">="
40
43
  - !ruby/object:Gem::Version
44
+ hash: 11
41
45
  segments:
42
46
  - 0
43
- segments_generated: true
44
- version: "0"
45
- requirement: *id002
47
+ - 9
48
+ - 2
49
+ - 2
50
+ version: 0.9.2.2
46
51
  name: rake
47
- prerelease: false
48
52
  type: :development
53
+ version_requirements: *id002
49
54
  description:
50
55
  email: cloud@engineyard.com
51
56
  executables:
@@ -261,6 +266,37 @@ files:
261
266
  - lib/vendor/thor/thor.gemspec
262
267
  - lib/vendor/thor/Thorfile
263
268
  - LICENSE
269
+ - spec/basic_deploy_spec.rb
270
+ - spec/bundler_deploy_spec.rb
271
+ - spec/custom_deploy_spec.rb
272
+ - spec/deploy_hook_spec.rb
273
+ - spec/deprecation_spec.rb
274
+ - spec/fixtures/gitrepo/foo
275
+ - spec/fixtures/gitrepo.tar.gz
276
+ - spec/fixtures/invalid_hook.rb
277
+ - spec/fixtures/lockfiles/0.9-no-bundler
278
+ - spec/fixtures/lockfiles/0.9-with-bundler
279
+ - spec/fixtures/lockfiles/1.0-no-bundler
280
+ - spec/fixtures/lockfiles/1.0.0.rc.1-with-bundler
281
+ - spec/fixtures/lockfiles/1.0.18-do_mysql
282
+ - spec/fixtures/lockfiles/1.0.18-do_postgres
283
+ - spec/fixtures/lockfiles/1.0.18-mysql
284
+ - spec/fixtures/lockfiles/1.0.18-mysql2
285
+ - spec/fixtures/lockfiles/1.0.18-pg
286
+ - spec/fixtures/lockfiles/1.0.6-no-bundler
287
+ - spec/fixtures/lockfiles/1.0.6-with-any-bundler
288
+ - spec/fixtures/lockfiles/1.0.6-with-bundler
289
+ - spec/fixtures/lockfiles/not-a-lockfile
290
+ - spec/fixtures/valid_hook.rb
291
+ - spec/git_strategy_spec.rb
292
+ - spec/lockfile_parser_spec.rb
293
+ - spec/nodejs_deploy_spec.rb
294
+ - spec/rails31_deploy_spec.rb
295
+ - spec/restart_spec.rb
296
+ - spec/server_spec.rb
297
+ - spec/services_deploy_spec.rb
298
+ - spec/spec_helper.rb
299
+ - spec/support/integration.rb
264
300
  has_rdoc: true
265
301
  homepage: http://github.com/engineyard/engineyard-serverside
266
302
  licenses: []
@@ -271,25 +307,27 @@ rdoc_options: []
271
307
  require_paths:
272
308
  - lib
273
309
  required_ruby_version: !ruby/object:Gem::Requirement
310
+ none: false
274
311
  requirements:
275
312
  - - ">="
276
313
  - !ruby/object:Gem::Version
314
+ hash: 3
277
315
  segments:
278
316
  - 0
279
- segments_generated: true
280
317
  version: "0"
281
318
  required_rubygems_version: !ruby/object:Gem::Requirement
319
+ none: false
282
320
  requirements:
283
321
  - - ">="
284
322
  - !ruby/object:Gem::Version
323
+ hash: 3
285
324
  segments:
286
325
  - 0
287
- segments_generated: true
288
326
  version: "0"
289
327
  requirements: []
290
328
 
291
329
  rubyforge_project:
292
- rubygems_version: 1.3.6
330
+ rubygems_version: 1.5.2
293
331
  signing_key:
294
332
  specification_version: 3
295
333
  summary: A gem that deploys ruby applications on EY Cloud instances