rhc 1.10.7 → 1.11.4

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.
@@ -102,11 +102,36 @@ describe RHC::Commands::Ssh do
102
102
  describe 'app ssh custom ssh' do
103
103
  let(:arguments) { ['app', 'ssh', 'app1', '--ssh', 'path_to_ssh'] }
104
104
 
105
- context 'when run' do
105
+ context 'when custom ssh does not exist' do
106
+ before(:each) do
107
+ @domain = rest_client.add_domain("mockdomain")
108
+ @domain.add_application("app1", "mock_type")
109
+ RHC::Commands::Ssh.any_instance.should_not_receive(:has_ssh?)
110
+ File.should_receive(:exist?).with("path_to_ssh").once.and_return(false)
111
+ end
112
+ it { run_output.should match("SSH executable 'path_to_ssh' does not exist.") }
113
+ it { expect { run }.to exit_with_code(1) }
114
+ end
115
+
116
+ context 'when custom ssh is not executable' do
117
+ before(:each) do
118
+ @domain = rest_client.add_domain("mockdomain")
119
+ @domain.add_application("app1", "mock_type")
120
+ RHC::Commands::Ssh.any_instance.should_not_receive(:has_ssh?)
121
+ File.should_receive(:exist?).with("path_to_ssh").once.and_return(true)
122
+ File.should_receive(:executable?).with("path_to_ssh").once.and_return(false)
123
+ end
124
+ it { run_output.should match("SSH executable 'path_to_ssh' is not executable.") }
125
+ it { expect { run }.to exit_with_code(1) }
126
+ end
127
+
128
+ context 'when custom ssh exists' do
106
129
  before(:each) do
107
130
  @domain = rest_client.add_domain("mockdomain")
108
131
  @domain.add_application("app1", "mock_type")
109
132
  RHC::Commands::Ssh.any_instance.should_not_receive(:has_ssh?)
133
+ File.should_receive(:exist?).with("path_to_ssh").once.and_return(true)
134
+ File.should_receive(:executable?).with("path_to_ssh").once.and_return(true)
110
135
  Kernel.should_receive(:exec).with("path_to_ssh", "fakeuuidfortestsapp1@127.0.0.1").once.times.and_return(0)
111
136
  end
112
137
  it { run_output.should match("Connecting to fakeuuidfortestsapp") }
@@ -52,7 +52,7 @@ describe RHC::Commands::Threaddump do
52
52
  :server_identity => 'mock_server_identity',
53
53
  :links => mock_response_links(mock_app_links('mock_domain_1','mock_app_0')),
54
54
  },
55
- :messages => [{:text => 'Application test thread dump complete.: Success'}]
55
+ :messages => [{:text => 'Application test thread dump complete.: Success', :severity => 'result'}]
56
56
  }.to_json,
57
57
  :status => 200
58
58
  })
@@ -280,20 +280,32 @@ module RHC
280
280
  end
281
281
 
282
282
  context "with result messages" do
283
- let(:object) {{
283
+ let(:object) do
284
+ {
284
285
  :login => 'test_user',
285
286
  :links => { :foo => 'bar' }
286
- }}
287
- let (:messages) {[
287
+ }
288
+ end
289
+ let(:messages) do
290
+ [
288
291
  {:field => nil, :severity => 'info', :text => 'Nil field'},
289
292
  {:field => 'result', :severity => 'info', :text => 'Result field'}, # < 1.5 API
290
293
  {:field => 'base', :severity => 'result', :text => 'Result severity'}, # >= 1.5 API
291
- {:field => 'base', :severity => 'info', :text => 'Non-result message' }
292
- ]}
294
+ {:field => 'base', :severity => 'info', :text => 'Non-result message' },
295
+ {:field => 'result', :severity => 'debug', :text => 'Debug message' },
296
+ ]
297
+ end
298
+ let(:response) do
299
+ { :type => 'user', :data => object, :messages => messages }.to_json
300
+ end
293
301
 
294
302
  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']
303
+ subject.send(:parse_response, response).messages.should == ['Result field', 'Result severity']
304
+ end
305
+
306
+ it "includes debug info when debug true" do
307
+ subject.stub(:debug?).and_return(true)
308
+ subject.send(:parse_response, response).messages.should == ['Result field', 'Result severity', 'Debug message']
297
309
  end
298
310
  end
299
311
  end
@@ -72,6 +72,7 @@ describe RHC::Wizard do
72
72
  ssh.should_receive(:close)
73
73
  ssh
74
74
  end
75
+ let(:interrupt){ Interrupt.new('interrupted') }
75
76
 
76
77
  it "should not attempt an SSH connection" do
77
78
  subject.should_receive(:ssh_key_uploaded?).and_return(true)
@@ -83,13 +84,20 @@ describe RHC::Wizard do
83
84
  subject.should_receive(:applications).and_return([app])
84
85
  Net::SSH.should_receive(:start).with(app.host, app.uuid, {:timeout => 60}).and_return(ssh)
85
86
  subject.send(:test_ssh_connectivity).should be_true
86
- end
87
+ end
87
88
  it "should handle a failed connection" do
88
89
  subject.should_receive(:ssh_key_uploaded?).and_return(true)
89
90
  subject.should_receive(:applications).and_return([app])
90
91
  Net::SSH.should_receive(:start).and_raise(StandardError.new('an_error'))
91
92
  expect{ subject.send(:test_ssh_connectivity) }.to raise_error(RuntimeError, /An SSH connection could not be established to foo.com/)
92
93
  end
94
+ it "should handle an interrupted connection" do
95
+ subject.should_receive(:ssh_key_uploaded?).and_return(true)
96
+ subject.should_receive(:applications).and_return([app])
97
+ subject.should_receive(:debug_error).with(interrupt)
98
+ Net::SSH.should_receive(:start).and_raise(interrupt)
99
+ expect{ subject.send(:test_ssh_connectivity) }.to raise_error(RuntimeError, /Connection attempt to foo.com was interrupted/)
100
+ end
93
101
  end
94
102
 
95
103
  describe "#login_stage" do
metadata CHANGED
@@ -1,461 +1,492 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rhc
3
- version: !ruby/object:Gem::Version
4
- version: 1.10.7
3
+ version: !ruby/object:Gem::Version
4
+ hash: 51
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 11
9
+ - 4
10
+ version: 1.11.4
5
11
  platform: ruby
6
- authors:
12
+ authors:
7
13
  - Red Hat
8
14
  autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
- date: 2013-07-02 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2013-07-17 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
14
21
  name: net-ssh
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '>='
18
- - !ruby/object:Gem::Version
19
- version: 2.0.11
20
- type: :runtime
21
22
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '>='
25
- - !ruby/object:Gem::Version
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
26
33
  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'
34
34
  type: :runtime
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: archive-tar-minitar
35
38
  prerelease: false
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'
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"
48
48
  type: :runtime
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: commander
49
52
  prerelease: false
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:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 1.6.11
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"
62
63
  type: :runtime
64
+ version_requirements: *id003
65
+ - !ruby/object:Gem::Dependency
66
+ name: highline
63
67
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
68
+ requirement: &id004 !ruby/object:Gem::Requirement
69
+ none: false
70
+ requirements:
66
71
  - - ~>
67
- - !ruby/object:Gem::Version
72
+ - !ruby/object:Gem::Version
73
+ hash: 25
74
+ segments:
75
+ - 1
76
+ - 6
77
+ - 11
68
78
  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'
76
79
  type: :runtime
80
+ version_requirements: *id004
81
+ - !ruby/object:Gem::Dependency
82
+ name: httpclient
77
83
  prerelease: false
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'
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"
90
94
  type: :runtime
95
+ version_requirements: *id005
96
+ - !ruby/object:Gem::Dependency
97
+ name: open4
91
98
  prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - '>='
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
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"
108
+ type: :runtime
109
+ version_requirements: *id006
110
+ - !ruby/object:Gem::Dependency
98
111
  name: rake
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - '>='
102
- - !ruby/object:Gem::Version
103
- version: 0.8.7
104
- type: :development
105
112
  prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - '>='
109
- - !ruby/object:Gem::Version
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
110
123
  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'
118
124
  type: :development
125
+ version_requirements: *id007
126
+ - !ruby/object:Gem::Dependency
127
+ name: webmock
119
128
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
129
+ requirement: &id008 !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
122
132
  - - <
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
131
- version: 2.8.0
133
+ - !ruby/object:Gem::Version
134
+ hash: 23
135
+ segments:
136
+ - 1
137
+ - 12
138
+ version: "1.12"
132
139
  type: :development
140
+ version_requirements: *id008
141
+ - !ruby/object:Gem::Dependency
142
+ name: rspec
133
143
  prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - '>='
137
- - !ruby/object:Gem::Version
144
+ requirement: &id009 !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ hash: 47
150
+ segments:
151
+ - 2
152
+ - 8
153
+ - 0
138
154
  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'
146
155
  type: :development
156
+ version_requirements: *id009
157
+ - !ruby/object:Gem::Dependency
158
+ name: fakefs
147
159
  prerelease: false
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'
160
+ requirement: &id010 !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ hash: 3
166
+ segments:
167
+ - 0
168
+ - 4
169
+ version: "0.4"
160
170
  type: :development
171
+ version_requirements: *id010
172
+ - !ruby/object:Gem::Dependency
173
+ name: thor
161
174
  prerelease: false
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'
175
+ requirement: &id011 !ruby/object:Gem::Requirement
176
+ none: false
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ hash: 3
181
+ segments:
182
+ - 0
183
+ version: "0"
174
184
  type: :development
185
+ version_requirements: *id011
186
+ - !ruby/object:Gem::Dependency
187
+ name: cucumber
175
188
  prerelease: false
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:
185
- - - ~>
186
- - !ruby/object:Gem::Version
187
- version: '3.0'
189
+ requirement: &id012 !ruby/object:Gem::Requirement
190
+ none: false
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ hash: 3
195
+ segments:
196
+ - 0
197
+ version: "0"
188
198
  type: :development
199
+ version_requirements: *id012
200
+ - !ruby/object:Gem::Dependency
201
+ name: activesupport
189
202
  prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
203
+ requirement: &id013 !ruby/object:Gem::Requirement
204
+ none: false
205
+ requirements:
192
206
  - - ~>
193
- - !ruby/object:Gem::Version
194
- version: '3.0'
195
- description: The client tools for the OpenShift platform that allow for application
196
- management.
207
+ - !ruby/object:Gem::Version
208
+ hash: 7
209
+ segments:
210
+ - 3
211
+ - 0
212
+ version: "3.0"
213
+ type: :development
214
+ version_requirements: *id013
215
+ description: The client tools for the OpenShift platform that allow for application management.
197
216
  email: dev@lists.openshift.redhat.com
198
- executables:
217
+ executables:
199
218
  - rhc
200
219
  extensions: []
220
+
201
221
  extra_rdoc_files: []
202
- files:
203
- - lib/rhc.rb
222
+
223
+ files:
224
+ - lib/rhc/command_runner.rb
225
+ - lib/rhc/version.rb
226
+ - lib/rhc/cartridge_helpers.rb
227
+ - lib/rhc/auth/basic.rb
228
+ - lib/rhc/auth/token_store.rb
229
+ - lib/rhc/auth/token.rb
230
+ - lib/rhc/output_helpers.rb
231
+ - lib/rhc/wizard.rb
232
+ - lib/rhc/help_formatter.rb
233
+ - lib/rhc/commands.rb
234
+ - lib/rhc/context_helper.rb
235
+ - lib/rhc/rest.rb
236
+ - lib/rhc/ssh_helpers.rb
237
+ - lib/rhc/helpers.rb
238
+ - lib/rhc/coverage_helper.rb
239
+ - lib/rhc/json.rb
240
+ - lib/rhc/git_helpers.rb
241
+ - lib/rhc/auth.rb
242
+ - lib/rhc/exceptions.rb
243
+ - lib/rhc/autocomplete.rb
244
+ - lib/rhc/config.rb
245
+ - lib/rhc/commands/setup.rb
246
+ - lib/rhc/commands/account.rb
247
+ - lib/rhc/commands/port_forward.rb
204
248
  - lib/rhc/commands/tail.rb
205
- - lib/rhc/commands/apps.rb
249
+ - lib/rhc/commands/alias.rb
250
+ - lib/rhc/commands/git_clone.rb
251
+ - lib/rhc/commands/ssh.rb
206
252
  - lib/rhc/commands/domain.rb
207
- - lib/rhc/commands/port_forward.rb
208
- - lib/rhc/commands/setup.rb
209
253
  - lib/rhc/commands/cartridge.rb
210
254
  - lib/rhc/commands/authorization.rb
211
- - lib/rhc/commands/threaddump.rb
212
- - lib/rhc/commands/alias.rb
213
255
  - lib/rhc/commands/sshkey.rb
256
+ - lib/rhc/commands/snapshot.rb
257
+ - lib/rhc/commands/server.rb
214
258
  - lib/rhc/commands/app.rb
215
259
  - lib/rhc/commands/logout.rb
216
- - lib/rhc/commands/server.rb
217
- - lib/rhc/commands/snapshot.rb
218
- - lib/rhc/commands/git_clone.rb
260
+ - lib/rhc/commands/apps.rb
261
+ - lib/rhc/commands/threaddump.rb
219
262
  - lib/rhc/commands/base.rb
220
- - lib/rhc/commands/ssh.rb
221
- - lib/rhc/commands/account.rb
222
- - lib/rhc/rest.rb
223
- - lib/rhc/rest/domain.rb
224
- - lib/rhc/rest/application.rb
225
- - lib/rhc/rest/cartridge.rb
226
- - lib/rhc/rest/authorization.rb
263
+ - lib/rhc/tar_gz.rb
264
+ - lib/rhc/highline_extensions.rb
265
+ - lib/rhc/cli.rb
266
+ - lib/rhc/core_ext.rb
267
+ - lib/rhc/vendor/parseconfig.rb
268
+ - lib/rhc/vendor/zliby.rb
269
+ - lib/rhc/vendor/okjson.rb
270
+ - lib/rhc/vendor/sshkey.rb
271
+ - lib/rhc/rest/user.rb
272
+ - lib/rhc/rest/attributes.rb
227
273
  - lib/rhc/rest/api.rb
228
274
  - lib/rhc/rest/alias.rb
275
+ - lib/rhc/rest/domain.rb
229
276
  - lib/rhc/rest/key.rb
230
- - lib/rhc/rest/mock.rb
277
+ - lib/rhc/rest/cartridge.rb
278
+ - lib/rhc/rest/authorization.rb
231
279
  - lib/rhc/rest/gear_group.rb
232
- - lib/rhc/rest/attributes.rb
233
- - lib/rhc/rest/user.rb
234
- - lib/rhc/rest/base.rb
280
+ - lib/rhc/rest/mock.rb
235
281
  - 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
282
+ - lib/rhc/rest/application.rb
283
+ - lib/rhc/rest/base.rb
284
+ - lib/rhc.rb
264
285
  - lib/rhc/autocomplete_templates/bash.erb
265
- - lib/rhc/usage_templates/help.erb
286
+ - lib/rhc/usage_templates/command_syntax_help.erb
266
287
  - lib/rhc/usage_templates/missing_help.erb
267
- - lib/rhc/usage_templates/options_help.erb
268
288
  - lib/rhc/usage_templates/command_help.erb
269
- - lib/rhc/usage_templates/command_syntax_help.erb
289
+ - lib/rhc/usage_templates/options_help.erb
290
+ - lib/rhc/usage_templates/help.erb
270
291
  - conf/express.conf
271
292
  - autocomplete/rhc_bash
272
293
  - LICENSE
273
294
  - COPYRIGHT
274
295
  - README.md
275
296
  - Rakefile
276
- - spec/spec_helper.rb
277
- - spec/wizard_spec_helper.rb
278
297
  - 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
284
- - spec/rhc/commands/port_forward_spec.rb
285
- - spec/rhc/commands/app_spec.rb
286
- - spec/rhc/commands/setup_spec.rb
287
- - spec/rhc/commands/threaddump_spec.rb
288
- - spec/rhc/commands/alias_spec.rb
289
- - spec/rhc/commands/account_spec.rb
290
- - spec/rhc/commands/tail_spec.rb
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
298
+ - spec/wizard_spec_helper.rb
297
299
  - spec/rhc/targz_spec.rb
298
- - spec/rhc/highline_extensions_spec.rb
299
- - spec/rhc/json_spec.rb
300
- - spec/rhc/context_spec.rb
301
- - spec/rhc/rest_application_spec.rb
300
+ - spec/rhc/config_spec.rb
302
301
  - spec/rhc/helpers_spec.rb
303
- - spec/rhc/wizard_spec.rb
304
302
  - spec/rhc/rest_spec.rb
305
- - spec/rhc/command_spec.rb
306
303
  - spec/rhc/auth_spec.rb
307
- - spec/rhc/config_spec.rb
308
304
  - spec/rhc/rest_client_spec.rb
309
- - spec/rhc/cli_spec.rb
305
+ - spec/rhc/assets/empty.txt
310
306
  - spec/rhc/assets/cert_key_rsa
311
- - spec/rhc/assets/foo.txt
312
307
  - spec/rhc/assets/targz_sample.tar.gz
313
- - spec/rhc/assets/empty.txt
314
- - spec/rhc/assets/cert.crt
315
308
  - spec/rhc/assets/targz_corrupted.tar.gz
309
+ - spec/rhc/assets/cert.crt
310
+ - spec/rhc/assets/foo.txt
311
+ - spec/rhc/context_spec.rb
312
+ - spec/rhc/highline_extensions_spec.rb
313
+ - spec/rhc/command_spec.rb
314
+ - spec/rhc/cli_spec.rb
315
+ - spec/rhc/commands/setup_spec.rb
316
+ - spec/rhc/commands/tail_spec.rb
317
+ - spec/rhc/commands/port_forward_spec.rb
318
+ - spec/rhc/commands/app_spec.rb
319
+ - spec/rhc/commands/domain_spec.rb
320
+ - spec/rhc/commands/sshkey_spec.rb
321
+ - spec/rhc/commands/threaddump_spec.rb
322
+ - spec/rhc/commands/server_spec.rb
323
+ - spec/rhc/commands/ssh_spec.rb
324
+ - spec/rhc/commands/logout_spec.rb
325
+ - spec/rhc/commands/alias_spec.rb
326
+ - spec/rhc/commands/authorization_spec.rb
327
+ - spec/rhc/commands/account_spec.rb
328
+ - spec/rhc/commands/cartridge_spec.rb
329
+ - spec/rhc/commands/snapshot_spec.rb
330
+ - spec/rhc/commands/git_clone_spec.rb
331
+ - spec/rhc/commands/apps_spec.rb
332
+ - spec/rhc/json_spec.rb
333
+ - spec/rhc/wizard_spec.rb
334
+ - spec/rhc/rest_application_spec.rb
335
+ - spec/spec_helper.rb
336
+ - spec/coverage_helper.rb
316
337
  - spec/keys/server.pem
317
- - spec/keys/example_private.pem
318
338
  - spec/keys/example.pem
319
- - features/scaled_application.feature
339
+ - spec/keys/example_private.pem
340
+ - features/application.feature
341
+ - features/client.feature
342
+ - features/step_definitions/application_steps.rb
343
+ - features/step_definitions/client_steps.rb
344
+ - features/step_definitions/cartridge_steps.rb
345
+ - features/step_definitions/domain_steps.rb
346
+ - features/step_definitions/sshkey_steps.rb
320
347
  - features/cartridge.feature
348
+ - features/README.md
321
349
  - features/support/before_hooks.rb
322
- - features/support/assumptions.rb
323
- - features/support/key2.pub
324
350
  - features/support/key1.pub
351
+ - features/support/key2.pub
325
352
  - features/support/key1
353
+ - features/support/key2
354
+ - features/support/assumptions.rb
355
+ - features/support/platform_support.rb
326
356
  - features/support/key3.pub
327
357
  - features/support/env.rb
328
- - features/support/platform_support.rb
329
- - features/support/key2
330
- - features/lib/rhc_helper/loggable.rb
358
+ - features/sshkey.feature
359
+ - features/multiple_cartridge.feature
360
+ - features/scaled_application.feature
361
+ - features/verify.feature
362
+ - features/geared_application.feature
363
+ - features/lib/rhc_helper/httpify.rb
364
+ - features/lib/rhc_helper/api.rb
331
365
  - features/lib/rhc_helper/domain.rb
332
366
  - features/lib/rhc_helper/cartridge.rb
333
367
  - features/lib/rhc_helper/commandify.rb
334
- - features/lib/rhc_helper/api.rb
335
- - features/lib/rhc_helper/sshkey.rb
336
- - features/lib/rhc_helper/app.rb
337
368
  - features/lib/rhc_helper/persistable.rb
338
369
  - features/lib/rhc_helper/runnable.rb
339
- - features/lib/rhc_helper/httpify.rb
370
+ - features/lib/rhc_helper/sshkey.rb
371
+ - features/lib/rhc_helper/loggable.rb
372
+ - features/lib/rhc_helper/app.rb
340
373
  - 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
346
374
  - 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
354
375
  - bin/rhc
355
376
  homepage: https://github.com/openshift/rhc
356
377
  licenses: []
357
- metadata: {}
378
+
358
379
  post_install_message: |-
359
380
  ===========================================================================
360
-
381
+
361
382
  If this is your first time installing the RHC tools, please run 'rhc setup'
362
-
383
+
363
384
  ===========================================================================
364
385
  rdoc_options: []
365
- require_paths:
386
+
387
+ require_paths:
366
388
  - lib
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'
389
+ required_ruby_version: !ruby/object:Gem::Requirement
390
+ none: false
391
+ requirements:
392
+ - - ">="
393
+ - !ruby/object:Gem::Version
394
+ hash: 3
395
+ segments:
396
+ - 0
397
+ version: "0"
398
+ required_rubygems_version: !ruby/object:Gem::Requirement
399
+ none: false
400
+ requirements:
401
+ - - ">="
402
+ - !ruby/object:Gem::Version
403
+ hash: 3
404
+ segments:
405
+ - 0
406
+ version: "0"
377
407
  requirements: []
408
+
378
409
  rubyforge_project:
379
- rubygems_version: 2.0.3
410
+ rubygems_version: 1.8.16
380
411
  signing_key:
381
- specification_version: 4
412
+ specification_version: 3
382
413
  summary: OpenShift Client Tools
383
- test_files:
384
- - spec/spec_helper.rb
385
- - spec/wizard_spec_helper.rb
414
+ test_files:
386
415
  - 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
392
- - spec/rhc/commands/port_forward_spec.rb
393
- - spec/rhc/commands/app_spec.rb
394
- - spec/rhc/commands/setup_spec.rb
395
- - spec/rhc/commands/threaddump_spec.rb
396
- - spec/rhc/commands/alias_spec.rb
397
- - spec/rhc/commands/account_spec.rb
398
- - spec/rhc/commands/tail_spec.rb
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
416
+ - spec/wizard_spec_helper.rb
405
417
  - spec/rhc/targz_spec.rb
406
- - spec/rhc/highline_extensions_spec.rb
407
- - spec/rhc/json_spec.rb
408
- - spec/rhc/context_spec.rb
409
- - spec/rhc/rest_application_spec.rb
418
+ - spec/rhc/config_spec.rb
410
419
  - spec/rhc/helpers_spec.rb
411
- - spec/rhc/wizard_spec.rb
412
420
  - spec/rhc/rest_spec.rb
413
- - spec/rhc/command_spec.rb
414
421
  - spec/rhc/auth_spec.rb
415
- - spec/rhc/config_spec.rb
416
422
  - spec/rhc/rest_client_spec.rb
417
- - spec/rhc/cli_spec.rb
423
+ - spec/rhc/assets/empty.txt
418
424
  - spec/rhc/assets/cert_key_rsa
419
- - spec/rhc/assets/foo.txt
420
425
  - spec/rhc/assets/targz_sample.tar.gz
421
- - spec/rhc/assets/empty.txt
422
- - spec/rhc/assets/cert.crt
423
426
  - spec/rhc/assets/targz_corrupted.tar.gz
427
+ - spec/rhc/assets/cert.crt
428
+ - spec/rhc/assets/foo.txt
429
+ - spec/rhc/context_spec.rb
430
+ - spec/rhc/highline_extensions_spec.rb
431
+ - spec/rhc/command_spec.rb
432
+ - spec/rhc/cli_spec.rb
433
+ - spec/rhc/commands/setup_spec.rb
434
+ - spec/rhc/commands/tail_spec.rb
435
+ - spec/rhc/commands/port_forward_spec.rb
436
+ - spec/rhc/commands/app_spec.rb
437
+ - spec/rhc/commands/domain_spec.rb
438
+ - spec/rhc/commands/sshkey_spec.rb
439
+ - spec/rhc/commands/threaddump_spec.rb
440
+ - spec/rhc/commands/server_spec.rb
441
+ - spec/rhc/commands/ssh_spec.rb
442
+ - spec/rhc/commands/logout_spec.rb
443
+ - spec/rhc/commands/alias_spec.rb
444
+ - spec/rhc/commands/authorization_spec.rb
445
+ - spec/rhc/commands/account_spec.rb
446
+ - spec/rhc/commands/cartridge_spec.rb
447
+ - spec/rhc/commands/snapshot_spec.rb
448
+ - spec/rhc/commands/git_clone_spec.rb
449
+ - spec/rhc/commands/apps_spec.rb
450
+ - spec/rhc/json_spec.rb
451
+ - spec/rhc/wizard_spec.rb
452
+ - spec/rhc/rest_application_spec.rb
453
+ - spec/spec_helper.rb
454
+ - spec/coverage_helper.rb
424
455
  - spec/keys/server.pem
425
- - spec/keys/example_private.pem
426
456
  - spec/keys/example.pem
427
- - features/scaled_application.feature
457
+ - spec/keys/example_private.pem
458
+ - features/application.feature
459
+ - features/client.feature
460
+ - features/step_definitions/application_steps.rb
461
+ - features/step_definitions/client_steps.rb
462
+ - features/step_definitions/cartridge_steps.rb
463
+ - features/step_definitions/domain_steps.rb
464
+ - features/step_definitions/sshkey_steps.rb
428
465
  - features/cartridge.feature
466
+ - features/README.md
429
467
  - features/support/before_hooks.rb
430
- - features/support/assumptions.rb
431
- - features/support/key2.pub
432
468
  - features/support/key1.pub
469
+ - features/support/key2.pub
433
470
  - features/support/key1
471
+ - features/support/key2
472
+ - features/support/assumptions.rb
473
+ - features/support/platform_support.rb
434
474
  - features/support/key3.pub
435
475
  - features/support/env.rb
436
- - features/support/platform_support.rb
437
- - features/support/key2
438
- - features/lib/rhc_helper/loggable.rb
476
+ - features/sshkey.feature
477
+ - features/multiple_cartridge.feature
478
+ - features/scaled_application.feature
479
+ - features/verify.feature
480
+ - features/geared_application.feature
481
+ - features/lib/rhc_helper/httpify.rb
482
+ - features/lib/rhc_helper/api.rb
439
483
  - features/lib/rhc_helper/domain.rb
440
484
  - features/lib/rhc_helper/cartridge.rb
441
485
  - features/lib/rhc_helper/commandify.rb
442
- - features/lib/rhc_helper/api.rb
443
- - features/lib/rhc_helper/sshkey.rb
444
- - features/lib/rhc_helper/app.rb
445
486
  - features/lib/rhc_helper/persistable.rb
446
487
  - features/lib/rhc_helper/runnable.rb
447
- - features/lib/rhc_helper/httpify.rb
488
+ - features/lib/rhc_helper/sshkey.rb
489
+ - features/lib/rhc_helper/loggable.rb
490
+ - features/lib/rhc_helper/app.rb
448
491
  - 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
454
492
  - 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