rhc 1.9.6 → 1.10.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +7 -0
  2. data/features/lib/rhc_helper.rb +0 -4
  3. data/features/lib/rhc_helper/app.rb +10 -10
  4. data/features/lib/rhc_helper/commandify.rb +6 -24
  5. data/features/support/before_hooks.rb +1 -1
  6. data/features/support/env.rb +9 -2
  7. data/features/support/platform_support.rb +11 -1
  8. data/lib/rhc/auth/basic.rb +4 -1
  9. data/lib/rhc/cartridge_helpers.rb +4 -8
  10. data/lib/rhc/commands.rb +6 -3
  11. data/lib/rhc/commands/alias.rb +1 -0
  12. data/lib/rhc/commands/app.rb +104 -67
  13. data/lib/rhc/commands/authorization.rb +2 -1
  14. data/lib/rhc/commands/base.rb +8 -1
  15. data/lib/rhc/commands/cartridge.rb +39 -16
  16. data/lib/rhc/commands/git_clone.rb +2 -1
  17. data/lib/rhc/commands/port_forward.rb +4 -6
  18. data/lib/rhc/commands/ssh.rb +54 -0
  19. data/lib/rhc/exceptions.rb +12 -7
  20. data/lib/rhc/git_helpers.rb +4 -5
  21. data/lib/rhc/help_formatter.rb +11 -6
  22. data/lib/rhc/helpers.rb +24 -3
  23. data/lib/rhc/highline_extensions.rb +31 -6
  24. data/lib/rhc/output_helpers.rb +0 -29
  25. data/lib/rhc/rest.rb +16 -1
  26. data/lib/rhc/rest/application.rb +7 -3
  27. data/lib/rhc/rest/base.rb +7 -2
  28. data/lib/rhc/rest/client.rb +7 -14
  29. data/lib/rhc/rest/gear_group.rb +10 -1
  30. data/lib/rhc/rest/mock.rb +34 -8
  31. data/lib/rhc/ssh_helpers.rb +144 -1
  32. data/lib/rhc/usage_templates/command_help.erb +16 -2
  33. data/spec/coverage_helper.rb +10 -7
  34. data/spec/rhc/commands/alias_spec.rb +28 -0
  35. data/spec/rhc/commands/app_spec.rb +64 -45
  36. data/spec/rhc/commands/authorization_spec.rb +16 -0
  37. data/spec/rhc/commands/cartridge_spec.rb +59 -3
  38. data/spec/rhc/commands/port_forward_spec.rb +6 -6
  39. data/spec/rhc/commands/ssh_spec.rb +125 -0
  40. data/spec/rhc/commands/tail_spec.rb +4 -3
  41. data/spec/rhc/helpers_spec.rb +70 -42
  42. data/spec/rhc/highline_extensions_spec.rb +23 -1
  43. data/spec/rhc/rest_client_spec.rb +6 -9
  44. data/spec/rhc/rest_spec.rb +41 -2
  45. data/spec/spec_helper.rb +38 -0
  46. metadata +336 -373
@@ -49,9 +49,10 @@ describe RHC::Commands::Tail do
49
49
  end
50
50
 
51
51
  context 'succeeds when a gear is specified' do
52
- before (:each) {Net::SSH.should_receive(:start).with('fakesshurl.com', 'fakegearid') }
53
- let(:arguments) { ['tail', 'mock-app-0', '--gear', 'fakegearid' ] }
52
+ before (:each) {Net::SSH.should_receive(:start).with('fakesshurl.com', 'fakegearid0') }
53
+ let(:arguments) { ['tail', 'mock-app-0', '--gear', 'fakegearid0' ] }
54
54
 
55
+ it { run_output.should_not =~ /Connecting to fakesshurl.com/ }
55
56
  it { expect { run }.to exit_with_code(0) }
56
57
  end
57
58
 
@@ -73,7 +74,7 @@ describe RHC::Commands::Tail do
73
74
  end
74
75
 
75
76
  it { expect { run }.to exit_with_code(1) }
76
- it { run_output.should =~ /The server does not support per gear operations/ }
77
+ it { run_output.should =~ /The server does not support operations on individual gears./ }
77
78
  end
78
79
 
79
80
  end
@@ -5,11 +5,12 @@ require 'rhc/cartridge_helpers'
5
5
  require 'rhc/git_helpers'
6
6
  require 'rhc/core_ext'
7
7
  require 'rhc/config'
8
+ require 'rhc/rest/mock'
8
9
  require 'date'
9
10
  require 'resolv'
10
11
  require 'ostruct'
11
12
 
12
- class MockHelpers
13
+ class AllRhcHelpers
13
14
  include RHC::Helpers
14
15
  include RHC::SSHHelpers
15
16
  include RHC::CartridgeHelpers
@@ -22,14 +23,12 @@ class MockHelpers
22
23
  end
23
24
  end
24
25
 
25
- describe RHC::Helpers do
26
+ describe AllRhcHelpers do
26
27
  before do
27
28
  mock_terminal
28
29
  user_config
29
30
  end
30
31
 
31
- subject{ MockHelpers.new }
32
-
33
32
  its(:openshift_server) { should == 'openshift.redhat.com' }
34
33
  its(:openshift_url) { should == 'https://openshift.redhat.com' }
35
34
 
@@ -96,6 +95,17 @@ describe RHC::Helpers do
96
95
  d.year.should == 2012
97
96
  end
98
97
 
98
+ describe "#human_size" do
99
+ it{ subject.human_size(nil).should == 'unknown' }
100
+ it{ subject.human_size(1).should == '1 B' }
101
+ it{ subject.human_size(500).should == '500 B' }
102
+ it{ subject.human_size(1000).should == '1 KB' }
103
+ it{ subject.human_size(500000).should == '500 KB' }
104
+ it{ subject.human_size(1000*1000).should == '1 MB' }
105
+ it{ subject.human_size(1000*1000*1000).should == '1 GB' }
106
+ it{ subject.human_size(1000*1000*1000*1000).should == '1 TB' }
107
+ end
108
+
99
109
  describe "#distance_of_time_in_words" do
100
110
  it{ subject.distance_of_time_in_words(0, 1).should == 'less than 1 minute' }
101
111
  it{ subject.distance_of_time_in_words(0, 60).should == '1 minute' }
@@ -263,7 +273,7 @@ describe RHC::Helpers do
263
273
  true
264
274
  end
265
275
 
266
- it { capture{ subject.git_clone_repo("url", "repo").should be_true } }
276
+ it { capture{ subject.git_clone_repo("url", "repo").should == File.expand_path('repo') } }
267
277
  it { capture_all{ subject.git_clone_repo("url", "repo") }.should match("fake git clone") }
268
278
 
269
279
  context "does not succeed" do
@@ -310,6 +320,31 @@ describe RHC::Helpers do
310
320
  Net::SSH::KeyFactory.should_receive(:load_public_key).with('1').and_raise(StandardError.new("An error"))
311
321
  subject.fingerprint_for_local_key('1').should be_nil
312
322
  end
323
+
324
+ it "should handle a block in multi_ssh calls" do
325
+ expect_multi_ssh('foo', 'fakegearid0@fakesshurl.com' => 'bar')
326
+ subject.run_on_gears('foo', [RHC::Rest::Mock::MockRestGearGroup.new], :as => :gear){ |gear, data, group| data.should == 'bar'; 'test' }.should == ['test']
327
+ end
328
+
329
+ it "should handle a block in multi_ssh calls" do
330
+ expect_multi_ssh('foo', 'fakegearid0@fakesshurl.com' => 'bar')
331
+ capture{ subject.table_from_gears('foo', [RHC::Rest::Mock::MockRestGearGroup.new], :header => ['cart','col']) }.should match /cart.*col\n-+.*fakegearid0.*bar/m
332
+ end
333
+
334
+ it "should handle a run_on_gears error for unrecognized type" do
335
+ expect_multi_ssh('foo', {})
336
+ expect{ subject.run_on_gears('foo', RHC::Rest::Mock::MockRestGearGroup.new.gears) }.to raise_error(RuntimeError)
337
+ end
338
+
339
+ it "should handle an error for unrecognized type" do
340
+ expect_multi_ssh('foo', {'fakegearid0@fakesshurl.com' => 'bar'}, true)
341
+ subject.run_on_gears('foo', [RHC::Rest::Mock::MockRestGearGroup.new])
342
+ end
343
+
344
+ it "should rescue load errors from ssh-multi" do
345
+ RHC::SSHHelpers::MultipleGearTask.any_instance.should_receive(:require).and_raise(LoadError)
346
+ expect{ RHC::SSHHelpers::MultipleGearTask.new(nil,nil,nil).send(:requires_ssh_multi!) }.to raise_error RHC::OperationNotSupportedException, /must install Net::SSH::Multi/
347
+ end
313
348
  end
314
349
 
315
350
  describe "#wrap" do
@@ -381,6 +416,36 @@ describe RHC::Helpers do
381
416
  end
382
417
  end
383
418
  end
419
+
420
+ context "cartridge helpers" do
421
+ before{ mock_terminal }
422
+
423
+ describe '#check_cartridges' do
424
+ let(:cartridges){ [] }
425
+ let(:find_cartridges){ [] }
426
+ context "with a generic object" do
427
+ it { expect{ subject.send(:check_cartridges, 'foo', :from => cartridges) }.to raise_error(RHC::CartridgeNotFoundException, 'There are no cartridges that match \'foo\'.') }
428
+ end
429
+ end
430
+
431
+ describe '#match_cart' do
432
+ context 'with a nil cart' do
433
+ let(:cart){ OpenStruct.new(:name => nil, :description => nil, :tags => nil) }
434
+ it{ subject.send(:match_cart, cart, 'foo').should be_false }
435
+ end
436
+ context 'with simple strings' do
437
+ let(:cart){ OpenStruct.new(:name => 'FOO-more_max any', :description => 'bar', :tags => [:baz]) }
438
+ it{ subject.send(:match_cart, cart, 'foo').should be_true }
439
+ it{ subject.send(:match_cart, cart, 'fo').should be_true }
440
+ it{ subject.send(:match_cart, cart, 'oo').should be_true }
441
+ it{ subject.send(:match_cart, cart, 'bar').should be_true }
442
+ it{ subject.send(:match_cart, cart, 'baz').should be_true }
443
+ it{ subject.send(:match_cart, cart, 'more max').should be_true }
444
+ it{ subject.send(:match_cart, cart, 'foo more max any').should be_true }
445
+ it{ subject.send(:match_cart, cart, 'foo_more max-any').should be_true }
446
+ end
447
+ end
448
+ end
384
449
  end
385
450
 
386
451
  describe RHC::Helpers::StringTee do
@@ -425,40 +490,3 @@ describe OpenURI do
425
490
  specify('https to http') { OpenURI.redirectable?(URI.parse('https://foo.com'), URI.parse('http://foo.com')).should be_false }
426
491
  end
427
492
  end
428
-
429
- describe RHC::CartridgeHelpers do
430
- before(:each) do
431
- mock_terminal
432
- end
433
-
434
- subject{ MockHelpers.new }
435
-
436
- describe '#check_cartridges' do
437
- let(:cartridges){ [] }
438
- let(:find_cartridges){ [] }
439
- context "with a generic object" do
440
- it { expect{ subject.send(:check_cartridges, 'foo', :from => cartridges) }.to raise_error(RHC::CartridgeNotFoundException, 'There are no cartridges that match \'foo\'.') }
441
- end
442
- end
443
- describe '#web_carts_only' do
444
- it { expect{ subject.send(:web_carts_only).call([]) }.to raise_error(RHC::MultipleCartridgesException, /You must select only a single web/) }
445
- end
446
-
447
- describe '#match_cart' do
448
- context 'with a nil cart' do
449
- let(:cart){ OpenStruct.new(:name => nil, :description => nil, :tags => nil) }
450
- it{ subject.send(:match_cart, cart, 'foo').should be_false }
451
- end
452
- context 'with simple strings' do
453
- let(:cart){ OpenStruct.new(:name => 'FOO-more_max any', :description => 'bar', :tags => [:baz]) }
454
- it{ subject.send(:match_cart, cart, 'foo').should be_true }
455
- it{ subject.send(:match_cart, cart, 'fo').should be_true }
456
- it{ subject.send(:match_cart, cart, 'oo').should be_true }
457
- it{ subject.send(:match_cart, cart, 'bar').should be_true }
458
- it{ subject.send(:match_cart, cart, 'baz').should be_true }
459
- it{ subject.send(:match_cart, cart, 'more max').should be_true }
460
- it{ subject.send(:match_cart, cart, 'foo more max any').should be_true }
461
- it{ subject.send(:match_cart, cart, 'foo_more max-any').should be_true }
462
- end
463
- end
464
- end
@@ -143,10 +143,21 @@ describe HighLineExtension do
143
143
  subject.table([]).to_a.should == []
144
144
  end
145
145
 
146
- it "should handle an empty table" do
146
+ it "should handle a nested empty table" do
147
147
  subject.table([[]]).to_a.should == []
148
148
  end
149
149
 
150
+ it "should normalize variables" do
151
+ subject.table([
152
+ ["a", 5],
153
+ [nil, ['a', 'b']],
154
+ ]).to_a.should == [
155
+ "a 5",
156
+ " a",
157
+ " b",
158
+ ]
159
+ end
160
+
150
161
  it "should wrap a table based on a max width" do
151
162
  subject.table([["abcd efgh", "1234 6789 a"]], :width => 9, :heading => 'Test').to_a.should == [
152
163
  'Test',
@@ -157,6 +168,17 @@ describe HighLineExtension do
157
168
  ]
158
169
  end
159
170
 
171
+ # FIXME: Ragged edges still left by the algorithm
172
+ # 104 total width, 1: 32/52, 2: 8/61, 113 total width
173
+ it "should handle when columns are evenly split" do
174
+ subject.table([
175
+ ["#{'a'*32} #{'b'*19}", "#{'c'*8} "*6+"d"*7]
176
+ ], :width => 104).to_a.should == [
177
+ "a"*32+" "+'b'*19+" "+Array.new(5, 'c'*8).join(' '),
178
+ ' '*53+"#{'c'*8} "+'d'*7
179
+ ]
180
+ end
181
+
160
182
  it "should allocate columns fairly in a table" do
161
183
  subject.table([["abcd", "12345 67890"]], :width => 10).to_a.should == [
162
184
  "abcd 12345",
@@ -13,27 +13,24 @@ module RHC
13
13
 
14
14
  it 'should set the proxy protocol if it is missing' do
15
15
  ENV['http_proxy'] = 'foo.bar.com:8081'
16
- RHC::Rest::Client.new
17
- ENV['http_proxy'].should == 'http://foo.bar.com:8081'
16
+ expect{ RHC::Rest::Client.new.send(:httpclient_for, {}) }.to raise_error(ArgumentError)
18
17
  end
19
18
 
20
19
  it 'should not alter the proxy protocol if it is present' do
21
20
  ENV['http_proxy'] = 'http://foo.bar.com:8081'
22
- RHC::Rest::Client.new
23
- ENV['http_proxy'].should == 'http://foo.bar.com:8081'
21
+ RHC::Rest::Client.new.send(:httpclient_for, {}).proxy.to_s.should == URI.parse(ENV['http_proxy']).to_s
24
22
  end
25
23
 
26
24
  it 'should not affect the proxy protocol if nil' do
27
25
  ENV['http_proxy'] = nil
28
- RHC::Rest::Client.new
26
+ RHC::Rest::Client.new.send(:httpclient_for, {}).proxy.should be_nil
29
27
  ENV['http_proxy'].should be_nil
30
28
  end
31
29
 
32
30
  let(:endpoint){ mock_href }
33
- let(:username){ nil }# mock_user }
34
- let(:password){ nil }# mock_pass }
31
+ let(:username){ nil }
32
+ let(:password){ nil }
35
33
  let(:use_debug){ false }
36
- #let(:spec_versions){ nil }
37
34
  let(:client) do
38
35
  respond_to?(:spec_versions) ?
39
36
  RHC::Rest::Client.new(endpoint, username, password, use_debug, spec_versions) :
@@ -284,7 +281,7 @@ module RHC
284
281
  context "when several messages are present" do
285
282
  before do
286
283
  stub_api_request(:get, 'broker/rest/cartridge', true).
287
- with(:query => {:include => :status_messages}).
284
+ with(:query => {:include => 'status_messages'}).
288
285
  to_return(:body => {
289
286
  :type => 'cartridge',
290
287
  :data => {
@@ -278,6 +278,24 @@ module RHC
278
278
  subject.send(:parse_response, json_response).should have_same_attributes_as(user_obj)
279
279
  end
280
280
  end
281
+
282
+ context "with result messages" do
283
+ let(:object) {{
284
+ :login => 'test_user',
285
+ :links => { :foo => 'bar' }
286
+ }}
287
+ let (:messages) {[
288
+ {:field => nil, :severity => 'info', :text => 'Nil field'},
289
+ {:field => 'result', :severity => 'info', :text => 'Result field'}, # < 1.5 API
290
+ {:field => 'base', :severity => 'result', :text => 'Result severity'}, # >= 1.5 API
291
+ {:field => 'base', :severity => 'info', :text => 'Non-result message' }
292
+ ]}
293
+
294
+ it "copies result messages to the object" do
295
+ json_response = { :type => 'user', :data => object, :messages => messages }.to_json
296
+ subject.send(:parse_response, json_response).messages.should == ['Nil field', 'Result field', 'Result severity']
297
+ end
298
+ end
281
299
  end
282
300
 
283
301
  describe "#new_request" do
@@ -372,8 +390,8 @@ module RHC
372
390
 
373
391
  context "with a GET request" do
374
392
  it "serializes payload as query parameters" do
375
- stub_request(:get, mock_href).with(:query => {:test => 1, :bar => 2}).to_return(:status => 204)
376
- subject.request(request.merge(:payload => {:test => '1', :bar => 2})).should be_nil
393
+ stub_request(:get, mock_href).with(:query => {:test => '1', :bar => '2'}).to_return(:status => 204)
394
+ subject.request(request.merge(:payload => {:test => '1', :bar => '2'})).should be_nil
377
395
  end
378
396
  end
379
397
  context "with a POST request" do
@@ -392,6 +410,27 @@ module RHC
392
410
  it{ response.should raise_error(RHC::Rest::TimeoutException, /Connection to server timed out. It is possible/) }
393
411
  end
394
412
 
413
+ context "with a receive timeout" do
414
+ before{ stub_request(:get, mock_href).to_raise(HTTPClient::ReceiveTimeoutError) }
415
+ it{ response.should raise_error{ |e| e.on_receive?.should be_true } }
416
+ end
417
+
418
+ context "with a send timeout" do
419
+ before{ stub_request(:get, mock_href).to_raise(HTTPClient::SendTimeoutError) }
420
+ it{ response.should raise_error{ |e| e.on_send?.should be_true } }
421
+ end
422
+
423
+ context "with a connect timeout" do
424
+ before{ stub_request(:get, mock_href).to_raise(HTTPClient::ConnectTimeoutError) }
425
+ it{ response.should raise_error{ |e| e.on_connect?.should be_true } }
426
+ end
427
+
428
+ context "with a reset server connection" do
429
+ before{ stub_request(:get, mock_href).to_raise(Errno::ECONNRESET.new('Lost Server Connection')) }
430
+ it{ response.should raise_error(RHC::Rest::ConnectionException, /The server has closed the connection unexpectedly \(Connection reset by peer - Lost Server Connection\)/) }
431
+ end
432
+
433
+
395
434
  context "with a broken server connection" do
396
435
  before{ stub_request(:get, mock_href).to_raise(EOFError.new('Lost Server Connection')) }
397
436
  it{ response.should raise_error(RHC::Rest::ConnectionException, 'Connection to server got interrupted: Lost Server Connection') }
@@ -254,6 +254,7 @@ module ClassSpecHelpers
254
254
  def mock_terminal
255
255
  @input = StringIO.new
256
256
  @output = StringIO.new
257
+ $stdout = @output
257
258
  $stderr = (@error = StringIO.new)
258
259
  $terminal = MockHighLineTerminal.new @input, @output
259
260
  end
@@ -339,6 +340,43 @@ module ClassSpecHelpers
339
340
  opts[:server].should == server if server
340
341
  end
341
342
  end
343
+
344
+ def expect_multi_ssh(command, hosts, check_error=false)
345
+ require 'net/ssh/multi'
346
+
347
+ session = mock('Multi::SSH::Session')
348
+ described_class.any_instance.stub(:requires_ssh_multi!)
349
+ channels = hosts.inject({}) do |h, (k,v)|
350
+ c = stub(:properties => {}, :connection => stub(:properties => {}))
351
+ h[k] = c
352
+ h
353
+ end
354
+ session.should_receive(:use).exactly(hosts.count).times.with do |host, opts|
355
+ opts[:properties].should_not be_nil
356
+ opts[:properties][:gear].should_not be_nil
357
+ hosts.should have_key(host)
358
+ channels[host].connection.properties.merge!(opts[:properties])
359
+ true
360
+ end
361
+ session.stub(:_command).and_return(command)
362
+ session.stub(:_hosts).and_return(hosts)
363
+ session.stub(:_channels).and_return(channels)
364
+ session.instance_eval do
365
+ def exec(arg1, *args, &block)
366
+ arg1.should == _command
367
+ _hosts.to_a.sort{ |a,b| a[0] <=> b[0] }.each do |(k,v)|
368
+ block.call(_channels[k], :stdout, v)
369
+ end
370
+ end
371
+ end
372
+ session.should_receive(:loop) unless hosts.empty?
373
+ Net::SSH::Multi.should_receive(:start).and_yield(session).with do |opts|
374
+ opts.should have_key(:on_error)
375
+ capture_all{ opts[:on_error].call('test') }.should == "Unable to connect to gear test\n" if check_error
376
+ true
377
+ end
378
+ session
379
+ end
342
380
  end
343
381
 
344
382
  module ExitCodeMatchers
metadata CHANGED
@@ -1,498 +1,461 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rhc
3
- version: !ruby/object:Gem::Version
4
- hash: 63
5
- prerelease:
6
- segments:
7
- - 1
8
- - 9
9
- - 6
10
- version: 1.9.6
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.10.7
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Red Hat
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2013-06-05 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2013-07-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: net-ssh
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 25
29
- segments:
30
- - 2
31
- - 0
32
- - 11
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
33
19
  version: 2.0.11
34
20
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: archive-tar-minitar
38
21
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 0
47
- version: "0"
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 2.0.11
27
+ - !ruby/object:Gem::Dependency
28
+ name: archive-tar-minitar
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
48
34
  type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: commander
52
35
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- hash: 27
59
- segments:
60
- - 4
61
- - 0
62
- version: "4.0"
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: commander
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '4.0'
63
48
  type: :runtime
64
- version_requirements: *id003
65
- - !ruby/object:Gem::Dependency
66
- name: highline
67
49
  prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
69
- none: false
70
- requirements:
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '4.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: highline
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
71
59
  - - ~>
72
- - !ruby/object:Gem::Version
73
- hash: 25
74
- segments:
75
- - 1
76
- - 6
77
- - 11
60
+ - !ruby/object:Gem::Version
78
61
  version: 1.6.11
79
62
  type: :runtime
80
- version_requirements: *id004
81
- - !ruby/object:Gem::Dependency
82
- name: httpclient
83
63
  prerelease: false
84
- requirement: &id005 !ruby/object:Gem::Requirement
85
- none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- hash: 7
90
- segments:
91
- - 2
92
- - 2
93
- version: "2.2"
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 1.6.11
69
+ - !ruby/object:Gem::Dependency
70
+ name: httpclient
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '2.2'
94
76
  type: :runtime
95
- version_requirements: *id005
96
- - !ruby/object:Gem::Dependency
97
- name: open4
98
77
  prerelease: false
99
- requirement: &id006 !ruby/object:Gem::Requirement
100
- none: false
101
- requirements:
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- hash: 3
105
- segments:
106
- - 0
107
- version: "0"
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '2.2'
83
+ - !ruby/object:Gem::Dependency
84
+ name: open4
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
108
90
  type: :runtime
109
- version_requirements: *id006
110
- - !ruby/object:Gem::Dependency
111
- name: rake
112
91
  prerelease: false
113
- requirement: &id007 !ruby/object:Gem::Requirement
114
- none: false
115
- requirements:
116
- - - ">="
117
- - !ruby/object:Gem::Version
118
- hash: 49
119
- segments:
120
- - 0
121
- - 8
122
- - 7
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rake
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
123
103
  version: 0.8.7
124
- - - <=
125
- - !ruby/object:Gem::Version
126
- hash: 11
127
- segments:
128
- - 0
129
- - 9
130
- - 2
131
- - 2
132
- version: 0.9.2.2
133
104
  type: :development
134
- version_requirements: *id007
135
- - !ruby/object:Gem::Dependency
136
- name: webmock
137
105
  prerelease: false
138
- requirement: &id008 !ruby/object:Gem::Requirement
139
- none: false
140
- requirements:
141
- - - ">="
142
- - !ruby/object:Gem::Version
143
- hash: 31
144
- segments:
145
- - 1
146
- - 8
147
- version: "1.8"
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: 0.8.7
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - <
116
+ - !ruby/object:Gem::Version
117
+ version: '1.12'
148
118
  type: :development
149
- version_requirements: *id008
150
- - !ruby/object:Gem::Dependency
151
- name: rspec
152
119
  prerelease: false
153
- requirement: &id009 !ruby/object:Gem::Requirement
154
- none: false
155
- requirements:
156
- - - ">="
157
- - !ruby/object:Gem::Version
158
- hash: 47
159
- segments:
160
- - 2
161
- - 8
162
- - 0
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - <
123
+ - !ruby/object:Gem::Version
124
+ version: '1.12'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '>='
130
+ - !ruby/object:Gem::Version
163
131
  version: 2.8.0
164
132
  type: :development
165
- version_requirements: *id009
166
- - !ruby/object:Gem::Dependency
167
- name: fakefs
168
133
  prerelease: false
169
- requirement: &id010 !ruby/object:Gem::Requirement
170
- none: false
171
- requirements:
172
- - - ">="
173
- - !ruby/object:Gem::Version
174
- hash: 3
175
- segments:
176
- - 0
177
- - 4
178
- version: "0.4"
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: 2.8.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: fakefs
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0.4'
179
146
  type: :development
180
- version_requirements: *id010
181
- - !ruby/object:Gem::Dependency
182
- name: thor
183
147
  prerelease: false
184
- requirement: &id011 !ruby/object:Gem::Requirement
185
- none: false
186
- requirements:
187
- - - ">="
188
- - !ruby/object:Gem::Version
189
- hash: 3
190
- segments:
191
- - 0
192
- version: "0"
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0.4'
153
+ - !ruby/object:Gem::Dependency
154
+ name: thor
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
193
160
  type: :development
194
- version_requirements: *id011
195
- - !ruby/object:Gem::Dependency
196
- name: cucumber
197
161
  prerelease: false
198
- requirement: &id012 !ruby/object:Gem::Requirement
199
- none: false
200
- requirements:
201
- - - ">="
202
- - !ruby/object:Gem::Version
203
- hash: 3
204
- segments:
205
- - 0
206
- version: "0"
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: cucumber
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
207
174
  type: :development
208
- version_requirements: *id012
209
- - !ruby/object:Gem::Dependency
210
- name: activesupport
211
175
  prerelease: false
212
- requirement: &id013 !ruby/object:Gem::Requirement
213
- none: false
214
- requirements:
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - '>='
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: activesupport
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
215
185
  - - ~>
216
- - !ruby/object:Gem::Version
217
- hash: 7
218
- segments:
219
- - 3
220
- - 0
221
- version: "3.0"
186
+ - !ruby/object:Gem::Version
187
+ version: '3.0'
222
188
  type: :development
223
- version_requirements: *id013
224
- description: The client tools for the OpenShift platform that allow for application management.
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ~>
193
+ - !ruby/object:Gem::Version
194
+ version: '3.0'
195
+ description: The client tools for the OpenShift platform that allow for application
196
+ management.
225
197
  email: dev@lists.openshift.redhat.com
226
- executables:
198
+ executables:
227
199
  - rhc
228
200
  extensions: []
229
-
230
201
  extra_rdoc_files: []
231
-
232
- files:
233
- - lib/rhc/command_runner.rb
234
- - lib/rhc/version.rb
235
- - lib/rhc/cartridge_helpers.rb
236
- - lib/rhc/auth/basic.rb
237
- - lib/rhc/auth/token_store.rb
238
- - lib/rhc/auth/token.rb
239
- - lib/rhc/output_helpers.rb
240
- - lib/rhc/wizard.rb
241
- - lib/rhc/help_formatter.rb
242
- - lib/rhc/commands.rb
243
- - lib/rhc/context_helper.rb
244
- - lib/rhc/rest.rb
245
- - lib/rhc/ssh_helpers.rb
246
- - lib/rhc/helpers.rb
247
- - lib/rhc/coverage_helper.rb
248
- - lib/rhc/json.rb
249
- - lib/rhc/git_helpers.rb
250
- - lib/rhc/auth.rb
251
- - lib/rhc/exceptions.rb
252
- - lib/rhc/autocomplete.rb
253
- - lib/rhc/config.rb
254
- - lib/rhc/commands/setup.rb
255
- - lib/rhc/commands/account.rb
256
- - lib/rhc/commands/port_forward.rb
202
+ files:
203
+ - lib/rhc.rb
257
204
  - lib/rhc/commands/tail.rb
258
- - lib/rhc/commands/alias.rb
259
- - lib/rhc/commands/git_clone.rb
205
+ - lib/rhc/commands/apps.rb
260
206
  - lib/rhc/commands/domain.rb
207
+ - lib/rhc/commands/port_forward.rb
208
+ - lib/rhc/commands/setup.rb
261
209
  - lib/rhc/commands/cartridge.rb
262
210
  - lib/rhc/commands/authorization.rb
211
+ - lib/rhc/commands/threaddump.rb
212
+ - lib/rhc/commands/alias.rb
263
213
  - lib/rhc/commands/sshkey.rb
264
- - lib/rhc/commands/snapshot.rb
265
- - lib/rhc/commands/server.rb
266
214
  - lib/rhc/commands/app.rb
267
215
  - lib/rhc/commands/logout.rb
268
- - lib/rhc/commands/apps.rb
269
- - lib/rhc/commands/threaddump.rb
216
+ - lib/rhc/commands/server.rb
217
+ - lib/rhc/commands/snapshot.rb
218
+ - lib/rhc/commands/git_clone.rb
270
219
  - lib/rhc/commands/base.rb
271
- - lib/rhc/tar_gz.rb
272
- - lib/rhc/highline_extensions.rb
273
- - lib/rhc/cli.rb
274
- - lib/rhc/core_ext.rb
275
- - lib/rhc/vendor/parseconfig.rb
276
- - lib/rhc/vendor/zliby.rb
277
- - lib/rhc/vendor/okjson.rb
278
- - lib/rhc/vendor/sshkey.rb
279
- - lib/rhc/rest/user.rb
280
- - lib/rhc/rest/attributes.rb
281
- - lib/rhc/rest/api.rb
282
- - lib/rhc/rest/alias.rb
220
+ - lib/rhc/commands/ssh.rb
221
+ - lib/rhc/commands/account.rb
222
+ - lib/rhc/rest.rb
283
223
  - lib/rhc/rest/domain.rb
284
- - lib/rhc/rest/key.rb
224
+ - lib/rhc/rest/application.rb
285
225
  - lib/rhc/rest/cartridge.rb
286
226
  - lib/rhc/rest/authorization.rb
287
- - lib/rhc/rest/gear_group.rb
227
+ - lib/rhc/rest/api.rb
228
+ - lib/rhc/rest/alias.rb
229
+ - lib/rhc/rest/key.rb
288
230
  - lib/rhc/rest/mock.rb
289
- - lib/rhc/rest/client.rb
290
- - lib/rhc/rest/application.rb
231
+ - lib/rhc/rest/gear_group.rb
232
+ - lib/rhc/rest/attributes.rb
233
+ - lib/rhc/rest/user.rb
291
234
  - lib/rhc/rest/base.rb
292
- - lib/rhc.rb
235
+ - lib/rhc/rest/client.rb
236
+ - lib/rhc/json.rb
237
+ - lib/rhc/context_helper.rb
238
+ - lib/rhc/output_helpers.rb
239
+ - lib/rhc/auth.rb
240
+ - lib/rhc/coverage_helper.rb
241
+ - lib/rhc/autocomplete.rb
242
+ - lib/rhc/help_formatter.rb
243
+ - lib/rhc/wizard.rb
244
+ - lib/rhc/exceptions.rb
245
+ - lib/rhc/vendor/okjson.rb
246
+ - lib/rhc/vendor/sshkey.rb
247
+ - lib/rhc/vendor/parseconfig.rb
248
+ - lib/rhc/vendor/zliby.rb
249
+ - lib/rhc/tar_gz.rb
250
+ - lib/rhc/git_helpers.rb
251
+ - lib/rhc/commands.rb
252
+ - lib/rhc/auth/token_store.rb
253
+ - lib/rhc/auth/basic.rb
254
+ - lib/rhc/auth/token.rb
255
+ - lib/rhc/helpers.rb
256
+ - lib/rhc/highline_extensions.rb
257
+ - lib/rhc/config.rb
258
+ - lib/rhc/cartridge_helpers.rb
259
+ - lib/rhc/ssh_helpers.rb
260
+ - lib/rhc/core_ext.rb
261
+ - lib/rhc/cli.rb
262
+ - lib/rhc/command_runner.rb
263
+ - lib/rhc/version.rb
293
264
  - lib/rhc/autocomplete_templates/bash.erb
294
- - lib/rhc/usage_templates/command_syntax_help.erb
265
+ - lib/rhc/usage_templates/help.erb
295
266
  - lib/rhc/usage_templates/missing_help.erb
296
- - lib/rhc/usage_templates/command_help.erb
297
267
  - lib/rhc/usage_templates/options_help.erb
298
- - lib/rhc/usage_templates/help.erb
268
+ - lib/rhc/usage_templates/command_help.erb
269
+ - lib/rhc/usage_templates/command_syntax_help.erb
299
270
  - conf/express.conf
300
271
  - autocomplete/rhc_bash
301
272
  - LICENSE
302
273
  - COPYRIGHT
303
274
  - README.md
304
275
  - Rakefile
305
- - spec/rest_spec_helper.rb
276
+ - spec/spec_helper.rb
306
277
  - spec/wizard_spec_helper.rb
307
- - spec/rhc/targz_spec.rb
308
- - spec/rhc/config_spec.rb
309
- - spec/rhc/helpers_spec.rb
310
- - spec/rhc/rest_spec.rb
311
- - spec/rhc/auth_spec.rb
312
- - spec/rhc/rest_client_spec.rb
313
- - spec/rhc/assets/empty.txt
314
- - spec/rhc/assets/cert_key_rsa
315
- - spec/rhc/assets/targz_sample.tar.gz
316
- - spec/rhc/assets/targz_corrupted.tar.gz
317
- - spec/rhc/assets/cert.crt
318
- - spec/rhc/assets/foo.txt
319
- - spec/rhc/context_spec.rb
320
- - spec/rhc/highline_extensions_spec.rb
321
- - spec/rhc/command_spec.rb
322
- - spec/rhc/cli_spec.rb
323
- - spec/rhc/commands/setup_spec.rb
324
- - spec/rhc/commands/tail_spec.rb
278
+ - spec/rest_spec_helper.rb
279
+ - spec/coverage_helper.rb
280
+ - spec/rhc/commands/ssh_spec.rb
281
+ - spec/rhc/commands/cartridge_spec.rb
282
+ - spec/rhc/commands/git_clone_spec.rb
283
+ - spec/rhc/commands/sshkey_spec.rb
325
284
  - spec/rhc/commands/port_forward_spec.rb
326
285
  - spec/rhc/commands/app_spec.rb
327
- - spec/rhc/commands/domain_spec.rb
328
- - spec/rhc/commands/sshkey_spec.rb
286
+ - spec/rhc/commands/setup_spec.rb
329
287
  - spec/rhc/commands/threaddump_spec.rb
330
- - spec/rhc/commands/server_spec.rb
331
- - spec/rhc/commands/logout_spec.rb
332
288
  - spec/rhc/commands/alias_spec.rb
333
- - spec/rhc/commands/authorization_spec.rb
334
289
  - spec/rhc/commands/account_spec.rb
335
- - spec/rhc/commands/cartridge_spec.rb
336
- - spec/rhc/commands/snapshot_spec.rb
337
- - spec/rhc/commands/git_clone_spec.rb
290
+ - spec/rhc/commands/tail_spec.rb
338
291
  - spec/rhc/commands/apps_spec.rb
292
+ - spec/rhc/commands/snapshot_spec.rb
293
+ - spec/rhc/commands/authorization_spec.rb
294
+ - spec/rhc/commands/logout_spec.rb
295
+ - spec/rhc/commands/domain_spec.rb
296
+ - spec/rhc/commands/server_spec.rb
297
+ - spec/rhc/targz_spec.rb
298
+ - spec/rhc/highline_extensions_spec.rb
339
299
  - spec/rhc/json_spec.rb
340
- - spec/rhc/wizard_spec.rb
300
+ - spec/rhc/context_spec.rb
341
301
  - spec/rhc/rest_application_spec.rb
342
- - spec/spec_helper.rb
343
- - spec/coverage_helper.rb
302
+ - spec/rhc/helpers_spec.rb
303
+ - spec/rhc/wizard_spec.rb
304
+ - spec/rhc/rest_spec.rb
305
+ - spec/rhc/command_spec.rb
306
+ - spec/rhc/auth_spec.rb
307
+ - spec/rhc/config_spec.rb
308
+ - spec/rhc/rest_client_spec.rb
309
+ - spec/rhc/cli_spec.rb
310
+ - spec/rhc/assets/cert_key_rsa
311
+ - spec/rhc/assets/foo.txt
312
+ - spec/rhc/assets/targz_sample.tar.gz
313
+ - spec/rhc/assets/empty.txt
314
+ - spec/rhc/assets/cert.crt
315
+ - spec/rhc/assets/targz_corrupted.tar.gz
344
316
  - spec/keys/server.pem
345
- - spec/keys/example.pem
346
317
  - spec/keys/example_private.pem
347
- - features/application.feature
348
- - features/client.feature
349
- - features/step_definitions/application_steps.rb
350
- - features/step_definitions/client_steps.rb
351
- - features/step_definitions/cartridge_steps.rb
352
- - features/step_definitions/domain_steps.rb
353
- - features/step_definitions/sshkey_steps.rb
318
+ - spec/keys/example.pem
319
+ - features/scaled_application.feature
354
320
  - features/cartridge.feature
355
- - features/README.md
356
321
  - features/support/before_hooks.rb
357
- - features/support/key1.pub
322
+ - features/support/assumptions.rb
358
323
  - features/support/key2.pub
324
+ - features/support/key1.pub
359
325
  - features/support/key1
360
- - features/support/key2
361
- - features/support/assumptions.rb
362
- - features/support/platform_support.rb
363
326
  - features/support/key3.pub
364
327
  - features/support/env.rb
365
- - features/sshkey.feature
366
- - features/multiple_cartridge.feature
367
- - features/scaled_application.feature
368
- - features/verify.feature
369
- - features/geared_application.feature
370
- - features/lib/rhc_helper/httpify.rb
371
- - features/lib/rhc_helper/api.rb
328
+ - features/support/platform_support.rb
329
+ - features/support/key2
330
+ - features/lib/rhc_helper/loggable.rb
372
331
  - features/lib/rhc_helper/domain.rb
373
332
  - features/lib/rhc_helper/cartridge.rb
374
333
  - features/lib/rhc_helper/commandify.rb
375
- - features/lib/rhc_helper/persistable.rb
376
- - features/lib/rhc_helper/runnable.rb
334
+ - features/lib/rhc_helper/api.rb
377
335
  - features/lib/rhc_helper/sshkey.rb
378
- - features/lib/rhc_helper/loggable.rb
379
336
  - features/lib/rhc_helper/app.rb
337
+ - features/lib/rhc_helper/persistable.rb
338
+ - features/lib/rhc_helper/runnable.rb
339
+ - features/lib/rhc_helper/httpify.rb
380
340
  - features/lib/rhc_helper.rb
341
+ - features/multiple_cartridge.feature
342
+ - features/README.md
343
+ - features/geared_application.feature
344
+ - features/client.feature
345
+ - features/verify.feature
381
346
  - features/domain.feature
347
+ - features/sshkey.feature
348
+ - features/application.feature
349
+ - features/step_definitions/sshkey_steps.rb
350
+ - features/step_definitions/application_steps.rb
351
+ - features/step_definitions/client_steps.rb
352
+ - features/step_definitions/cartridge_steps.rb
353
+ - features/step_definitions/domain_steps.rb
382
354
  - bin/rhc
383
355
  homepage: https://github.com/openshift/rhc
384
356
  licenses: []
385
-
357
+ metadata: {}
386
358
  post_install_message: |-
387
359
  ===========================================================================
388
-
360
+
389
361
  If this is your first time installing the RHC tools, please run 'rhc setup'
390
-
362
+
391
363
  ===========================================================================
392
364
  rdoc_options: []
393
-
394
- require_paths:
365
+ require_paths:
395
366
  - lib
396
- required_ruby_version: !ruby/object:Gem::Requirement
397
- none: false
398
- requirements:
399
- - - ">="
400
- - !ruby/object:Gem::Version
401
- hash: 3
402
- segments:
403
- - 0
404
- version: "0"
405
- required_rubygems_version: !ruby/object:Gem::Requirement
406
- none: false
407
- requirements:
408
- - - ">="
409
- - !ruby/object:Gem::Version
410
- hash: 3
411
- segments:
412
- - 0
413
- version: "0"
367
+ required_ruby_version: !ruby/object:Gem::Requirement
368
+ requirements:
369
+ - - '>='
370
+ - !ruby/object:Gem::Version
371
+ version: '0'
372
+ required_rubygems_version: !ruby/object:Gem::Requirement
373
+ requirements:
374
+ - - '>='
375
+ - !ruby/object:Gem::Version
376
+ version: '0'
414
377
  requirements: []
415
-
416
378
  rubyforge_project:
417
- rubygems_version: 1.8.16
379
+ rubygems_version: 2.0.3
418
380
  signing_key:
419
- specification_version: 3
381
+ specification_version: 4
420
382
  summary: OpenShift Client Tools
421
- test_files:
422
- - spec/rest_spec_helper.rb
383
+ test_files:
384
+ - spec/spec_helper.rb
423
385
  - spec/wizard_spec_helper.rb
424
- - spec/rhc/targz_spec.rb
425
- - spec/rhc/config_spec.rb
426
- - spec/rhc/helpers_spec.rb
427
- - spec/rhc/rest_spec.rb
428
- - spec/rhc/auth_spec.rb
429
- - spec/rhc/rest_client_spec.rb
430
- - spec/rhc/assets/empty.txt
431
- - spec/rhc/assets/cert_key_rsa
432
- - spec/rhc/assets/targz_sample.tar.gz
433
- - spec/rhc/assets/targz_corrupted.tar.gz
434
- - spec/rhc/assets/cert.crt
435
- - spec/rhc/assets/foo.txt
436
- - spec/rhc/context_spec.rb
437
- - spec/rhc/highline_extensions_spec.rb
438
- - spec/rhc/command_spec.rb
439
- - spec/rhc/cli_spec.rb
440
- - spec/rhc/commands/setup_spec.rb
441
- - spec/rhc/commands/tail_spec.rb
386
+ - spec/rest_spec_helper.rb
387
+ - spec/coverage_helper.rb
388
+ - spec/rhc/commands/ssh_spec.rb
389
+ - spec/rhc/commands/cartridge_spec.rb
390
+ - spec/rhc/commands/git_clone_spec.rb
391
+ - spec/rhc/commands/sshkey_spec.rb
442
392
  - spec/rhc/commands/port_forward_spec.rb
443
393
  - spec/rhc/commands/app_spec.rb
444
- - spec/rhc/commands/domain_spec.rb
445
- - spec/rhc/commands/sshkey_spec.rb
394
+ - spec/rhc/commands/setup_spec.rb
446
395
  - spec/rhc/commands/threaddump_spec.rb
447
- - spec/rhc/commands/server_spec.rb
448
- - spec/rhc/commands/logout_spec.rb
449
396
  - spec/rhc/commands/alias_spec.rb
450
- - spec/rhc/commands/authorization_spec.rb
451
397
  - spec/rhc/commands/account_spec.rb
452
- - spec/rhc/commands/cartridge_spec.rb
453
- - spec/rhc/commands/snapshot_spec.rb
454
- - spec/rhc/commands/git_clone_spec.rb
398
+ - spec/rhc/commands/tail_spec.rb
455
399
  - spec/rhc/commands/apps_spec.rb
400
+ - spec/rhc/commands/snapshot_spec.rb
401
+ - spec/rhc/commands/authorization_spec.rb
402
+ - spec/rhc/commands/logout_spec.rb
403
+ - spec/rhc/commands/domain_spec.rb
404
+ - spec/rhc/commands/server_spec.rb
405
+ - spec/rhc/targz_spec.rb
406
+ - spec/rhc/highline_extensions_spec.rb
456
407
  - spec/rhc/json_spec.rb
457
- - spec/rhc/wizard_spec.rb
408
+ - spec/rhc/context_spec.rb
458
409
  - spec/rhc/rest_application_spec.rb
459
- - spec/spec_helper.rb
460
- - spec/coverage_helper.rb
410
+ - spec/rhc/helpers_spec.rb
411
+ - spec/rhc/wizard_spec.rb
412
+ - spec/rhc/rest_spec.rb
413
+ - spec/rhc/command_spec.rb
414
+ - spec/rhc/auth_spec.rb
415
+ - spec/rhc/config_spec.rb
416
+ - spec/rhc/rest_client_spec.rb
417
+ - spec/rhc/cli_spec.rb
418
+ - spec/rhc/assets/cert_key_rsa
419
+ - spec/rhc/assets/foo.txt
420
+ - spec/rhc/assets/targz_sample.tar.gz
421
+ - spec/rhc/assets/empty.txt
422
+ - spec/rhc/assets/cert.crt
423
+ - spec/rhc/assets/targz_corrupted.tar.gz
461
424
  - spec/keys/server.pem
462
- - spec/keys/example.pem
463
425
  - spec/keys/example_private.pem
464
- - features/application.feature
465
- - features/client.feature
466
- - features/step_definitions/application_steps.rb
467
- - features/step_definitions/client_steps.rb
468
- - features/step_definitions/cartridge_steps.rb
469
- - features/step_definitions/domain_steps.rb
470
- - features/step_definitions/sshkey_steps.rb
426
+ - spec/keys/example.pem
427
+ - features/scaled_application.feature
471
428
  - features/cartridge.feature
472
- - features/README.md
473
429
  - features/support/before_hooks.rb
474
- - features/support/key1.pub
430
+ - features/support/assumptions.rb
475
431
  - features/support/key2.pub
432
+ - features/support/key1.pub
476
433
  - features/support/key1
477
- - features/support/key2
478
- - features/support/assumptions.rb
479
- - features/support/platform_support.rb
480
434
  - features/support/key3.pub
481
435
  - features/support/env.rb
482
- - features/sshkey.feature
483
- - features/multiple_cartridge.feature
484
- - features/scaled_application.feature
485
- - features/verify.feature
486
- - features/geared_application.feature
487
- - features/lib/rhc_helper/httpify.rb
488
- - features/lib/rhc_helper/api.rb
436
+ - features/support/platform_support.rb
437
+ - features/support/key2
438
+ - features/lib/rhc_helper/loggable.rb
489
439
  - features/lib/rhc_helper/domain.rb
490
440
  - features/lib/rhc_helper/cartridge.rb
491
441
  - features/lib/rhc_helper/commandify.rb
492
- - features/lib/rhc_helper/persistable.rb
493
- - features/lib/rhc_helper/runnable.rb
442
+ - features/lib/rhc_helper/api.rb
494
443
  - features/lib/rhc_helper/sshkey.rb
495
- - features/lib/rhc_helper/loggable.rb
496
444
  - features/lib/rhc_helper/app.rb
445
+ - features/lib/rhc_helper/persistable.rb
446
+ - features/lib/rhc_helper/runnable.rb
447
+ - features/lib/rhc_helper/httpify.rb
497
448
  - features/lib/rhc_helper.rb
449
+ - features/multiple_cartridge.feature
450
+ - features/README.md
451
+ - features/geared_application.feature
452
+ - features/client.feature
453
+ - features/verify.feature
498
454
  - features/domain.feature
455
+ - features/sshkey.feature
456
+ - features/application.feature
457
+ - features/step_definitions/sshkey_steps.rb
458
+ - features/step_definitions/application_steps.rb
459
+ - features/step_definitions/client_steps.rb
460
+ - features/step_definitions/cartridge_steps.rb
461
+ - features/step_definitions/domain_steps.rb