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.
- data/features/application.feature +1 -1
- data/features/cartridge.feature +10 -9
- data/features/geared_application.feature +3 -6
- data/features/lib/rhc_helper/app.rb +2 -2
- data/features/multiple_cartridge.feature +9 -8
- data/features/scaled_application.feature +5 -5
- data/features/step_definitions/application_steps.rb +4 -3
- data/features/step_definitions/cartridge_steps.rb +8 -1
- data/features/support/before_hooks.rb +12 -6
- data/features/support/env.rb +8 -1
- data/features/support/platform_support.rb +29 -0
- data/lib/rhc/command_runner.rb +33 -21
- data/lib/rhc/commands/account.rb +1 -1
- data/lib/rhc/commands/alias.rb +90 -7
- data/lib/rhc/commands/app.rb +15 -11
- data/lib/rhc/commands/cartridge.rb +9 -2
- data/lib/rhc/exceptions.rb +6 -0
- data/lib/rhc/helpers.rb +3 -0
- data/lib/rhc/output_helpers.rb +12 -3
- data/lib/rhc/rest.rb +3 -0
- data/lib/rhc/rest/alias.rb +50 -0
- data/lib/rhc/rest/application.rb +26 -2
- data/lib/rhc/rest/cartridge.rb +16 -1
- data/lib/rhc/rest/client.rb +24 -4
- data/lib/rhc/rest/mock.rb +66 -2
- data/lib/rhc/ssh_helpers.rb +2 -3
- data/lib/rhc/wizard.rb +6 -3
- data/spec/rhc/assets/cert.crt +22 -0
- data/spec/rhc/assets/cert_key_rsa +27 -0
- data/spec/rhc/assets/empty.txt +0 -0
- data/spec/rhc/cli_spec.rb +5 -0
- data/spec/rhc/commands/account_spec.rb +6 -6
- data/spec/rhc/commands/alias_spec.rb +179 -5
- data/spec/rhc/commands/app_spec.rb +2 -1
- data/spec/rhc/commands/authorization_spec.rb +9 -0
- data/spec/rhc/commands/cartridge_spec.rb +27 -0
- data/spec/rhc/commands/setup_spec.rb +2 -0
- data/spec/rhc/commands/sshkey_spec.rb +20 -1
- data/spec/rhc/helpers_spec.rb +1 -2
- data/spec/rhc/rest_client_spec.rb +26 -5
- data/spec/rhc/wizard_spec.rb +22 -0
- data/spec/spec_helper.rb +25 -2
- data/spec/wizard_spec_helper.rb +1 -1
- metadata +153 -144
data/spec/rhc/helpers_spec.rb
CHANGED
@@ -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 => '
|
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|
|
data/spec/rhc/wizard_spec.rb
CHANGED
@@ -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}")
|
data/spec/spec_helper.rb
CHANGED
@@ -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
|
data/spec/wizard_spec_helper.rb
CHANGED
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.
|
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-
|
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/
|
238
|
-
- lib/rhc/
|
239
|
-
- lib/rhc/
|
240
|
-
- lib/rhc/
|
241
|
-
- lib/rhc/
|
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/
|
251
|
-
- lib/rhc/commands/
|
252
|
-
- lib/rhc/commands/
|
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/
|
258
|
-
- lib/rhc/
|
259
|
-
- lib/rhc/
|
260
|
-
- lib/rhc/
|
261
|
-
- lib/rhc/
|
262
|
-
- lib/rhc/
|
263
|
-
- lib/rhc/
|
264
|
-
- lib/rhc/
|
265
|
-
- lib/rhc/
|
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/
|
275
|
-
- lib/rhc/
|
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/
|
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/
|
306
|
-
- spec/rhc/
|
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/
|
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/
|
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/
|
335
|
-
- spec/
|
336
|
-
- spec/
|
337
|
-
- spec/
|
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
|
-
-
|
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/
|
345
|
-
- features/
|
346
|
-
- features/support/
|
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/
|
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/
|
355
|
-
- features/
|
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/
|
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/
|
375
|
-
- features/
|
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/
|
410
|
-
- spec/rhc/
|
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/
|
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/
|
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/
|
439
|
-
- spec/
|
440
|
-
- spec/
|
441
|
-
- spec/
|
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
|
-
-
|
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/
|
449
|
-
- features/
|
450
|
-
- features/support/
|
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/
|
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/
|
459
|
-
- features/
|
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/
|
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/
|
479
|
-
- features/
|
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
|