rhc 1.7.8 → 1.8.9
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/autocomplete/rhc_bash +3 -3
- data/features/lib/rhc_helper/commandify.rb +1 -1
- data/features/lib/rhc_helper/loggable.rb +2 -2
- data/features/support/before_hooks.rb +19 -4
- data/features/support/env.rb +3 -3
- data/lib/rhc/cartridge_helpers.rb +9 -3
- data/lib/rhc/commands.rb +1 -0
- data/lib/rhc/commands/app.rb +35 -19
- data/lib/rhc/commands/apps.rb +2 -2
- data/lib/rhc/commands/authorization.rb +2 -2
- data/lib/rhc/commands/cartridge.rb +9 -5
- data/lib/rhc/commands/domain.rb +7 -9
- data/lib/rhc/commands/port_forward.rb +6 -5
- data/lib/rhc/commands/tail.rb +5 -3
- data/lib/rhc/context_helper.rb +1 -1
- data/lib/rhc/exceptions.rb +12 -0
- data/lib/rhc/helpers.rb +18 -4
- data/lib/rhc/highline_extensions.rb +11 -4
- data/lib/rhc/rest/application.rb +22 -10
- data/lib/rhc/rest/attributes.rb +5 -0
- data/lib/rhc/rest/cartridge.rb +32 -2
- data/lib/rhc/rest/domain.rb +7 -1
- data/lib/rhc/rest/gear_group.rb +1 -1
- data/lib/rhc/rest/mock.rb +20 -5
- data/lib/rhc/wizard.rb +4 -4
- data/spec/rhc/auth_spec.rb +2 -0
- data/spec/rhc/command_spec.rb +3 -1
- data/spec/rhc/commands/app_spec.rb +19 -1
- data/spec/rhc/commands/apps_spec.rb +2 -2
- data/spec/rhc/commands/domain_spec.rb +5 -5
- data/spec/rhc/commands/port_forward_spec.rb +40 -0
- data/spec/rhc/commands/server_spec.rb +13 -8
- data/spec/rhc/commands/tail_spec.rb +29 -0
- data/spec/rhc/highline_extensions_spec.rb +15 -0
- data/spec/rhc/rest_application_spec.rb +41 -9
- data/spec/rhc/rest_spec.rb +12 -1
- data/spec/rhc/wizard_spec.rb +19 -2
- data/spec/wizard_spec_helper.rb +3 -3
- metadata +347 -342
@@ -11,7 +11,7 @@ describe RHC::Commands::Apps do
|
|
11
11
|
let(:arguments) { ['apps'] }
|
12
12
|
|
13
13
|
it { expect { run }.to exit_with_code(1) }
|
14
|
-
it { run_output.should match(/In order to deploy applications.*rhc domain
|
14
|
+
it { run_output.should match(/In order to deploy applications.*rhc create-domain/) }
|
15
15
|
end
|
16
16
|
|
17
17
|
context 'with a domain' do
|
@@ -19,7 +19,7 @@ describe RHC::Commands::Apps do
|
|
19
19
|
let!(:domain){ rest_client.add_domain("first") }
|
20
20
|
|
21
21
|
it { expect { run }.to exit_with_code(1) }
|
22
|
-
it { run_output.should match(/No applications.*rhc app
|
22
|
+
it { run_output.should match(/No applications.*rhc create-app/) }
|
23
23
|
|
24
24
|
context 'with apps' do
|
25
25
|
let(:arguments) { ['apps'] }
|
@@ -11,7 +11,7 @@ describe RHC::Commands::Domain do
|
|
11
11
|
let(:arguments) { ['domain', '--noprompt', '--config', 'test.conf', '-l', 'test@test.foo', '-p', 'password'] }
|
12
12
|
|
13
13
|
it { expect { run }.to exit_with_code(1) }
|
14
|
-
it { run_output.should match(/In order to deploy applications.*rhc domain
|
14
|
+
it { run_output.should match(/In order to deploy applications.*rhc create-domain/) }
|
15
15
|
end
|
16
16
|
context 'when help is shown' do
|
17
17
|
let(:arguments) { ['domain', '--noprompt', '--help'] }
|
@@ -26,7 +26,7 @@ describe RHC::Commands::Domain do
|
|
26
26
|
|
27
27
|
context 'when run with no domains' do
|
28
28
|
it { expect { run }.to exit_with_code(1) }
|
29
|
-
it { run_output.should match(/In order to deploy applications.*rhc domain
|
29
|
+
it { run_output.should match(/In order to deploy applications.*rhc create-domain/) }
|
30
30
|
end
|
31
31
|
|
32
32
|
context 'when run with one domain no apps' do
|
@@ -110,7 +110,7 @@ describe RHC::Commands::Domain do
|
|
110
110
|
expect { run }.to exit_with_code(0)
|
111
111
|
rest_client.domains[0].id.should == 'alterednamespace'
|
112
112
|
end
|
113
|
-
it { run_output.should match(/Changing namespace 'olddomain' to 'alterednamespace'.*?
|
113
|
+
it { run_output.should match(/Changing namespace 'olddomain' to 'alterednamespace'.*success.*?Applications.*in their URL./m) }
|
114
114
|
end
|
115
115
|
|
116
116
|
context 'when there is no domain' do
|
@@ -132,7 +132,7 @@ describe RHC::Commands::Domain do
|
|
132
132
|
expect { run }.to exit_with_code(0)
|
133
133
|
rest_client.domains[0].id.should == 'alterednamespace'
|
134
134
|
end
|
135
|
-
it { run_output.should match(/Changing namespace 'olddomain' to 'alterednamespace'.*?
|
135
|
+
it { run_output.should match(/Changing namespace 'olddomain' to 'alterednamespace'.*success.*?Applications.*in their URL./m) }
|
136
136
|
end
|
137
137
|
end
|
138
138
|
|
@@ -167,7 +167,7 @@ describe RHC::Commands::Domain do
|
|
167
167
|
expect { run }.to exit_with_code(128)
|
168
168
|
rest_client.domains[0].id.should == 'deleteme'
|
169
169
|
end
|
170
|
-
it { run_output.should match("
|
170
|
+
it { run_output.should match("Your domain contains applications.*?Delete applications first.") }
|
171
171
|
end
|
172
172
|
end
|
173
173
|
|
@@ -172,6 +172,46 @@ describe RHC::Commands::PortForward do
|
|
172
172
|
it { run_output.should include("Ending port forward") }
|
173
173
|
end
|
174
174
|
|
175
|
+
context 'when port forwarding a single gear on a scaled app' do
|
176
|
+
let(:gear_host) { 'fakesshurl.com' }
|
177
|
+
let(:gear_user) { 'fakegearid' }
|
178
|
+
let(:arguments) { ['port-forward', '--noprompt', '--config', 'test.conf', '-l', 'test@test.foo', '-p', 'password', '--app', 'mockapp', '--gear', @gear_id] }
|
179
|
+
|
180
|
+
it 'should run successfully' do
|
181
|
+
@gear_id = 'fakegearid'
|
182
|
+
Net::SSH.should_receive(:start).with(gear_host, gear_user).and_yield(@ssh).twice
|
183
|
+
|
184
|
+
@ssh.should_receive(:exec!).with("rhc-list-ports").
|
185
|
+
and_yield(nil, :stderr, "mongodb -> #{gear_host}:35541")
|
186
|
+
forward = mock(Net::SSH::Service::Forward)
|
187
|
+
@ssh.should_receive(:forward).and_return(forward)
|
188
|
+
forward.should_receive(:local).with(35541, gear_host, 35541)
|
189
|
+
@ssh.should_receive(:loop).and_raise(Interrupt.new)
|
190
|
+
|
191
|
+
expect { run }.to exit_with_code(0)
|
192
|
+
end
|
193
|
+
|
194
|
+
it 'should fail if the specified gear is missing' do
|
195
|
+
@gear_id = 'notarealgearxxxxx'
|
196
|
+
|
197
|
+
expect { run }.to exit_with_code(1)
|
198
|
+
run_output.should include('Gear notarealgearxxxxx not found')
|
199
|
+
end
|
200
|
+
|
201
|
+
it 'should fail if the specified gear has no ssh info' do
|
202
|
+
@gear_id = 'fakegearid'
|
203
|
+
|
204
|
+
# Given - gears in gear group should not have ssh info
|
205
|
+
gg = MockRestGearGroup.new(rest_client)
|
206
|
+
@app.stub(:gear_groups).and_return([gg])
|
207
|
+
gg.stub(:gears).and_return([{'state' => 'started', 'id' => 'fakegearid'}])
|
208
|
+
|
209
|
+
expect { run }.to exit_with_code(1)
|
210
|
+
run_output.should include('The server does not support per gear operations')
|
211
|
+
end
|
212
|
+
|
213
|
+
end
|
214
|
+
|
175
215
|
end
|
176
216
|
end
|
177
217
|
|
@@ -23,7 +23,7 @@ describe RHC::Commands::Server do
|
|
23
23
|
end
|
24
24
|
|
25
25
|
context 'when API is at version 1.2' do
|
26
|
-
before do
|
26
|
+
before do
|
27
27
|
rest_client.stub(:api_version_negotiated).and_return('1.2')
|
28
28
|
end
|
29
29
|
it('should output an error') { run_output.should =~ /Connected to foo.com.*Using API version 1.2/m }
|
@@ -31,6 +31,11 @@ describe RHC::Commands::Server do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
+
describe 'run against an invalid server url' do
|
35
|
+
let(:arguments) { ['server', '--server', 'invalid_uri', '-l', 'person', '-p', ''] }
|
36
|
+
it('should output an invalid URI error') { run_output.should match('Invalid URI specified: invalid_uri') }
|
37
|
+
end
|
38
|
+
|
34
39
|
describe 'run' do
|
35
40
|
let(:arguments) { ['server'] }
|
36
41
|
before{ rest_client.stub(:auth).and_return(nil) }
|
@@ -43,16 +48,16 @@ describe RHC::Commands::Server do
|
|
43
48
|
|
44
49
|
context 'when 1 issue' do
|
45
50
|
before do
|
46
|
-
stub_request(:get, 'https://openshift.redhat.com/app/status/status.json').with(&user_agent_header).to_return(:body =>
|
51
|
+
stub_request(:get, 'https://openshift.redhat.com/app/status/status.json').with(&user_agent_header).to_return(:body =>
|
47
52
|
{'open' => [
|
48
|
-
{'issue' => {
|
49
|
-
'created_at' => '2011-05-22T17:31:32-04:00',
|
50
|
-
'id' => 11,
|
51
|
-
'title' => 'Root cause',
|
53
|
+
{'issue' => {
|
54
|
+
'created_at' => '2011-05-22T17:31:32-04:00',
|
55
|
+
'id' => 11,
|
56
|
+
'title' => 'Root cause',
|
52
57
|
'updates' => [{
|
53
|
-
'created_at' => '2012-05-22T13:48:20-04:00',
|
58
|
+
'created_at' => '2012-05-22T13:48:20-04:00',
|
54
59
|
'description' => 'Working on update'
|
55
|
-
}]
|
60
|
+
}]
|
56
61
|
}}]}.to_json)
|
57
62
|
end
|
58
63
|
it { expect { run }.to exit_with_code(1) }
|
@@ -47,5 +47,34 @@ describe RHC::Commands::Tail do
|
|
47
47
|
before (:each) { rest_client.stub(:find_domain) { raise Interrupt } }
|
48
48
|
it { expect { run }.to raise_error(Interrupt) }
|
49
49
|
end
|
50
|
+
|
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' ] }
|
54
|
+
|
55
|
+
it { expect { run }.to exit_with_code(0) }
|
56
|
+
end
|
57
|
+
|
58
|
+
context 'fails when an invalid gear is specified' do
|
59
|
+
let(:arguments) { ['tail', 'mock-app-0', '--gear', 'gearthatdoesnotexist' ] }
|
60
|
+
|
61
|
+
it { expect { run }.to exit_with_code(1) }
|
62
|
+
it { run_output.should =~ /Gear gearthatdoesnotexist not found/ }
|
63
|
+
end
|
64
|
+
|
65
|
+
context 'fails when a gear with no ssh info is specified' do
|
66
|
+
let(:arguments) { ['tail', 'mock-app-0', '--gear', 'fakegearid' ] }
|
67
|
+
|
68
|
+
# Given - gears in gear group should not have ssh info
|
69
|
+
before(:each) do
|
70
|
+
gg = MockRestGearGroup.new(rest_client)
|
71
|
+
@app.stub(:gear_groups).and_return([gg])
|
72
|
+
gg.stub(:gears).and_return([{'state' => 'started', 'id' => 'fakegearid'}])
|
73
|
+
end
|
74
|
+
|
75
|
+
it { expect { run }.to exit_with_code(1) }
|
76
|
+
it { run_output.should =~ /The server does not support per gear operations/ }
|
77
|
+
end
|
78
|
+
|
50
79
|
end
|
51
80
|
end
|
@@ -131,6 +131,21 @@ describe HighLineExtension do
|
|
131
131
|
output = subject.read
|
132
132
|
output.should == "Antidisestablishmentarianism\n"
|
133
133
|
end
|
134
|
+
it "should terminate an open line if wrapping occurs" do
|
135
|
+
subject.wrap_at = 10
|
136
|
+
subject.say "Foo "
|
137
|
+
subject.say "Lorem ipsum"
|
138
|
+
output = subject.read
|
139
|
+
output.should match "Foo \nLorem\nipsum\n"
|
140
|
+
end
|
141
|
+
|
142
|
+
it "should handle an empty table" do
|
143
|
+
subject.table([]).to_a.should == []
|
144
|
+
end
|
145
|
+
|
146
|
+
it "should handle an empty table" do
|
147
|
+
subject.table([[]]).to_a.should == []
|
148
|
+
end
|
134
149
|
|
135
150
|
it "should wrap a table based on a max width" do
|
136
151
|
subject.table([["abcd efgh", "1234 6789 a"]], :width => 9, :heading => 'Test').to_a.should == [
|
@@ -54,15 +54,47 @@ module RHC
|
|
54
54
|
end
|
55
55
|
|
56
56
|
context "#add_cartridge" do
|
57
|
-
|
58
|
-
stub_api_request(:any, app_links['ADD_CARTRIDGE']['relative']).
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
57
|
+
context "with a name" do
|
58
|
+
before{ stub_api_request(:any, app_links['ADD_CARTRIDGE']['relative']).with(:body => {:name => 'mock_cart_0'}.to_json).to_return(mock_cartridge_response) }
|
59
|
+
it "accepts a string" do
|
60
|
+
cart = app_obj.add_cartridge('mock_cart_0')
|
61
|
+
cart.should be_an_instance_of RHC::Rest::Cartridge
|
62
|
+
cart.name.should == 'mock_cart_0'
|
63
|
+
end
|
64
|
+
it "accepts an object" do
|
65
|
+
cart = app_obj.add_cartridge(stub(:name => 'mock_cart_0', :url => nil))
|
66
|
+
cart.should be_an_instance_of RHC::Rest::Cartridge
|
67
|
+
cart.name.should == 'mock_cart_0'
|
68
|
+
end
|
69
|
+
it "accepts a hash" do
|
70
|
+
cart = app_obj.add_cartridge(:name => 'mock_cart_0')
|
71
|
+
cart.should be_an_instance_of RHC::Rest::Cartridge
|
72
|
+
cart.name.should == 'mock_cart_0'
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
context "with a URL cart" do
|
77
|
+
before{ stub_api_request(:any, app_links['ADD_CARTRIDGE']['relative']).with(:body => {:url => 'http://foo.com'}.to_json).to_return(mock_cartridge_response(1, true)) }
|
78
|
+
it "accepts a hash" do
|
79
|
+
cart = app_obj.add_cartridge({:url => 'http://foo.com'})
|
80
|
+
cart.should be_an_instance_of RHC::Rest::Cartridge
|
81
|
+
cart.name.should == 'mock_cart_0'
|
82
|
+
cart.url.should == 'http://a.url/0'
|
83
|
+
cart.short_name.should == 'mock_cart_0'
|
84
|
+
cart.display_name.should == 'mock_cart_0'
|
85
|
+
cart.only_in_new?.should be_true
|
86
|
+
cart.only_in_existing?.should be_false
|
87
|
+
end
|
88
|
+
it "accepts an object" do
|
89
|
+
cart = app_obj.add_cartridge(stub(:url => 'http://foo.com'))
|
90
|
+
cart.should be_an_instance_of RHC::Rest::Cartridge
|
91
|
+
cart.name.should == 'mock_cart_0'
|
92
|
+
cart.url.should == 'http://a.url/0'
|
93
|
+
cart.short_name.should == 'mock_cart_0'
|
94
|
+
cart.display_name.should == 'mock_cart_0'
|
95
|
+
cart.only_in_new?.should be_true
|
96
|
+
cart.only_in_existing?.should be_false
|
97
|
+
end
|
66
98
|
end
|
67
99
|
end
|
68
100
|
|
data/spec/rhc/rest_spec.rb
CHANGED
@@ -75,7 +75,18 @@ describe RHC::Rest::Domain do
|
|
75
75
|
to_return(:status => 201, :body => {:type => 'application', :data => {:id => '1'}}.to_json)
|
76
76
|
end
|
77
77
|
it{ domain.add_application('foo', :initial_git_url => 'a_url').should be_true }
|
78
|
-
end
|
78
|
+
end
|
79
|
+
|
80
|
+
context "with a cartridge url" do
|
81
|
+
before do
|
82
|
+
stub_api_request(:post, 'broker/rest/domains/bar/applications', false).
|
83
|
+
with(:body => {:name => 'foo', :cartridges => [{:url => 'a_url'}]}.to_json).
|
84
|
+
to_return(:status => 201, :body => {:type => 'application', :data => {:id => '1'}}.to_json)
|
85
|
+
end
|
86
|
+
it{ domain.add_application('foo', :cartridges => [{:url => 'a_url'}]).should be_true }
|
87
|
+
it{ domain.add_application('foo', :cartridge => RHC::Rest::Cartridge.for_url('a_url')).should be_true }
|
88
|
+
it{ domain.add_application('foo', :cartridge => [{'url' => 'a_url'}]).should be_true }
|
89
|
+
end
|
79
90
|
end
|
80
91
|
end
|
81
92
|
|
data/spec/rhc/wizard_spec.rb
CHANGED
@@ -175,6 +175,23 @@ describe RHC::Wizard do
|
|
175
175
|
options.insecure.should be_false
|
176
176
|
end
|
177
177
|
|
178
|
+
context "when the config has enabled tokens" do
|
179
|
+
let(:default_options){ {:rhlogin => user, :password => password, :server => server, :use_authorization_tokens => true} }
|
180
|
+
let(:store){ mock }
|
181
|
+
before{ RHC::Auth::TokenStore.should_receive(:new).any_number_of_times.and_return(store) }
|
182
|
+
before{ expect_client_test(true) }
|
183
|
+
|
184
|
+
it "should check for an existing token" do
|
185
|
+
store.should_receive(:get).and_return(nil)
|
186
|
+
|
187
|
+
subject.should_receive(:info).with(/OpenShift can create and store a token on disk/).ordered
|
188
|
+
subject.should_receive(:agree).with(/Generate a token now?/).ordered.and_return(false)
|
189
|
+
|
190
|
+
subject.send(:login_stage).should be_true
|
191
|
+
options.token.should be_nil
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
178
195
|
context "with a server that supports tokens" do
|
179
196
|
before{ expect_client_test(true) }
|
180
197
|
let(:token){ 'a_test_value' }
|
@@ -183,7 +200,7 @@ describe RHC::Wizard do
|
|
183
200
|
before{ RHC::Auth::TokenStore.should_receive(:new).any_number_of_times.and_return(store) }
|
184
201
|
|
185
202
|
it "should not generate a token if the user does not request it" do
|
186
|
-
store.
|
203
|
+
store.should_not_receive(:get)
|
187
204
|
subject.should_receive(:info).with(/OpenShift can create and store a token on disk/).ordered
|
188
205
|
subject.should_receive(:agree).with(/Generate a token now?/).ordered.and_return(false)
|
189
206
|
|
@@ -192,7 +209,7 @@ describe RHC::Wizard do
|
|
192
209
|
end
|
193
210
|
|
194
211
|
it "should generate a token if the user requests it" do
|
195
|
-
store.
|
212
|
+
store.should_not_receive(:get)
|
196
213
|
subject.should_receive(:info).with(/OpenShift can create and store a token on disk/).ordered
|
197
214
|
subject.should_receive(:agree).with(/Generate a token now?/).ordered.and_return(true)
|
198
215
|
subject.should_receive(:say).with(/Generating an authorization token for this client /).ordered
|
data/spec/wizard_spec_helper.rb
CHANGED
@@ -172,7 +172,7 @@ module WizardStepsHelper
|
|
172
172
|
last_output do |s|
|
173
173
|
s.should match(/Checking your namespace .*none/)
|
174
174
|
s.should match("You will not be able to create applications without first creating a namespace")
|
175
|
-
s.should match("You may create a namespace later through 'rhc domain
|
175
|
+
s.should match("You may create a namespace later through 'rhc create-domain'")
|
176
176
|
end
|
177
177
|
subject.send(:options).__hash__[:namespace].should be_nil
|
178
178
|
end
|
@@ -188,8 +188,8 @@ module WizardStepsHelper
|
|
188
188
|
next_stage.should_not be_nil
|
189
189
|
|
190
190
|
last_output do |s|
|
191
|
-
s.should match('rhc app
|
192
|
-
s.should match('rhc app
|
191
|
+
s.should match('rhc create-app <app name> mock_standalone_cart-1')
|
192
|
+
s.should match('rhc create-app <app name> mock_standalone_cart-2')
|
193
193
|
end
|
194
194
|
end
|
195
195
|
|
metadata
CHANGED
@@ -1,493 +1,498 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rhc
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 37
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 8
|
9
|
+
- 9
|
10
|
+
version: 1.8.9
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Red Hat
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2013-05-10 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: net-ssh
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 2.0.11
|
22
|
-
type: :runtime
|
23
22
|
prerelease: false
|
24
|
-
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
24
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 25
|
29
|
+
segments:
|
30
|
+
- 2
|
31
|
+
- 0
|
32
|
+
- 11
|
29
33
|
version: 2.0.11
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: archive-tar-minitar
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '0'
|
38
34
|
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: archive-tar-minitar
|
39
38
|
prerelease: false
|
40
|
-
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: commander
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
49
40
|
none: false
|
50
|
-
requirements:
|
51
|
-
- -
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
version: "0"
|
54
48
|
type: :runtime
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: commander
|
55
52
|
prerelease: false
|
56
|
-
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ! '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '4.0'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: highline
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
65
54
|
none: false
|
66
|
-
requirements:
|
67
|
-
- -
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 27
|
59
|
+
segments:
|
60
|
+
- 4
|
61
|
+
- 0
|
62
|
+
version: "4.0"
|
70
63
|
type: :runtime
|
64
|
+
version_requirements: *id003
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: highline
|
71
67
|
prerelease: false
|
72
|
-
|
68
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
69
|
none: false
|
74
|
-
requirements:
|
70
|
+
requirements:
|
75
71
|
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
hash: 25
|
74
|
+
segments:
|
75
|
+
- 1
|
76
|
+
- 6
|
77
|
+
- 11
|
77
78
|
version: 1.6.11
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: httpclient
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ! '>='
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '2.2'
|
86
79
|
type: :runtime
|
80
|
+
version_requirements: *id004
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: httpclient
|
87
83
|
prerelease: false
|
88
|
-
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ! '>='
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: '2.2'
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: open4
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
97
85
|
none: false
|
98
|
-
requirements:
|
99
|
-
- -
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
hash: 7
|
90
|
+
segments:
|
91
|
+
- 2
|
92
|
+
- 2
|
93
|
+
version: "2.2"
|
102
94
|
type: :runtime
|
95
|
+
version_requirements: *id005
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: open4
|
103
98
|
prerelease: false
|
104
|
-
|
99
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
105
100
|
none: false
|
106
|
-
requirements:
|
107
|
-
- -
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
|
110
|
-
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
hash: 3
|
105
|
+
segments:
|
106
|
+
- 0
|
107
|
+
version: "0"
|
108
|
+
type: :runtime
|
109
|
+
version_requirements: *id006
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
111
|
name: rake
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
|
-
requirements:
|
115
|
-
- - ! '>='
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 0.8.7
|
118
|
-
- - <=
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
version: 0.9.2.2
|
121
|
-
type: :development
|
122
112
|
prerelease: false
|
123
|
-
|
113
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
124
114
|
none: false
|
125
|
-
requirements:
|
126
|
-
- -
|
127
|
-
- !ruby/object:Gem::Version
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
hash: 49
|
119
|
+
segments:
|
120
|
+
- 0
|
121
|
+
- 8
|
122
|
+
- 7
|
128
123
|
version: 0.8.7
|
129
124
|
- - <=
|
130
|
-
- !ruby/object:Gem::Version
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
hash: 11
|
127
|
+
segments:
|
128
|
+
- 0
|
129
|
+
- 9
|
130
|
+
- 2
|
131
|
+
- 2
|
131
132
|
version: 0.9.2.2
|
132
|
-
- !ruby/object:Gem::Dependency
|
133
|
-
name: webmock
|
134
|
-
requirement: !ruby/object:Gem::Requirement
|
135
|
-
none: false
|
136
|
-
requirements:
|
137
|
-
- - ! '>='
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '1.8'
|
140
133
|
type: :development
|
134
|
+
version_requirements: *id007
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: webmock
|
141
137
|
prerelease: false
|
142
|
-
|
138
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
143
139
|
none: false
|
144
|
-
requirements:
|
145
|
-
- -
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
requirements:
|
153
|
-
- - ! '>='
|
154
|
-
- !ruby/object:Gem::Version
|
155
|
-
version: 2.8.0
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
hash: 31
|
144
|
+
segments:
|
145
|
+
- 1
|
146
|
+
- 8
|
147
|
+
version: "1.8"
|
156
148
|
type: :development
|
149
|
+
version_requirements: *id008
|
150
|
+
- !ruby/object:Gem::Dependency
|
151
|
+
name: rspec
|
157
152
|
prerelease: false
|
158
|
-
|
153
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
159
154
|
none: false
|
160
|
-
requirements:
|
161
|
-
- -
|
162
|
-
- !ruby/object:Gem::Version
|
155
|
+
requirements:
|
156
|
+
- - ">="
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
hash: 47
|
159
|
+
segments:
|
160
|
+
- 2
|
161
|
+
- 8
|
162
|
+
- 0
|
163
163
|
version: 2.8.0
|
164
|
-
- !ruby/object:Gem::Dependency
|
165
|
-
name: fakefs
|
166
|
-
requirement: !ruby/object:Gem::Requirement
|
167
|
-
none: false
|
168
|
-
requirements:
|
169
|
-
- - ! '>='
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: '0.4'
|
172
164
|
type: :development
|
165
|
+
version_requirements: *id009
|
166
|
+
- !ruby/object:Gem::Dependency
|
167
|
+
name: fakefs
|
173
168
|
prerelease: false
|
174
|
-
|
175
|
-
none: false
|
176
|
-
requirements:
|
177
|
-
- - ! '>='
|
178
|
-
- !ruby/object:Gem::Version
|
179
|
-
version: '0.4'
|
180
|
-
- !ruby/object:Gem::Dependency
|
181
|
-
name: thor
|
182
|
-
requirement: !ruby/object:Gem::Requirement
|
169
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
183
170
|
none: false
|
184
|
-
requirements:
|
185
|
-
- -
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
hash: 3
|
175
|
+
segments:
|
176
|
+
- 0
|
177
|
+
- 4
|
178
|
+
version: "0.4"
|
188
179
|
type: :development
|
180
|
+
version_requirements: *id010
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: thor
|
189
183
|
prerelease: false
|
190
|
-
|
191
|
-
none: false
|
192
|
-
requirements:
|
193
|
-
- - ! '>='
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
version: '0'
|
196
|
-
- !ruby/object:Gem::Dependency
|
197
|
-
name: cucumber
|
198
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
199
185
|
none: false
|
200
|
-
requirements:
|
201
|
-
- -
|
202
|
-
- !ruby/object:Gem::Version
|
203
|
-
|
186
|
+
requirements:
|
187
|
+
- - ">="
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
hash: 3
|
190
|
+
segments:
|
191
|
+
- 0
|
192
|
+
version: "0"
|
204
193
|
type: :development
|
194
|
+
version_requirements: *id011
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: cucumber
|
205
197
|
prerelease: false
|
206
|
-
|
198
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
207
199
|
none: false
|
208
|
-
requirements:
|
209
|
-
- -
|
210
|
-
- !ruby/object:Gem::Version
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
none: false
|
216
|
-
requirements:
|
217
|
-
- - ~>
|
218
|
-
- !ruby/object:Gem::Version
|
219
|
-
version: '3.0'
|
200
|
+
requirements:
|
201
|
+
- - ">="
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
hash: 3
|
204
|
+
segments:
|
205
|
+
- 0
|
206
|
+
version: "0"
|
220
207
|
type: :development
|
208
|
+
version_requirements: *id012
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: activesupport
|
221
211
|
prerelease: false
|
222
|
-
|
212
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
223
213
|
none: false
|
224
|
-
requirements:
|
214
|
+
requirements:
|
225
215
|
- - ~>
|
226
|
-
- !ruby/object:Gem::Version
|
227
|
-
|
228
|
-
|
229
|
-
|
216
|
+
- !ruby/object:Gem::Version
|
217
|
+
hash: 7
|
218
|
+
segments:
|
219
|
+
- 3
|
220
|
+
- 0
|
221
|
+
version: "3.0"
|
222
|
+
type: :development
|
223
|
+
version_requirements: *id013
|
224
|
+
description: The client tools for the OpenShift platform that allow for application management.
|
230
225
|
email: dev@lists.openshift.redhat.com
|
231
|
-
executables:
|
226
|
+
executables:
|
232
227
|
- rhc
|
233
228
|
extensions: []
|
229
|
+
|
234
230
|
extra_rdoc_files: []
|
235
|
-
|
236
|
-
|
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
|
237
241
|
- lib/rhc/help_formatter.rb
|
238
|
-
- lib/rhc/
|
239
|
-
- lib/rhc/
|
240
|
-
- lib/rhc/
|
241
|
-
- lib/rhc/
|
242
|
-
- lib/rhc/
|
243
|
-
- lib/rhc/
|
244
|
-
- lib/rhc/
|
245
|
-
- lib/rhc/
|
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
|
246
254
|
- lib/rhc/commands/setup.rb
|
247
|
-
- lib/rhc/commands/snapshot.rb
|
248
255
|
- lib/rhc/commands/account.rb
|
249
|
-
- lib/rhc/commands/
|
256
|
+
- lib/rhc/commands/port_forward.rb
|
257
|
+
- lib/rhc/commands/tail.rb
|
258
|
+
- lib/rhc/commands/alias.rb
|
250
259
|
- lib/rhc/commands/git_clone.rb
|
251
260
|
- lib/rhc/commands/domain.rb
|
252
|
-
- lib/rhc/commands/
|
261
|
+
- lib/rhc/commands/cartridge.rb
|
262
|
+
- lib/rhc/commands/authorization.rb
|
263
|
+
- lib/rhc/commands/sshkey.rb
|
264
|
+
- lib/rhc/commands/snapshot.rb
|
253
265
|
- lib/rhc/commands/server.rb
|
254
266
|
- lib/rhc/commands/app.rb
|
267
|
+
- lib/rhc/commands/logout.rb
|
268
|
+
- lib/rhc/commands/apps.rb
|
269
|
+
- lib/rhc/commands/threaddump.rb
|
255
270
|
- lib/rhc/commands/base.rb
|
256
|
-
- lib/rhc/
|
257
|
-
- lib/rhc/commands/tail.rb
|
258
|
-
- lib/rhc/commands/cartridge.rb
|
271
|
+
- lib/rhc/tar_gz.rb
|
259
272
|
- lib/rhc/highline_extensions.rb
|
260
|
-
- lib/rhc/helpers.rb
|
261
|
-
- lib/rhc/auth/basic.rb
|
262
|
-
- lib/rhc/auth/token_store.rb
|
263
|
-
- lib/rhc/auth/token.rb
|
264
|
-
- lib/rhc/exceptions.rb
|
265
|
-
- lib/rhc/context_helper.rb
|
266
|
-
- lib/rhc/commands.rb
|
267
|
-
- lib/rhc/config.rb
|
268
|
-
- lib/rhc/git_helpers.rb
|
269
|
-
- lib/rhc/coverage_helper.rb
|
270
|
-
- lib/rhc/json.rb
|
271
|
-
- lib/rhc/version.rb
|
272
|
-
- lib/rhc/autocomplete.rb
|
273
|
-
- lib/rhc/auth.rb
|
274
|
-
- lib/rhc/wizard.rb
|
275
273
|
- lib/rhc/cli.rb
|
276
|
-
- lib/rhc/
|
277
|
-
- lib/rhc/
|
278
|
-
- lib/rhc/
|
279
|
-
- lib/rhc/
|
280
|
-
- lib/rhc/
|
281
|
-
- lib/rhc/
|
282
|
-
- lib/rhc/rest/key.rb
|
283
|
-
- lib/rhc/rest/mock.rb
|
284
|
-
- lib/rhc/rest/api.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
|
285
280
|
- lib/rhc/rest/attributes.rb
|
286
|
-
- lib/rhc/rest/
|
287
|
-
- lib/rhc/rest/client.rb
|
288
|
-
- lib/rhc/rest/domain.rb
|
281
|
+
- lib/rhc/rest/api.rb
|
289
282
|
- lib/rhc/rest/alias.rb
|
290
|
-
- lib/rhc/rest/
|
291
|
-
- lib/rhc/rest/
|
292
|
-
- lib/rhc/rest/authorization.rb
|
283
|
+
- lib/rhc/rest/domain.rb
|
284
|
+
- lib/rhc/rest/key.rb
|
293
285
|
- lib/rhc/rest/cartridge.rb
|
286
|
+
- lib/rhc/rest/authorization.rb
|
294
287
|
- lib/rhc/rest/gear_group.rb
|
288
|
+
- lib/rhc/rest/mock.rb
|
289
|
+
- lib/rhc/rest/client.rb
|
290
|
+
- lib/rhc/rest/application.rb
|
291
|
+
- lib/rhc/rest/base.rb
|
295
292
|
- lib/rhc.rb
|
296
|
-
- lib/rhc/
|
293
|
+
- lib/rhc/autocomplete_templates/bash.erb
|
297
294
|
- lib/rhc/usage_templates/command_syntax_help.erb
|
298
|
-
- lib/rhc/usage_templates/command_help.erb
|
299
295
|
- lib/rhc/usage_templates/missing_help.erb
|
296
|
+
- lib/rhc/usage_templates/command_help.erb
|
297
|
+
- lib/rhc/usage_templates/options_help.erb
|
300
298
|
- lib/rhc/usage_templates/help.erb
|
301
|
-
- lib/rhc/autocomplete_templates/bash.erb
|
302
299
|
- conf/express.conf
|
303
300
|
- autocomplete/rhc_bash
|
304
301
|
- LICENSE
|
305
302
|
- COPYRIGHT
|
306
303
|
- README.md
|
307
304
|
- Rakefile
|
308
|
-
- spec/
|
309
|
-
- spec/
|
305
|
+
- spec/rest_spec_helper.rb
|
306
|
+
- spec/wizard_spec_helper.rb
|
310
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
|
311
323
|
- spec/rhc/commands/setup_spec.rb
|
312
324
|
- spec/rhc/commands/tail_spec.rb
|
313
|
-
- spec/rhc/commands/
|
314
|
-
- spec/rhc/commands/alias_spec.rb
|
315
|
-
- spec/rhc/commands/account_spec.rb
|
316
|
-
- spec/rhc/commands/domain_spec.rb
|
325
|
+
- spec/rhc/commands/port_forward_spec.rb
|
317
326
|
- spec/rhc/commands/app_spec.rb
|
318
|
-
- spec/rhc/commands/
|
319
|
-
- spec/rhc/commands/cartridge_spec.rb
|
327
|
+
- spec/rhc/commands/domain_spec.rb
|
320
328
|
- spec/rhc/commands/sshkey_spec.rb
|
329
|
+
- spec/rhc/commands/threaddump_spec.rb
|
321
330
|
- spec/rhc/commands/server_spec.rb
|
331
|
+
- spec/rhc/commands/logout_spec.rb
|
332
|
+
- spec/rhc/commands/alias_spec.rb
|
322
333
|
- spec/rhc/commands/authorization_spec.rb
|
323
|
-
- spec/rhc/commands/
|
324
|
-
- spec/rhc/commands/
|
325
|
-
- spec/rhc/commands/
|
334
|
+
- spec/rhc/commands/account_spec.rb
|
335
|
+
- spec/rhc/commands/cartridge_spec.rb
|
336
|
+
- spec/rhc/commands/snapshot_spec.rb
|
326
337
|
- spec/rhc/commands/git_clone_spec.rb
|
327
|
-
- spec/rhc/
|
338
|
+
- spec/rhc/commands/apps_spec.rb
|
328
339
|
- spec/rhc/json_spec.rb
|
329
|
-
- spec/rhc/
|
330
|
-
- spec/rhc/helpers_spec.rb
|
331
|
-
- spec/rhc/rest_spec.rb
|
332
|
-
- spec/rhc/context_spec.rb
|
333
|
-
- spec/rhc/assets/cert_key_rsa
|
334
|
-
- spec/rhc/assets/foo.txt
|
335
|
-
- spec/rhc/assets/empty.txt
|
336
|
-
- spec/rhc/assets/cert.crt
|
337
|
-
- spec/rhc/assets/targz_corrupted.tar.gz
|
338
|
-
- spec/rhc/assets/targz_sample.tar.gz
|
339
|
-
- spec/rhc/rest_client_spec.rb
|
340
|
-
- spec/rhc/cli_spec.rb
|
340
|
+
- spec/rhc/wizard_spec.rb
|
341
341
|
- spec/rhc/rest_application_spec.rb
|
342
|
-
- spec/rhc/command_spec.rb
|
343
|
-
- spec/rest_spec_helper.rb
|
344
342
|
- spec/spec_helper.rb
|
345
343
|
- spec/coverage_helper.rb
|
346
|
-
- spec/wizard_spec_helper.rb
|
347
|
-
- spec/keys/example_private.pem
|
348
344
|
- spec/keys/server.pem
|
349
345
|
- spec/keys/example.pem
|
346
|
+
- spec/keys/example_private.pem
|
347
|
+
- features/application.feature
|
350
348
|
- features/client.feature
|
351
|
-
- features/
|
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
|
354
|
+
- features/cartridge.feature
|
352
355
|
- features/README.md
|
353
|
-
- features/geared_application.feature
|
354
356
|
- features/support/before_hooks.rb
|
355
|
-
- features/support/key2.pub
|
356
|
-
- features/support/assumptions.rb
|
357
357
|
- features/support/key1.pub
|
358
|
+
- features/support/key2.pub
|
358
359
|
- features/support/key1
|
359
|
-
- features/support/
|
360
|
+
- features/support/key2
|
361
|
+
- features/support/assumptions.rb
|
360
362
|
- features/support/platform_support.rb
|
361
363
|
- features/support/key3.pub
|
362
|
-
- features/support/
|
363
|
-
- features/
|
364
|
+
- 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
|
364
371
|
- features/lib/rhc_helper/api.rb
|
372
|
+
- features/lib/rhc_helper/domain.rb
|
373
|
+
- features/lib/rhc_helper/cartridge.rb
|
365
374
|
- features/lib/rhc_helper/commandify.rb
|
366
375
|
- features/lib/rhc_helper/persistable.rb
|
367
|
-
- features/lib/rhc_helper/loggable.rb
|
368
|
-
- features/lib/rhc_helper/domain.rb
|
369
376
|
- features/lib/rhc_helper/runnable.rb
|
377
|
+
- features/lib/rhc_helper/sshkey.rb
|
378
|
+
- features/lib/rhc_helper/loggable.rb
|
370
379
|
- features/lib/rhc_helper/app.rb
|
371
|
-
- features/lib/rhc_helper/httpify.rb
|
372
|
-
- features/lib/rhc_helper/cartridge.rb
|
373
380
|
- features/lib/rhc_helper.rb
|
374
|
-
- features/sshkey.feature
|
375
381
|
- features/domain.feature
|
376
|
-
- features/cartridge.feature
|
377
|
-
- features/scaled_application.feature
|
378
|
-
- features/step_definitions/cartridge_steps.rb
|
379
|
-
- features/step_definitions/sshkey_steps.rb
|
380
|
-
- features/step_definitions/application_steps.rb
|
381
|
-
- features/step_definitions/client_steps.rb
|
382
|
-
- features/step_definitions/domain_steps.rb
|
383
|
-
- features/application.feature
|
384
|
-
- features/multiple_cartridge.feature
|
385
382
|
- bin/rhc
|
386
383
|
homepage: https://github.com/openshift/rhc
|
387
384
|
licenses: []
|
388
|
-
post_install_message: ! '===========================================================================
|
389
|
-
|
390
|
-
|
391
|
-
If this is your first time installing the RHC tools, please run ''rhc setup''
|
392
385
|
|
393
|
-
|
394
|
-
===========================================================================
|
386
|
+
post_install_message: |-
|
387
|
+
===========================================================================
|
388
|
+
|
389
|
+
If this is your first time installing the RHC tools, please run 'rhc setup'
|
390
|
+
|
391
|
+
===========================================================================
|
395
392
|
rdoc_options: []
|
396
|
-
|
393
|
+
|
394
|
+
require_paths:
|
397
395
|
- lib
|
398
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
396
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
399
397
|
none: false
|
400
|
-
requirements:
|
401
|
-
- -
|
402
|
-
- !ruby/object:Gem::Version
|
403
|
-
|
404
|
-
|
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
|
405
406
|
none: false
|
406
|
-
requirements:
|
407
|
-
- -
|
408
|
-
- !ruby/object:Gem::Version
|
409
|
-
|
407
|
+
requirements:
|
408
|
+
- - ">="
|
409
|
+
- !ruby/object:Gem::Version
|
410
|
+
hash: 3
|
411
|
+
segments:
|
412
|
+
- 0
|
413
|
+
version: "0"
|
410
414
|
requirements: []
|
415
|
+
|
411
416
|
rubyforge_project:
|
412
|
-
rubygems_version: 1.8.
|
417
|
+
rubygems_version: 1.8.16
|
413
418
|
signing_key:
|
414
419
|
specification_version: 3
|
415
420
|
summary: OpenShift Client Tools
|
416
|
-
test_files:
|
417
|
-
- spec/
|
418
|
-
- spec/
|
421
|
+
test_files:
|
422
|
+
- spec/rest_spec_helper.rb
|
423
|
+
- spec/wizard_spec_helper.rb
|
419
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
|
420
440
|
- spec/rhc/commands/setup_spec.rb
|
421
441
|
- spec/rhc/commands/tail_spec.rb
|
422
|
-
- spec/rhc/commands/
|
423
|
-
- spec/rhc/commands/alias_spec.rb
|
424
|
-
- spec/rhc/commands/account_spec.rb
|
425
|
-
- spec/rhc/commands/domain_spec.rb
|
442
|
+
- spec/rhc/commands/port_forward_spec.rb
|
426
443
|
- spec/rhc/commands/app_spec.rb
|
427
|
-
- spec/rhc/commands/
|
428
|
-
- spec/rhc/commands/cartridge_spec.rb
|
444
|
+
- spec/rhc/commands/domain_spec.rb
|
429
445
|
- spec/rhc/commands/sshkey_spec.rb
|
446
|
+
- spec/rhc/commands/threaddump_spec.rb
|
430
447
|
- spec/rhc/commands/server_spec.rb
|
448
|
+
- spec/rhc/commands/logout_spec.rb
|
449
|
+
- spec/rhc/commands/alias_spec.rb
|
431
450
|
- spec/rhc/commands/authorization_spec.rb
|
432
|
-
- spec/rhc/commands/
|
433
|
-
- spec/rhc/commands/
|
434
|
-
- spec/rhc/commands/
|
451
|
+
- spec/rhc/commands/account_spec.rb
|
452
|
+
- spec/rhc/commands/cartridge_spec.rb
|
453
|
+
- spec/rhc/commands/snapshot_spec.rb
|
435
454
|
- spec/rhc/commands/git_clone_spec.rb
|
436
|
-
- spec/rhc/
|
455
|
+
- spec/rhc/commands/apps_spec.rb
|
437
456
|
- spec/rhc/json_spec.rb
|
438
|
-
- spec/rhc/
|
439
|
-
- spec/rhc/helpers_spec.rb
|
440
|
-
- spec/rhc/rest_spec.rb
|
441
|
-
- spec/rhc/context_spec.rb
|
442
|
-
- spec/rhc/assets/cert_key_rsa
|
443
|
-
- spec/rhc/assets/foo.txt
|
444
|
-
- spec/rhc/assets/empty.txt
|
445
|
-
- spec/rhc/assets/cert.crt
|
446
|
-
- spec/rhc/assets/targz_corrupted.tar.gz
|
447
|
-
- spec/rhc/assets/targz_sample.tar.gz
|
448
|
-
- spec/rhc/rest_client_spec.rb
|
449
|
-
- spec/rhc/cli_spec.rb
|
457
|
+
- spec/rhc/wizard_spec.rb
|
450
458
|
- spec/rhc/rest_application_spec.rb
|
451
|
-
- spec/rhc/command_spec.rb
|
452
|
-
- spec/rest_spec_helper.rb
|
453
459
|
- spec/spec_helper.rb
|
454
460
|
- spec/coverage_helper.rb
|
455
|
-
- spec/wizard_spec_helper.rb
|
456
|
-
- spec/keys/example_private.pem
|
457
461
|
- spec/keys/server.pem
|
458
462
|
- spec/keys/example.pem
|
463
|
+
- spec/keys/example_private.pem
|
464
|
+
- features/application.feature
|
459
465
|
- features/client.feature
|
460
|
-
- features/
|
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
|
471
|
+
- features/cartridge.feature
|
461
472
|
- features/README.md
|
462
|
-
- features/geared_application.feature
|
463
473
|
- features/support/before_hooks.rb
|
464
|
-
- features/support/key2.pub
|
465
|
-
- features/support/assumptions.rb
|
466
474
|
- features/support/key1.pub
|
475
|
+
- features/support/key2.pub
|
467
476
|
- features/support/key1
|
468
|
-
- features/support/
|
477
|
+
- features/support/key2
|
478
|
+
- features/support/assumptions.rb
|
469
479
|
- features/support/platform_support.rb
|
470
480
|
- features/support/key3.pub
|
471
|
-
- features/support/
|
472
|
-
- features/
|
481
|
+
- 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
|
473
488
|
- features/lib/rhc_helper/api.rb
|
489
|
+
- features/lib/rhc_helper/domain.rb
|
490
|
+
- features/lib/rhc_helper/cartridge.rb
|
474
491
|
- features/lib/rhc_helper/commandify.rb
|
475
492
|
- features/lib/rhc_helper/persistable.rb
|
476
|
-
- features/lib/rhc_helper/loggable.rb
|
477
|
-
- features/lib/rhc_helper/domain.rb
|
478
493
|
- features/lib/rhc_helper/runnable.rb
|
494
|
+
- features/lib/rhc_helper/sshkey.rb
|
495
|
+
- features/lib/rhc_helper/loggable.rb
|
479
496
|
- features/lib/rhc_helper/app.rb
|
480
|
-
- features/lib/rhc_helper/httpify.rb
|
481
|
-
- features/lib/rhc_helper/cartridge.rb
|
482
497
|
- features/lib/rhc_helper.rb
|
483
|
-
- features/sshkey.feature
|
484
498
|
- features/domain.feature
|
485
|
-
- features/cartridge.feature
|
486
|
-
- features/scaled_application.feature
|
487
|
-
- features/step_definitions/cartridge_steps.rb
|
488
|
-
- features/step_definitions/sshkey_steps.rb
|
489
|
-
- features/step_definitions/application_steps.rb
|
490
|
-
- features/step_definitions/client_steps.rb
|
491
|
-
- features/step_definitions/domain_steps.rb
|
492
|
-
- features/application.feature
|
493
|
-
- features/multiple_cartridge.feature
|