engineyard 1.4.23 → 1.4.24

Sign up to get free protection for your applications and to get access to all the features.
@@ -102,7 +102,9 @@ module EY
102
102
  true
103
103
  else
104
104
  begin
105
- Net::SSH.start(hostname, environment.username, :paranoid => false) do |net_ssh|
105
+ options_for_ssh = {:paranoid => false}
106
+ options_for_ssh[:verbose] = :debug if verbose
107
+ Net::SSH.start(hostname, environment.username, options_for_ssh) do |net_ssh|
106
108
  net_ssh.open_channel do |channel|
107
109
  channel.exec cmd do |_, success|
108
110
  unless success
@@ -1,3 +1,3 @@
1
1
  module EY
2
- VERSION = '1.4.23'
2
+ VERSION = '1.4.24'
3
3
  end
metadata CHANGED
@@ -1,363 +1,442 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: engineyard
3
- version: !ruby/object:Gem::Version
4
- version: 1.4.23
3
+ version: !ruby/object:Gem::Version
4
+ hash: 55
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 4
9
+ - 24
10
+ version: 1.4.24
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - EY Cloud Team
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-02-29 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rest-client
16
- requirement: &70253576478800 !ruby/object:Gem::Requirement
17
+
18
+ date: 2012-03-19 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ prerelease: false
22
+ requirement: &id001 !ruby/object:Gem::Requirement
17
23
  none: false
18
- requirements:
24
+ requirements:
19
25
  - - ~>
20
- - !ruby/object:Gem::Version
26
+ - !ruby/object:Gem::Version
27
+ hash: 15
28
+ segments:
29
+ - 1
30
+ - 6
31
+ - 0
21
32
  version: 1.6.0
22
33
  type: :runtime
34
+ name: rest-client
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
23
37
  prerelease: false
24
- version_requirements: *70253576478800
25
- - !ruby/object:Gem::Dependency
26
- name: highline
27
- requirement: &70253576478300 !ruby/object:Gem::Requirement
38
+ requirement: &id002 !ruby/object:Gem::Requirement
28
39
  none: false
29
- requirements:
40
+ requirements:
30
41
  - - ~>
31
- - !ruby/object:Gem::Version
42
+ - !ruby/object:Gem::Version
43
+ hash: 13
44
+ segments:
45
+ - 1
46
+ - 6
47
+ - 1
32
48
  version: 1.6.1
33
49
  type: :runtime
50
+ name: highline
51
+ version_requirements: *id002
52
+ - !ruby/object:Gem::Dependency
34
53
  prerelease: false
35
- version_requirements: *70253576478300
36
- - !ruby/object:Gem::Dependency
37
- name: json_pure
38
- requirement: &70253576477920 !ruby/object:Gem::Requirement
54
+ requirement: &id003 !ruby/object:Gem::Requirement
39
55
  none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 0
62
+ version: "0"
44
63
  type: :runtime
64
+ name: json_pure
65
+ version_requirements: *id003
66
+ - !ruby/object:Gem::Dependency
45
67
  prerelease: false
46
- version_requirements: *70253576477920
47
- - !ruby/object:Gem::Dependency
48
- name: escape
49
- requirement: &70253576477380 !ruby/object:Gem::Requirement
68
+ requirement: &id004 !ruby/object:Gem::Requirement
50
69
  none: false
51
- requirements:
70
+ requirements:
52
71
  - - ~>
53
- - !ruby/object:Gem::Version
72
+ - !ruby/object:Gem::Version
73
+ hash: 23
74
+ segments:
75
+ - 0
76
+ - 0
77
+ - 4
54
78
  version: 0.0.4
55
79
  type: :runtime
80
+ name: escape
81
+ version_requirements: *id004
82
+ - !ruby/object:Gem::Dependency
56
83
  prerelease: false
57
- version_requirements: *70253576477380
58
- - !ruby/object:Gem::Dependency
59
- name: engineyard-serverside-adapter
60
- requirement: &70253576476880 !ruby/object:Gem::Requirement
84
+ requirement: &id005 !ruby/object:Gem::Requirement
61
85
  none: false
62
- requirements:
63
- - - =
64
- - !ruby/object:Gem::Version
65
- version: 1.5.30
86
+ requirements:
87
+ - - "="
88
+ - !ruby/object:Gem::Version
89
+ hash: 67
90
+ segments:
91
+ - 1
92
+ - 5
93
+ - 32
94
+ version: 1.5.32
66
95
  type: :runtime
96
+ name: engineyard-serverside-adapter
97
+ version_requirements: *id005
98
+ - !ruby/object:Gem::Dependency
67
99
  prerelease: false
68
- version_requirements: *70253576476880
69
- - !ruby/object:Gem::Dependency
70
- name: net-ssh
71
- requirement: &70253576476420 !ruby/object:Gem::Requirement
100
+ requirement: &id006 !ruby/object:Gem::Requirement
72
101
  none: false
73
- requirements:
102
+ requirements:
74
103
  - - ~>
75
- - !ruby/object:Gem::Version
104
+ - !ruby/object:Gem::Version
105
+ hash: 5
106
+ segments:
107
+ - 2
108
+ - 2
109
+ - 1
76
110
  version: 2.2.1
77
111
  type: :runtime
112
+ name: net-ssh
113
+ version_requirements: *id006
114
+ - !ruby/object:Gem::Dependency
78
115
  prerelease: false
79
- version_requirements: *70253576476420
80
- - !ruby/object:Gem::Dependency
81
- name: launchy
82
- requirement: &70253576475960 !ruby/object:Gem::Requirement
116
+ requirement: &id007 !ruby/object:Gem::Requirement
83
117
  none: false
84
- requirements:
85
- - - =
86
- - !ruby/object:Gem::Version
118
+ requirements:
119
+ - - "="
120
+ - !ruby/object:Gem::Version
121
+ hash: 5
122
+ segments:
123
+ - 2
124
+ - 0
125
+ - 5
87
126
  version: 2.0.5
88
127
  type: :runtime
128
+ name: launchy
129
+ version_requirements: *id007
130
+ - !ruby/object:Gem::Dependency
89
131
  prerelease: false
90
- version_requirements: *70253576475960
91
- - !ruby/object:Gem::Dependency
92
- name: rspec
93
- requirement: &70253576475500 !ruby/object:Gem::Requirement
132
+ requirement: &id008 !ruby/object:Gem::Requirement
94
133
  none: false
95
- requirements:
134
+ requirements:
96
135
  - - ~>
97
- - !ruby/object:Gem::Version
98
- version: '2.0'
136
+ - !ruby/object:Gem::Version
137
+ hash: 3
138
+ segments:
139
+ - 2
140
+ - 0
141
+ version: "2.0"
99
142
  type: :development
143
+ name: rspec
144
+ version_requirements: *id008
145
+ - !ruby/object:Gem::Dependency
100
146
  prerelease: false
101
- version_requirements: *70253576475500
102
- - !ruby/object:Gem::Dependency
103
- name: rake
104
- requirement: &70253576475120 !ruby/object:Gem::Requirement
147
+ requirement: &id009 !ruby/object:Gem::Requirement
105
148
  none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ hash: 3
153
+ segments:
154
+ - 0
155
+ version: "0"
110
156
  type: :development
157
+ name: rake
158
+ version_requirements: *id009
159
+ - !ruby/object:Gem::Dependency
111
160
  prerelease: false
112
- version_requirements: *70253576475120
113
- - !ruby/object:Gem::Dependency
114
- name: rdoc
115
- requirement: &70253576474660 !ruby/object:Gem::Requirement
161
+ requirement: &id010 !ruby/object:Gem::Requirement
116
162
  none: false
117
- requirements:
118
- - - ! '>='
119
- - !ruby/object:Gem::Version
120
- version: '0'
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ hash: 3
167
+ segments:
168
+ - 0
169
+ version: "0"
121
170
  type: :development
171
+ name: rdoc
172
+ version_requirements: *id010
173
+ - !ruby/object:Gem::Dependency
122
174
  prerelease: false
123
- version_requirements: *70253576474660
124
- - !ruby/object:Gem::Dependency
125
- name: fakeweb
126
- requirement: &70253576474240 !ruby/object:Gem::Requirement
175
+ requirement: &id011 !ruby/object:Gem::Requirement
127
176
  none: false
128
- requirements:
129
- - - ! '>='
130
- - !ruby/object:Gem::Version
131
- version: '0'
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ hash: 3
181
+ segments:
182
+ - 0
183
+ version: "0"
132
184
  type: :development
185
+ name: fakeweb
186
+ version_requirements: *id011
187
+ - !ruby/object:Gem::Dependency
133
188
  prerelease: false
134
- version_requirements: *70253576474240
135
- - !ruby/object:Gem::Dependency
136
- name: fakeweb-matcher
137
- requirement: &70253576473820 !ruby/object:Gem::Requirement
189
+ requirement: &id012 !ruby/object:Gem::Requirement
138
190
  none: false
139
- requirements:
140
- - - ! '>='
141
- - !ruby/object:Gem::Version
142
- version: '0'
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ hash: 3
195
+ segments:
196
+ - 0
197
+ version: "0"
143
198
  type: :development
199
+ name: fakeweb-matcher
200
+ version_requirements: *id012
201
+ - !ruby/object:Gem::Dependency
144
202
  prerelease: false
145
- version_requirements: *70253576473820
146
- - !ruby/object:Gem::Dependency
147
- name: sinatra
148
- requirement: &70253576473400 !ruby/object:Gem::Requirement
203
+ requirement: &id013 !ruby/object:Gem::Requirement
149
204
  none: false
150
- requirements:
151
- - - ! '>='
152
- - !ruby/object:Gem::Version
153
- version: '0'
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ hash: 3
209
+ segments:
210
+ - 0
211
+ version: "0"
154
212
  type: :development
213
+ name: sinatra
214
+ version_requirements: *id013
215
+ - !ruby/object:Gem::Dependency
155
216
  prerelease: false
156
- version_requirements: *70253576473400
157
- - !ruby/object:Gem::Dependency
158
- name: realweb
159
- requirement: &70253576472900 !ruby/object:Gem::Requirement
217
+ requirement: &id014 !ruby/object:Gem::Requirement
160
218
  none: false
161
- requirements:
219
+ requirements:
162
220
  - - ~>
163
- - !ruby/object:Gem::Version
221
+ - !ruby/object:Gem::Version
222
+ hash: 19
223
+ segments:
224
+ - 0
225
+ - 2
226
+ - 2
164
227
  version: 0.2.2
165
228
  type: :development
229
+ name: realweb
230
+ version_requirements: *id014
231
+ - !ruby/object:Gem::Dependency
166
232
  prerelease: false
167
- version_requirements: *70253576472900
168
- - !ruby/object:Gem::Dependency
169
- name: open4
170
- requirement: &70253576472400 !ruby/object:Gem::Requirement
233
+ requirement: &id015 !ruby/object:Gem::Requirement
171
234
  none: false
172
- requirements:
235
+ requirements:
173
236
  - - ~>
174
- - !ruby/object:Gem::Version
237
+ - !ruby/object:Gem::Version
238
+ hash: 21
239
+ segments:
240
+ - 1
241
+ - 0
242
+ - 1
175
243
  version: 1.0.1
176
244
  type: :development
177
- prerelease: false
178
- version_requirements: *70253576472400
179
- description: This gem allows you to deploy your rails application to the Engine Yard
180
- cloud directly from the command line.
245
+ name: open4
246
+ version_requirements: *id015
247
+ description: This gem allows you to deploy your rails application to the Engine Yard cloud directly from the command line.
181
248
  email: cloud@engineyard.com
182
- executables:
249
+ executables:
183
250
  - ey
184
251
  extensions: []
252
+
185
253
  extra_rdoc_files: []
186
- files:
254
+
255
+ files:
187
256
  - bin/ey
188
- - lib/engineyard/api.rb
189
- - lib/engineyard/cli/#recipes.rb#
190
- - lib/engineyard/cli/api.rb
191
- - lib/engineyard/cli/recipes.rb
257
+ - lib/engineyard/model.rb
258
+ - lib/engineyard/collection.rb
192
259
  - lib/engineyard/cli/ui.rb
193
260
  - lib/engineyard/cli/web.rb
194
- - lib/engineyard/cli.rb
195
- - lib/engineyard/collection/abstract.rb
196
- - lib/engineyard/collection/apps.rb
197
- - lib/engineyard/collection/environments.rb
198
- - lib/engineyard/collection.rb
199
- - lib/engineyard/config.rb
261
+ - lib/engineyard/cli/api.rb
262
+ - lib/engineyard/cli/recipes.rb
263
+ - lib/engineyard/thor.rb
200
264
  - lib/engineyard/error.rb
265
+ - lib/engineyard/cli.rb
266
+ - lib/engineyard/ruby_ext.rb
201
267
  - lib/engineyard/eyrc.rb
268
+ - lib/engineyard/model/environment.rb
202
269
  - lib/engineyard/model/account.rb
203
- - lib/engineyard/model/api_struct.rb
204
- - lib/engineyard/model/app.rb
205
270
  - lib/engineyard/model/deployment.rb
206
- - lib/engineyard/model/environment.rb
207
- - lib/engineyard/model/instance.rb
208
271
  - lib/engineyard/model/log.rb
272
+ - lib/engineyard/model/api_struct.rb
273
+ - lib/engineyard/model/instance.rb
274
+ - lib/engineyard/model/app.rb
209
275
  - lib/engineyard/model/user.rb
210
- - lib/engineyard/model.rb
211
- - lib/engineyard/repo.rb
276
+ - lib/engineyard/version.rb
277
+ - lib/engineyard/config.rb
212
278
  - lib/engineyard/resolver.rb
279
+ - lib/engineyard/collection/environments.rb
280
+ - lib/engineyard/collection/apps.rb
281
+ - lib/engineyard/collection/abstract.rb
213
282
  - lib/engineyard/rest_client_ext.rb
214
- - lib/engineyard/ruby_ext.rb
215
- - lib/engineyard/thor.rb
216
- - lib/engineyard/version.rb
217
- - lib/engineyard.rb
218
- - lib/vendor/thor/lib/thor/actions/create_file.rb
219
- - lib/vendor/thor/lib/thor/actions/create_link.rb
220
- - lib/vendor/thor/lib/thor/actions/directory.rb
221
- - lib/vendor/thor/lib/thor/actions/empty_directory.rb
222
- - lib/vendor/thor/lib/thor/actions/file_manipulation.rb
223
- - lib/vendor/thor/lib/thor/actions/inject_into_file.rb
283
+ - lib/engineyard/api.rb
284
+ - lib/engineyard/repo.rb
285
+ - lib/vendor/thor/LICENSE.md
286
+ - lib/vendor/thor/lib/thor.rb
224
287
  - lib/vendor/thor/lib/thor/actions.rb
225
- - lib/vendor/thor/lib/thor/base.rb
288
+ - lib/vendor/thor/lib/thor/util.rb
226
289
  - lib/vendor/thor/lib/thor/core_ext/file_binary_read.rb
227
290
  - lib/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb
228
291
  - lib/vendor/thor/lib/thor/core_ext/ordered_hash.rb
229
- - lib/vendor/thor/lib/thor/error.rb
230
292
  - lib/vendor/thor/lib/thor/group.rb
231
- - lib/vendor/thor/lib/thor/invocation.rb
232
- - lib/vendor/thor/lib/thor/parser/argument.rb
233
- - lib/vendor/thor/lib/thor/parser/arguments.rb
234
- - lib/vendor/thor/lib/thor/parser/option.rb
235
- - lib/vendor/thor/lib/thor/parser/options.rb
236
- - lib/vendor/thor/lib/thor/parser.rb
237
- - lib/vendor/thor/lib/thor/rake_compat.rb
238
- - lib/vendor/thor/lib/thor/runner.rb
293
+ - lib/vendor/thor/lib/thor/error.rb
294
+ - lib/vendor/thor/lib/thor/base.rb
295
+ - lib/vendor/thor/lib/thor/task.rb
296
+ - lib/vendor/thor/lib/thor/version.rb
239
297
  - lib/vendor/thor/lib/thor/shell/basic.rb
240
298
  - lib/vendor/thor/lib/thor/shell/color.rb
241
299
  - lib/vendor/thor/lib/thor/shell/html.rb
300
+ - lib/vendor/thor/lib/thor/runner.rb
301
+ - lib/vendor/thor/lib/thor/invocation.rb
302
+ - lib/vendor/thor/lib/thor/rake_compat.rb
303
+ - lib/vendor/thor/lib/thor/actions/create_file.rb
304
+ - lib/vendor/thor/lib/thor/actions/file_manipulation.rb
305
+ - lib/vendor/thor/lib/thor/actions/empty_directory.rb
306
+ - lib/vendor/thor/lib/thor/actions/create_link.rb
307
+ - lib/vendor/thor/lib/thor/actions/directory.rb
308
+ - lib/vendor/thor/lib/thor/actions/inject_into_file.rb
309
+ - lib/vendor/thor/lib/thor/parser/options.rb
310
+ - lib/vendor/thor/lib/thor/parser/option.rb
311
+ - lib/vendor/thor/lib/thor/parser/argument.rb
312
+ - lib/vendor/thor/lib/thor/parser/arguments.rb
242
313
  - lib/vendor/thor/lib/thor/shell.rb
243
- - lib/vendor/thor/lib/thor/task.rb
244
- - lib/vendor/thor/lib/thor/util.rb
245
- - lib/vendor/thor/lib/thor/version.rb
246
- - lib/vendor/thor/lib/thor.rb
247
- - lib/vendor/thor/LICENSE.md
314
+ - lib/vendor/thor/lib/thor/parser.rb
248
315
  - lib/vendor/thor/README.md
316
+ - lib/engineyard.rb
249
317
  - LICENSE
250
318
  - README.rdoc
251
- - spec/engineyard/api_spec.rb
252
- - spec/engineyard/cli/api_spec.rb
253
- - spec/engineyard/cli_spec.rb
254
- - spec/engineyard/collection/apps_spec.rb
255
- - spec/engineyard/collection/environments_spec.rb
256
319
  - spec/engineyard/config_spec.rb
320
+ - spec/engineyard/resolver_spec.rb
321
+ - spec/engineyard/repo_spec.rb
322
+ - spec/engineyard/cli/api_spec.rb
257
323
  - spec/engineyard/eyrc_spec.rb
258
- - spec/engineyard/model/api_struct_spec.rb
324
+ - spec/engineyard/cli_spec.rb
259
325
  - spec/engineyard/model/environment_spec.rb
260
326
  - spec/engineyard/model/instance_spec.rb
261
- - spec/engineyard/repo_spec.rb
262
- - spec/engineyard/resolver_spec.rb
263
- - spec/engineyard_spec.rb
264
- - spec/ey/deploy_spec.rb
327
+ - spec/engineyard/model/api_struct_spec.rb
328
+ - spec/engineyard/collection/environments_spec.rb
329
+ - spec/engineyard/collection/apps_spec.rb
330
+ - spec/engineyard/api_spec.rb
265
331
  - spec/ey/ey_spec.rb
266
- - spec/ey/list_environments_spec.rb
332
+ - spec/ey/whoami_spec.rb
333
+ - spec/ey/web/enable_spec.rb
334
+ - spec/ey/web/disable_spec.rb
335
+ - spec/ey/rebuild_spec.rb
267
336
  - spec/ey/login_spec.rb
268
- - spec/ey/logout_spec.rb
337
+ - spec/ey/status_spec.rb
269
338
  - spec/ey/logs_spec.rb
270
- - spec/ey/rebuild_spec.rb
271
339
  - spec/ey/recipes/apply_spec.rb
272
- - spec/ey/recipes/download_spec.rb
273
340
  - spec/ey/recipes/upload_spec.rb
274
- - spec/ey/rollback_spec.rb
341
+ - spec/ey/recipes/download_spec.rb
342
+ - spec/ey/list_environments_spec.rb
275
343
  - spec/ey/ssh_spec.rb
276
- - spec/ey/status_spec.rb
277
- - spec/ey/web/disable_spec.rb
278
- - spec/ey/web/enable_spec.rb
279
- - spec/ey/whoami_spec.rb
280
- - spec/spec_helper.rb
281
- - spec/support/bundled_ey
282
- - spec/support/fake_awsm.rb
344
+ - spec/ey/logout_spec.rb
345
+ - spec/ey/deploy_spec.rb
346
+ - spec/ey/rollback_spec.rb
347
+ - spec/support/ruby_ext.rb
283
348
  - spec/support/fake_awsm.ru
284
- - spec/support/fixture_recipes.tgz
285
349
  - spec/support/helpers.rb
350
+ - spec/support/shared_behavior.rb
286
351
  - spec/support/matchers.rb
287
- - spec/support/ruby_ext.rb
352
+ - spec/support/bundled_ey
288
353
  - spec/support/scenarios.rb
289
- - spec/support/shared_behavior.rb
354
+ - spec/support/fake_awsm.rb
355
+ - spec/support/fixture_recipes.tgz
356
+ - spec/spec_helper.rb
357
+ - spec/engineyard_spec.rb
290
358
  homepage: http://github.com/engineyard/engineyard
291
359
  licenses: []
292
- post_install_message: ! "\nWelcome to Engine Yard!\n \nDeploying for the first time?
293
- The Engine Yard Pandas want to help you! \n\nEmail pandas@engineyard.com with your
294
- questions or queries. \n(Panda = 1. Polite Agent of Non-Destructive Assimilation;
295
- 2. Cute fluffy animal.)\n \nWe wish you every success with your business!\n \n -
296
- The Pandas\n\n"
360
+
361
+ post_install_message: |+
362
+
363
+ Welcome to Engine Yard!
364
+
365
+ Deploying for the first time? The Engine Yard Pandas want to help you!
366
+
367
+ Email pandas@engineyard.com with your questions or queries.
368
+ (Panda = 1. Polite Agent of Non-Destructive Assimilation; 2. Cute fluffy animal.)
369
+
370
+ We wish you every success with your business!
371
+
372
+ - The Pandas
373
+
297
374
  rdoc_options: []
298
- require_paths:
375
+
376
+ require_paths:
299
377
  - lib
300
- required_ruby_version: !ruby/object:Gem::Requirement
378
+ required_ruby_version: !ruby/object:Gem::Requirement
301
379
  none: false
302
- requirements:
303
- - - ! '>='
304
- - !ruby/object:Gem::Version
305
- version: '0'
306
- segments:
380
+ requirements:
381
+ - - ">="
382
+ - !ruby/object:Gem::Version
383
+ hash: 3
384
+ segments:
307
385
  - 0
308
- hash: -594825671507136625
309
- required_rubygems_version: !ruby/object:Gem::Requirement
386
+ version: "0"
387
+ required_rubygems_version: !ruby/object:Gem::Requirement
310
388
  none: false
311
- requirements:
312
- - - ! '>='
313
- - !ruby/object:Gem::Version
314
- version: '0'
315
- segments:
389
+ requirements:
390
+ - - ">="
391
+ - !ruby/object:Gem::Version
392
+ hash: 3
393
+ segments:
316
394
  - 0
317
- hash: -594825671507136625
395
+ version: "0"
318
396
  requirements: []
397
+
319
398
  rubyforge_project:
320
- rubygems_version: 1.8.15
399
+ rubygems_version: 1.8.17
321
400
  signing_key:
322
401
  specification_version: 3
323
402
  summary: Command-line deployment for the Engine Yard cloud
324
- test_files:
325
- - spec/engineyard/api_spec.rb
326
- - spec/engineyard/cli/api_spec.rb
327
- - spec/engineyard/cli_spec.rb
328
- - spec/engineyard/collection/apps_spec.rb
329
- - spec/engineyard/collection/environments_spec.rb
403
+ test_files:
330
404
  - spec/engineyard/config_spec.rb
405
+ - spec/engineyard/resolver_spec.rb
406
+ - spec/engineyard/repo_spec.rb
407
+ - spec/engineyard/cli/api_spec.rb
331
408
  - spec/engineyard/eyrc_spec.rb
332
- - spec/engineyard/model/api_struct_spec.rb
409
+ - spec/engineyard/cli_spec.rb
333
410
  - spec/engineyard/model/environment_spec.rb
334
411
  - spec/engineyard/model/instance_spec.rb
335
- - spec/engineyard/repo_spec.rb
336
- - spec/engineyard/resolver_spec.rb
337
- - spec/engineyard_spec.rb
338
- - spec/ey/deploy_spec.rb
412
+ - spec/engineyard/model/api_struct_spec.rb
413
+ - spec/engineyard/collection/environments_spec.rb
414
+ - spec/engineyard/collection/apps_spec.rb
415
+ - spec/engineyard/api_spec.rb
339
416
  - spec/ey/ey_spec.rb
340
- - spec/ey/list_environments_spec.rb
417
+ - spec/ey/whoami_spec.rb
418
+ - spec/ey/web/enable_spec.rb
419
+ - spec/ey/web/disable_spec.rb
420
+ - spec/ey/rebuild_spec.rb
341
421
  - spec/ey/login_spec.rb
342
- - spec/ey/logout_spec.rb
422
+ - spec/ey/status_spec.rb
343
423
  - spec/ey/logs_spec.rb
344
- - spec/ey/rebuild_spec.rb
345
424
  - spec/ey/recipes/apply_spec.rb
346
- - spec/ey/recipes/download_spec.rb
347
425
  - spec/ey/recipes/upload_spec.rb
348
- - spec/ey/rollback_spec.rb
426
+ - spec/ey/recipes/download_spec.rb
427
+ - spec/ey/list_environments_spec.rb
349
428
  - spec/ey/ssh_spec.rb
350
- - spec/ey/status_spec.rb
351
- - spec/ey/web/disable_spec.rb
352
- - spec/ey/web/enable_spec.rb
353
- - spec/ey/whoami_spec.rb
354
- - spec/spec_helper.rb
355
- - spec/support/bundled_ey
356
- - spec/support/fake_awsm.rb
429
+ - spec/ey/logout_spec.rb
430
+ - spec/ey/deploy_spec.rb
431
+ - spec/ey/rollback_spec.rb
432
+ - spec/support/ruby_ext.rb
357
433
  - spec/support/fake_awsm.ru
358
- - spec/support/fixture_recipes.tgz
359
434
  - spec/support/helpers.rb
435
+ - spec/support/shared_behavior.rb
360
436
  - spec/support/matchers.rb
361
- - spec/support/ruby_ext.rb
437
+ - spec/support/bundled_ey
362
438
  - spec/support/scenarios.rb
363
- - spec/support/shared_behavior.rb
439
+ - spec/support/fake_awsm.rb
440
+ - spec/support/fixture_recipes.tgz
441
+ - spec/spec_helper.rb
442
+ - spec/engineyard_spec.rb
@@ -1,32 +0,0 @@
1
- module EY
2
- class CLI
3
- class Recipes < EY::Thor
4
- X1gx1GGG desc "recipes apply [ENVIRONMENT]", <<-DESC
5
- Run uploaded chef recipes on specified environment.
6
-
7
- This is similar to '#{banner_base} rebuild' except Engine Yard's main
8
- configuration step is skipped.
9
- DESC
10
-
11
- def apply(name = nil)
12
- environment = fetch_environment(name)
13
- environment.run_custom_recipes
14
- EY.ui.say "Uploaded recipes started for #{environment.name}"
15
- end
16
-
17
- desc "recipes upload [ENVIRONMENT]", <<-DESC
18
- Upload custom chef recipes to specified environment.
19
-
20
- The current directory should contain a subdirectory named "cookbooks" to be
21
- uploaded.
22
- DESC
23
-
24
- def upload(name = nil)
25
- environment = fetch_environment(name)
26
- environment.upload_recipes
27
- EY.ui.say "Recipes uploaded successfully for #{environment.name}"
28
- end
29
- end
30
- end
31
-
32
- end