rhc 1.5.13 → 1.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. data/features/application.feature +1 -1
  2. data/features/cartridge.feature +10 -9
  3. data/features/geared_application.feature +3 -6
  4. data/features/lib/rhc_helper/app.rb +2 -2
  5. data/features/multiple_cartridge.feature +9 -8
  6. data/features/scaled_application.feature +5 -5
  7. data/features/step_definitions/application_steps.rb +4 -3
  8. data/features/step_definitions/cartridge_steps.rb +8 -1
  9. data/features/support/before_hooks.rb +12 -6
  10. data/features/support/env.rb +8 -1
  11. data/features/support/platform_support.rb +29 -0
  12. data/lib/rhc/command_runner.rb +33 -21
  13. data/lib/rhc/commands/account.rb +1 -1
  14. data/lib/rhc/commands/alias.rb +90 -7
  15. data/lib/rhc/commands/app.rb +15 -11
  16. data/lib/rhc/commands/cartridge.rb +9 -2
  17. data/lib/rhc/exceptions.rb +6 -0
  18. data/lib/rhc/helpers.rb +3 -0
  19. data/lib/rhc/output_helpers.rb +12 -3
  20. data/lib/rhc/rest.rb +3 -0
  21. data/lib/rhc/rest/alias.rb +50 -0
  22. data/lib/rhc/rest/application.rb +26 -2
  23. data/lib/rhc/rest/cartridge.rb +16 -1
  24. data/lib/rhc/rest/client.rb +24 -4
  25. data/lib/rhc/rest/mock.rb +66 -2
  26. data/lib/rhc/ssh_helpers.rb +2 -3
  27. data/lib/rhc/wizard.rb +6 -3
  28. data/spec/rhc/assets/cert.crt +22 -0
  29. data/spec/rhc/assets/cert_key_rsa +27 -0
  30. data/spec/rhc/assets/empty.txt +0 -0
  31. data/spec/rhc/cli_spec.rb +5 -0
  32. data/spec/rhc/commands/account_spec.rb +6 -6
  33. data/spec/rhc/commands/alias_spec.rb +179 -5
  34. data/spec/rhc/commands/app_spec.rb +2 -1
  35. data/spec/rhc/commands/authorization_spec.rb +9 -0
  36. data/spec/rhc/commands/cartridge_spec.rb +27 -0
  37. data/spec/rhc/commands/setup_spec.rb +2 -0
  38. data/spec/rhc/commands/sshkey_spec.rb +20 -1
  39. data/spec/rhc/helpers_spec.rb +1 -2
  40. data/spec/rhc/rest_client_spec.rb +26 -5
  41. data/spec/rhc/wizard_spec.rb +22 -0
  42. data/spec/spec_helper.rb +25 -2
  43. data/spec/wizard_spec_helper.rb +1 -1
  44. metadata +153 -144
@@ -239,7 +239,7 @@ describe RHC::Helpers do
239
239
  end
240
240
 
241
241
  describe "#get_properties" do
242
- it{ tests.send(:get_properties, stub(:plan_id => 'freeshift'), :plan_id).should == [[:plan_id, 'FreeShift']] }
242
+ it{ tests.send(:get_properties, stub(:plan_id => 'free'), :plan_id).should == [[:plan_id, 'Free']] }
243
243
  context "when an error is raised" do
244
244
  subject{ stub.tap{ |s| s.should_receive(:foo).and_raise(::Exception) } }
245
245
  it{ tests.send(:get_properties, subject, :foo).should == [[:foo, '<error>']] }
@@ -369,7 +369,6 @@ describe RHC::Helpers do
369
369
 
370
370
  it "should catch exceptions from fingerprint failures" do
371
371
  Net::SSH::KeyFactory.should_receive(:load_public_key).with('1').and_raise(StandardError.new("An error"))
372
- subject.should_receive(:error).with('An error')
373
372
  subject.fingerprint_for_local_key('1').should be_nil
374
373
  end
375
374
  end
@@ -22,13 +22,34 @@ module RHC
22
22
  module Rest
23
23
  describe Client do
24
24
 
25
+ it 'should set the proxy protocol if it is missing' do
26
+ ENV['http_proxy'] = 'foo.bar.com:8081'
27
+ load 'rhc/rest/client.rb'
28
+
29
+ ENV['http_proxy'].should == 'http://foo.bar.com:8081'
30
+ end
31
+
32
+ it 'should not alter the proxy protocol if it is present' do
33
+ ENV['http_proxy'] = 'http://foo.bar.com:8081'
34
+ load 'rhc/rest/client.rb'
35
+
36
+ ENV['http_proxy'].should == 'http://foo.bar.com:8081'
37
+ end
38
+
39
+ it 'should not affect the proxy protocol if nil' do
40
+ ENV['http_proxy'] = nil
41
+ load 'rhc/rest/client.rb'
42
+
43
+ ENV['http_proxy'].should be_nil
44
+ end
45
+
25
46
  let(:endpoint){ mock_href }
26
47
  let(:username){ nil }# mock_user }
27
48
  let(:password){ nil }# mock_pass }
28
49
  let(:use_debug){ false }
29
50
  #let(:spec_versions){ nil }
30
- let(:client) do
31
- respond_to?(:spec_versions) ?
51
+ let(:client) do
52
+ respond_to?(:spec_versions) ?
32
53
  RHC::Rest::Client.new(endpoint, username, password, use_debug, spec_versions) :
33
54
  RHC::Rest::Client.new(endpoint, username, password, use_debug)
34
55
  end
@@ -262,7 +283,7 @@ module RHC
262
283
  end
263
284
 
264
285
  describe RHC::Rest::Cartridge do
265
- subject do
286
+ subject do
266
287
  described_class.new({
267
288
  :name => 'foo',
268
289
  :links => mock_response_links([
@@ -270,7 +291,7 @@ module RHC
270
291
  ])}, client)
271
292
  end
272
293
  context "when several messages are present" do
273
- before do
294
+ before do
274
295
  stub_api_request(:get, 'broker/rest/cartridge', true).
275
296
  with(:query => {:include => :status_messages}).
276
297
  to_return(:body => {
@@ -308,7 +329,7 @@ module RHC
308
329
  :status => 200
309
330
  })
310
331
  end
311
- it "returns a list of existing cartridges" do
332
+ it "returns a list of existing cartridges" do
312
333
  carts = client.cartridges
313
334
  carts.length.should equal(2)
314
335
  (0..1).each do |idx|
@@ -38,6 +38,27 @@ describe RHC::Wizard do
38
38
  its(:has_configuration?){ should be_true }
39
39
  end
40
40
 
41
+ describe "#setup_test_stage" do
42
+ subject{ described_class.new(config, options) }
43
+ it "should rescue problems" do
44
+ subject.should_receive(:all_test_methods).and_return([:_test])
45
+ subject.should_receive(:_test).and_raise(StandardError.new("An error message"))
46
+ capture{ subject.send(:setup_test_stage) }.should match "An error message"
47
+ end
48
+ end
49
+
50
+ describe "#test_private_key_mode" do
51
+ it "should raise when the file is in the wrong mode" do
52
+ FakeFS do
53
+ mock_config
54
+ FileUtils.mkdir_p(RHC::Config.ssh_dir)
55
+ File.open(RHC::Config.ssh_priv_key_file_path, 'w'){}
56
+ File.chmod(0666, RHC::Config.ssh_priv_key_file_path)
57
+ expect{ subject.send(:test_private_key_mode) }.to raise_error(StandardError)
58
+ end
59
+ end
60
+ end
61
+
41
62
  describe "#test_ssh_connectivity" do
42
63
  subject{ described_class.new(config, options) }
43
64
  let(:app) do
@@ -310,6 +331,7 @@ describe RHC::Wizard do
310
331
  input_line 'yes'
311
332
  input_line 'a'
312
333
  next_stage
334
+
313
335
  last_output do |s|
314
336
  s.should match(/a \(type: ssh-rsa\)/)
315
337
  s.should match("Fingerprint: #{rsa_key_fingerprint_public}")
@@ -55,6 +55,24 @@ class FakeFS::File
55
55
  end
56
56
  end
57
57
 
58
+ IO.instance_eval{ alias :read_orig :read }
59
+
60
+ module FakeFS
61
+ class << self
62
+ alias_method :activate_orig, :activate!
63
+ alias_method :deactivate_orig, :deactivate!
64
+
65
+ def activate!
66
+ IO.instance_eval{ def self.read(path); FakeFS::File.read(path); end }
67
+ activate_orig
68
+ end
69
+ def deactivate!
70
+ IO.instance_eval{ alias :read :read_orig }
71
+ deactivate_orig
72
+ end
73
+ end
74
+ end
75
+
58
76
  require 'rhc/cli'
59
77
 
60
78
  include WebMock::API
@@ -189,6 +207,11 @@ module ClassSpecHelpers
189
207
  end
190
208
 
191
209
  class MockHighLineTerminal < HighLine
210
+
211
+ def self.use_color?
212
+ true
213
+ end
214
+
192
215
  def initialize(input, output)
193
216
  super
194
217
  @last_read_pos = 0
@@ -363,8 +386,8 @@ module CommanderInvocationMatchers
363
386
  end
364
387
  description do
365
388
  "expect block to invoke '#{method}' on #{@object} with #{@args}"
366
- end
367
- end
389
+ end
390
+ end
368
391
  end
369
392
 
370
393
  module ColorMatchers
@@ -61,7 +61,7 @@ module WizardStepsHelper
61
61
  input_line 'yes'
62
62
 
63
63
  next_stage.should_not be_nil
64
-
64
+
65
65
  last_output do |s|
66
66
  s.should match('Since you do not have any keys associated')
67
67
  s.should match(/Fingerprint\: (?:[a-f0-9]{2}\:){15}/)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.13
4
+ version: 1.6.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-15 00:00:00.000000000 Z
12
+ date: 2013-04-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: net-ssh
@@ -233,146 +233,151 @@ executables:
233
233
  extensions: []
234
234
  extra_rdoc_files: []
235
235
  files:
236
+ - lib/rhc/cartridge_helpers.rb
237
+ - lib/rhc/exceptions.rb
238
+ - lib/rhc/rest/user.rb
239
+ - lib/rhc/rest/application.rb
240
+ - lib/rhc/rest/base.rb
241
+ - lib/rhc/rest/mock.rb
242
+ - lib/rhc/rest/authorization.rb
243
+ - lib/rhc/rest/domain.rb
244
+ - lib/rhc/rest/gear_group.rb
245
+ - lib/rhc/rest/key.rb
246
+ - lib/rhc/rest/api.rb
247
+ - lib/rhc/rest/attributes.rb
248
+ - lib/rhc/rest/client.rb
249
+ - lib/rhc/rest/cartridge.rb
250
+ - lib/rhc/rest/alias.rb
251
+ - lib/rhc/auth.rb
252
+ - lib/rhc/version.rb
253
+ - lib/rhc/output_helpers.rb
236
254
  - lib/rhc/core_ext.rb
237
- - lib/rhc/help_formatter.rb
238
- - lib/rhc/vendor/zliby.rb
239
- - lib/rhc/vendor/sshkey.rb
240
- - lib/rhc/vendor/parseconfig.rb
241
- - lib/rhc/vendor/okjson.rb
255
+ - lib/rhc/autocomplete.rb
256
+ - lib/rhc/coverage_helper.rb
257
+ - lib/rhc/config.rb
258
+ - lib/rhc/json.rb
259
+ - lib/rhc/commands.rb
260
+ - lib/rhc/commands/server.rb
261
+ - lib/rhc/commands/base.rb
262
+ - lib/rhc/commands/authorization.rb
263
+ - lib/rhc/commands/domain.rb
242
264
  - lib/rhc/commands/apps.rb
243
- - lib/rhc/commands/port_forward.rb
244
265
  - lib/rhc/commands/threaddump.rb
245
- - lib/rhc/commands/sshkey.rb
246
- - lib/rhc/commands/setup.rb
247
- - lib/rhc/commands/snapshot.rb
248
266
  - lib/rhc/commands/account.rb
267
+ - lib/rhc/commands/snapshot.rb
249
268
  - lib/rhc/commands/git_clone.rb
250
- - lib/rhc/commands/domain.rb
251
- - lib/rhc/commands/alias.rb
252
- - lib/rhc/commands/server.rb
269
+ - lib/rhc/commands/port_forward.rb
270
+ - lib/rhc/commands/cartridge.rb
271
+ - lib/rhc/commands/setup.rb
253
272
  - lib/rhc/commands/app.rb
254
- - lib/rhc/commands/base.rb
255
- - lib/rhc/commands/authorization.rb
256
273
  - lib/rhc/commands/tail.rb
257
- - lib/rhc/commands/cartridge.rb
258
- - lib/rhc/helpers.rb
259
- - lib/rhc/auth/basic.rb
260
- - lib/rhc/auth/token_store.rb
261
- - lib/rhc/auth/token.rb
262
- - lib/rhc/exceptions.rb
263
- - lib/rhc/context_helper.rb
264
- - lib/rhc/commands.rb
265
- - lib/rhc/config.rb
274
+ - lib/rhc/commands/sshkey.rb
275
+ - lib/rhc/commands/alias.rb
276
+ - lib/rhc/vendor/zliby.rb
277
+ - lib/rhc/vendor/okjson.rb
278
+ - lib/rhc/vendor/parseconfig.rb
279
+ - lib/rhc/vendor/sshkey.rb
280
+ - lib/rhc/tar_gz.rb
281
+ - lib/rhc/command_runner.rb
282
+ - lib/rhc/ssh_helpers.rb
266
283
  - lib/rhc/git_helpers.rb
267
- - lib/rhc/coverage_helper.rb
268
- - lib/rhc/json.rb
269
- - lib/rhc/version.rb
270
- - lib/rhc/autocomplete.rb
271
- - lib/rhc/auth.rb
272
284
  - lib/rhc/wizard.rb
273
285
  - lib/rhc/cli.rb
274
- - lib/rhc/output_helpers.rb
275
- - lib/rhc/tar_gz.rb
286
+ - lib/rhc/auth/basic.rb
287
+ - lib/rhc/auth/token.rb
288
+ - lib/rhc/auth/token_store.rb
289
+ - lib/rhc/context_helper.rb
290
+ - lib/rhc/help_formatter.rb
276
291
  - lib/rhc/rest.rb
277
- - lib/rhc/command_runner.rb
278
- - lib/rhc/cartridge_helpers.rb
279
- - lib/rhc/ssh_helpers.rb
280
- - lib/rhc/rest/key.rb
281
- - lib/rhc/rest/mock.rb
282
- - lib/rhc/rest/api.rb
283
- - lib/rhc/rest/attributes.rb
284
- - lib/rhc/rest/application.rb
285
- - lib/rhc/rest/client.rb
286
- - lib/rhc/rest/domain.rb
287
- - lib/rhc/rest/user.rb
288
- - lib/rhc/rest/base.rb
289
- - lib/rhc/rest/authorization.rb
290
- - lib/rhc/rest/cartridge.rb
291
- - lib/rhc/rest/gear_group.rb
292
+ - lib/rhc/helpers.rb
292
293
  - lib/rhc.rb
293
- - lib/rhc/usage_templates/options_help.erb
294
294
  - lib/rhc/usage_templates/command_syntax_help.erb
295
- - lib/rhc/usage_templates/command_help.erb
296
- - lib/rhc/usage_templates/missing_help.erb
297
295
  - lib/rhc/usage_templates/help.erb
296
+ - lib/rhc/usage_templates/missing_help.erb
297
+ - lib/rhc/usage_templates/command_help.erb
298
+ - lib/rhc/usage_templates/options_help.erb
298
299
  - lib/rhc/autocomplete_templates/rhc.erb
299
300
  - conf/express.conf
300
301
  - LICENSE
301
302
  - COPYRIGHT
302
303
  - README.md
303
304
  - Rakefile
305
+ - spec/spec_helper.rb
306
+ - spec/coverage_helper.rb
307
+ - spec/rhc/json_spec.rb
308
+ - spec/rhc/rest_spec.rb
309
+ - spec/rhc/helpers_spec.rb
310
+ - spec/rhc/rest_client_spec.rb
304
311
  - spec/rhc/wizard_spec.rb
305
- - spec/rhc/targz_spec.rb
306
- - spec/rhc/commands/setup_spec.rb
312
+ - spec/rhc/config_spec.rb
313
+ - spec/rhc/cli_spec.rb
307
314
  - spec/rhc/commands/tail_spec.rb
308
- - spec/rhc/commands/alias_spec.rb
309
- - spec/rhc/commands/account_spec.rb
310
315
  - spec/rhc/commands/domain_spec.rb
316
+ - spec/rhc/commands/apps_spec.rb
317
+ - spec/rhc/commands/git_clone_spec.rb
318
+ - spec/rhc/commands/server_spec.rb
311
319
  - spec/rhc/commands/app_spec.rb
320
+ - spec/rhc/commands/setup_spec.rb
321
+ - spec/rhc/commands/port_forward_spec.rb
322
+ - spec/rhc/commands/account_spec.rb
312
323
  - spec/rhc/commands/snapshot_spec.rb
324
+ - spec/rhc/commands/alias_spec.rb
313
325
  - spec/rhc/commands/cartridge_spec.rb
314
326
  - spec/rhc/commands/sshkey_spec.rb
315
- - spec/rhc/commands/server_spec.rb
316
- - spec/rhc/commands/authorization_spec.rb
317
- - spec/rhc/commands/port_forward_spec.rb
318
327
  - spec/rhc/commands/threaddump_spec.rb
319
- - spec/rhc/commands/apps_spec.rb
320
- - spec/rhc/commands/git_clone_spec.rb
321
- - spec/rhc/auth_spec.rb
322
- - spec/rhc/json_spec.rb
323
- - spec/rhc/config_spec.rb
324
- - spec/rhc/helpers_spec.rb
325
- - spec/rhc/rest_spec.rb
326
- - spec/rhc/context_spec.rb
328
+ - spec/rhc/commands/authorization_spec.rb
327
329
  - spec/rhc/assets/foo.txt
330
+ - spec/rhc/assets/cert.crt
328
331
  - spec/rhc/assets/targz_corrupted.tar.gz
332
+ - spec/rhc/assets/empty.txt
329
333
  - spec/rhc/assets/targz_sample.tar.gz
330
- - spec/rhc/rest_client_spec.rb
331
- - spec/rhc/cli_spec.rb
332
- - spec/rhc/rest_application_spec.rb
334
+ - spec/rhc/assets/cert_key_rsa
333
335
  - spec/rhc/command_spec.rb
334
- - spec/spec.opts
335
- - spec/rest_spec_helper.rb
336
- - spec/spec_helper.rb
337
- - spec/coverage_helper.rb
336
+ - spec/rhc/rest_application_spec.rb
337
+ - spec/rhc/targz_spec.rb
338
+ - spec/rhc/context_spec.rb
339
+ - spec/rhc/auth_spec.rb
338
340
  - spec/wizard_spec_helper.rb
339
- - spec/keys/example_private.pem
340
- - spec/keys/server.pem
341
341
  - spec/keys/example.pem
342
- - features/client.feature
342
+ - spec/keys/server.pem
343
+ - spec/keys/example_private.pem
344
+ - spec/rest_spec_helper.rb
345
+ - spec/spec.opts
346
+ - features/multiple_cartridge.feature
347
+ - features/domain.feature
343
348
  - features/verify.feature
344
- - features/README.md
345
- - features/geared_application.feature
346
- - features/support/before_hooks.rb
349
+ - features/cartridge.feature
350
+ - features/client.feature
351
+ - features/support/env.rb
347
352
  - features/support/key2.pub
348
- - features/support/assumptions.rb
349
- - features/support/key1.pub
350
353
  - features/support/key1
351
- - features/support/env.rb
354
+ - features/support/key1.pub
355
+ - features/support/platform_support.rb
356
+ - features/support/before_hooks.rb
352
357
  - features/support/key3.pub
353
358
  - features/support/key2
354
- - features/lib/rhc_helper/sshkey.rb
355
- - features/lib/rhc_helper/api.rb
356
- - features/lib/rhc_helper/commandify.rb
357
- - features/lib/rhc_helper/persistable.rb
358
- - features/lib/rhc_helper/loggable.rb
359
- - features/lib/rhc_helper/domain.rb
360
- - features/lib/rhc_helper/runnable.rb
361
- - features/lib/rhc_helper/app.rb
362
- - features/lib/rhc_helper/httpify.rb
363
- - features/lib/rhc_helper/cartridge.rb
364
- - features/lib/rhc_helper.rb
359
+ - features/support/assumptions.rb
360
+ - features/application.feature
365
361
  - features/sshkey.feature
366
- - features/domain.feature
367
- - features/cartridge.feature
362
+ - features/geared_application.feature
368
363
  - features/scaled_application.feature
369
364
  - features/step_definitions/cartridge_steps.rb
370
- - features/step_definitions/sshkey_steps.rb
371
365
  - features/step_definitions/application_steps.rb
372
366
  - features/step_definitions/client_steps.rb
373
367
  - features/step_definitions/domain_steps.rb
374
- - features/application.feature
375
- - features/multiple_cartridge.feature
368
+ - features/step_definitions/sshkey_steps.rb
369
+ - features/lib/rhc_helper.rb
370
+ - features/lib/rhc_helper/httpify.rb
371
+ - features/lib/rhc_helper/domain.rb
372
+ - features/lib/rhc_helper/runnable.rb
373
+ - features/lib/rhc_helper/loggable.rb
374
+ - features/lib/rhc_helper/commandify.rb
375
+ - features/lib/rhc_helper/api.rb
376
+ - features/lib/rhc_helper/cartridge.rb
377
+ - features/lib/rhc_helper/app.rb
378
+ - features/lib/rhc_helper/persistable.rb
379
+ - features/lib/rhc_helper/sshkey.rb
380
+ - features/README.md
376
381
  - bin/rhc
377
382
  homepage: https://github.com/openshift/rhc
378
383
  licenses: []
@@ -405,75 +410,79 @@ signing_key:
405
410
  specification_version: 3
406
411
  summary: OpenShift Client Tools
407
412
  test_files:
413
+ - spec/spec_helper.rb
414
+ - spec/coverage_helper.rb
415
+ - spec/rhc/json_spec.rb
416
+ - spec/rhc/rest_spec.rb
417
+ - spec/rhc/helpers_spec.rb
418
+ - spec/rhc/rest_client_spec.rb
408
419
  - spec/rhc/wizard_spec.rb
409
- - spec/rhc/targz_spec.rb
410
- - spec/rhc/commands/setup_spec.rb
420
+ - spec/rhc/config_spec.rb
421
+ - spec/rhc/cli_spec.rb
411
422
  - spec/rhc/commands/tail_spec.rb
412
- - spec/rhc/commands/alias_spec.rb
413
- - spec/rhc/commands/account_spec.rb
414
423
  - spec/rhc/commands/domain_spec.rb
424
+ - spec/rhc/commands/apps_spec.rb
425
+ - spec/rhc/commands/git_clone_spec.rb
426
+ - spec/rhc/commands/server_spec.rb
415
427
  - spec/rhc/commands/app_spec.rb
428
+ - spec/rhc/commands/setup_spec.rb
429
+ - spec/rhc/commands/port_forward_spec.rb
430
+ - spec/rhc/commands/account_spec.rb
416
431
  - spec/rhc/commands/snapshot_spec.rb
432
+ - spec/rhc/commands/alias_spec.rb
417
433
  - spec/rhc/commands/cartridge_spec.rb
418
434
  - spec/rhc/commands/sshkey_spec.rb
419
- - spec/rhc/commands/server_spec.rb
420
- - spec/rhc/commands/authorization_spec.rb
421
- - spec/rhc/commands/port_forward_spec.rb
422
435
  - spec/rhc/commands/threaddump_spec.rb
423
- - spec/rhc/commands/apps_spec.rb
424
- - spec/rhc/commands/git_clone_spec.rb
425
- - spec/rhc/auth_spec.rb
426
- - spec/rhc/json_spec.rb
427
- - spec/rhc/config_spec.rb
428
- - spec/rhc/helpers_spec.rb
429
- - spec/rhc/rest_spec.rb
430
- - spec/rhc/context_spec.rb
436
+ - spec/rhc/commands/authorization_spec.rb
431
437
  - spec/rhc/assets/foo.txt
438
+ - spec/rhc/assets/cert.crt
432
439
  - spec/rhc/assets/targz_corrupted.tar.gz
440
+ - spec/rhc/assets/empty.txt
433
441
  - spec/rhc/assets/targz_sample.tar.gz
434
- - spec/rhc/rest_client_spec.rb
435
- - spec/rhc/cli_spec.rb
436
- - spec/rhc/rest_application_spec.rb
442
+ - spec/rhc/assets/cert_key_rsa
437
443
  - spec/rhc/command_spec.rb
438
- - spec/spec.opts
439
- - spec/rest_spec_helper.rb
440
- - spec/spec_helper.rb
441
- - spec/coverage_helper.rb
444
+ - spec/rhc/rest_application_spec.rb
445
+ - spec/rhc/targz_spec.rb
446
+ - spec/rhc/context_spec.rb
447
+ - spec/rhc/auth_spec.rb
442
448
  - spec/wizard_spec_helper.rb
443
- - spec/keys/example_private.pem
444
- - spec/keys/server.pem
445
449
  - spec/keys/example.pem
446
- - features/client.feature
450
+ - spec/keys/server.pem
451
+ - spec/keys/example_private.pem
452
+ - spec/rest_spec_helper.rb
453
+ - spec/spec.opts
454
+ - features/multiple_cartridge.feature
455
+ - features/domain.feature
447
456
  - features/verify.feature
448
- - features/README.md
449
- - features/geared_application.feature
450
- - features/support/before_hooks.rb
457
+ - features/cartridge.feature
458
+ - features/client.feature
459
+ - features/support/env.rb
451
460
  - features/support/key2.pub
452
- - features/support/assumptions.rb
453
- - features/support/key1.pub
454
461
  - features/support/key1
455
- - features/support/env.rb
462
+ - features/support/key1.pub
463
+ - features/support/platform_support.rb
464
+ - features/support/before_hooks.rb
456
465
  - features/support/key3.pub
457
466
  - features/support/key2
458
- - features/lib/rhc_helper/sshkey.rb
459
- - features/lib/rhc_helper/api.rb
460
- - features/lib/rhc_helper/commandify.rb
461
- - features/lib/rhc_helper/persistable.rb
462
- - features/lib/rhc_helper/loggable.rb
463
- - features/lib/rhc_helper/domain.rb
464
- - features/lib/rhc_helper/runnable.rb
465
- - features/lib/rhc_helper/app.rb
466
- - features/lib/rhc_helper/httpify.rb
467
- - features/lib/rhc_helper/cartridge.rb
468
- - features/lib/rhc_helper.rb
467
+ - features/support/assumptions.rb
468
+ - features/application.feature
469
469
  - features/sshkey.feature
470
- - features/domain.feature
471
- - features/cartridge.feature
470
+ - features/geared_application.feature
472
471
  - features/scaled_application.feature
473
472
  - features/step_definitions/cartridge_steps.rb
474
- - features/step_definitions/sshkey_steps.rb
475
473
  - features/step_definitions/application_steps.rb
476
474
  - features/step_definitions/client_steps.rb
477
475
  - features/step_definitions/domain_steps.rb
478
- - features/application.feature
479
- - features/multiple_cartridge.feature
476
+ - features/step_definitions/sshkey_steps.rb
477
+ - features/lib/rhc_helper.rb
478
+ - features/lib/rhc_helper/httpify.rb
479
+ - features/lib/rhc_helper/domain.rb
480
+ - features/lib/rhc_helper/runnable.rb
481
+ - features/lib/rhc_helper/loggable.rb
482
+ - features/lib/rhc_helper/commandify.rb
483
+ - features/lib/rhc_helper/api.rb
484
+ - features/lib/rhc_helper/cartridge.rb
485
+ - features/lib/rhc_helper/app.rb
486
+ - features/lib/rhc_helper/persistable.rb
487
+ - features/lib/rhc_helper/sshkey.rb
488
+ - features/README.md