rhc 1.14.7 → 1.15.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. data/autocomplete/rhc_bash +260 -124
  2. data/features/core_feature.rb +143 -0
  3. data/features/domains_feature.rb +49 -0
  4. data/features/members_feature.rb +131 -0
  5. data/lib/rhc/auth/token_store.rb +2 -0
  6. data/lib/rhc/command_runner.rb +7 -5
  7. data/lib/rhc/commands.rb +111 -68
  8. data/lib/rhc/commands/account.rb +3 -4
  9. data/lib/rhc/commands/alias.rb +10 -15
  10. data/lib/rhc/commands/app.rb +36 -64
  11. data/lib/rhc/commands/authorization.rb +1 -1
  12. data/lib/rhc/commands/base.rb +13 -8
  13. data/lib/rhc/commands/cartridge.rb +21 -29
  14. data/lib/rhc/commands/domain.rb +96 -47
  15. data/lib/rhc/commands/env.rb +11 -15
  16. data/lib/rhc/commands/git_clone.rb +2 -3
  17. data/lib/rhc/commands/member.rb +148 -0
  18. data/lib/rhc/commands/port_forward.rb +2 -3
  19. data/lib/rhc/commands/setup.rb +8 -8
  20. data/lib/rhc/commands/snapshot.rb +23 -20
  21. data/lib/rhc/commands/ssh.rb +12 -17
  22. data/lib/rhc/commands/tail.rb +2 -3
  23. data/lib/rhc/commands/threaddump.rb +2 -3
  24. data/lib/rhc/config.rb +1 -0
  25. data/lib/rhc/context_helper.rb +94 -19
  26. data/lib/rhc/core_ext.rb +6 -0
  27. data/lib/rhc/coverage_helper.rb +1 -1
  28. data/lib/rhc/exceptions.rb +24 -0
  29. data/lib/rhc/git_helpers.rb +5 -6
  30. data/lib/rhc/helpers.rb +23 -6
  31. data/lib/rhc/highline_extensions.rb +3 -2
  32. data/lib/rhc/output_helpers.rb +9 -6
  33. data/lib/rhc/rest.rb +1 -0
  34. data/lib/rhc/rest/application.rb +10 -4
  35. data/lib/rhc/rest/attributes.rb +4 -0
  36. data/lib/rhc/rest/base.rb +2 -1
  37. data/lib/rhc/rest/cartridge.rb +4 -0
  38. data/lib/rhc/rest/client.rb +41 -25
  39. data/lib/rhc/rest/domain.rb +29 -9
  40. data/lib/rhc/rest/membership.rb +105 -0
  41. data/lib/rhc/rest/mock.rb +45 -12
  42. data/lib/rhc/rest/user.rb +5 -1
  43. data/lib/rhc/ssh_helpers.rb +14 -0
  44. data/lib/rhc/usage_templates/command_syntax_help.erb +2 -0
  45. data/lib/rhc/wizard.rb +3 -3
  46. data/spec/coverage_helper.rb +31 -9
  47. data/spec/direct_execution_helper.rb +256 -0
  48. data/spec/rhc/command_spec.rb +86 -15
  49. data/spec/rhc/commands/account_spec.rb +2 -1
  50. data/spec/rhc/commands/alias_spec.rb +7 -0
  51. data/spec/rhc/commands/app_spec.rb +73 -90
  52. data/spec/rhc/commands/cartridge_spec.rb +61 -59
  53. data/spec/rhc/commands/domain_spec.rb +179 -43
  54. data/spec/rhc/commands/member_spec.rb +228 -0
  55. data/spec/rhc/commands/port_forward_spec.rb +7 -7
  56. data/spec/rhc/commands/snapshot_spec.rb +45 -24
  57. data/spec/rhc/commands/ssh_spec.rb +16 -3
  58. data/spec/rhc/commands/tail_spec.rb +1 -1
  59. data/spec/rhc/helpers_spec.rb +9 -0
  60. data/spec/rhc/rest_client_spec.rb +75 -7
  61. data/spec/rhc/rest_spec.rb +1 -1
  62. metadata +57 -107
  63. data/features/README.md +0 -198
  64. data/features/application.feature +0 -28
  65. data/features/cartridge.feature +0 -48
  66. data/features/client.feature +0 -11
  67. data/features/domain.feature +0 -30
  68. data/features/env.feature +0 -35
  69. data/features/geared_application.feature +0 -8
  70. data/features/lib/rhc_helper.rb +0 -21
  71. data/features/lib/rhc_helper/api.rb +0 -7
  72. data/features/lib/rhc_helper/app.rb +0 -137
  73. data/features/lib/rhc_helper/cartridge.rb +0 -97
  74. data/features/lib/rhc_helper/commandify.rb +0 -251
  75. data/features/lib/rhc_helper/domain.rb +0 -65
  76. data/features/lib/rhc_helper/env.rb +0 -29
  77. data/features/lib/rhc_helper/httpify.rb +0 -186
  78. data/features/lib/rhc_helper/loggable.rb +0 -37
  79. data/features/lib/rhc_helper/persistable.rb +0 -51
  80. data/features/lib/rhc_helper/runnable.rb +0 -55
  81. data/features/lib/rhc_helper/sshkey.rb +0 -33
  82. data/features/multiple_cartridge.feature +0 -19
  83. data/features/scaled_application.feature +0 -48
  84. data/features/sshkey.feature +0 -63
  85. data/features/step_definitions/application_steps.rb +0 -120
  86. data/features/step_definitions/cartridge_steps.rb +0 -95
  87. data/features/step_definitions/client_steps.rb +0 -41
  88. data/features/step_definitions/domain_steps.rb +0 -73
  89. data/features/step_definitions/env_steps.rb +0 -32
  90. data/features/step_definitions/sshkey_steps.rb +0 -56
  91. data/features/support/assumptions.rb +0 -49
  92. data/features/support/before_hooks.rb +0 -81
  93. data/features/support/env.rb +0 -208
  94. data/features/support/key1 +0 -27
  95. data/features/support/key1.pub +0 -1
  96. data/features/support/key2 +0 -27
  97. data/features/support/key2.pub +0 -1
  98. data/features/support/key3.pub +0 -1
  99. data/features/support/platform_support.rb +0 -29
  100. data/features/verify.feature +0 -18
  101. data/spec/rhc/context_spec.rb +0 -53
@@ -78,4 +78,4 @@ describe RHC::Commands::Tail do
78
78
  end
79
79
 
80
80
  end
81
- end
81
+ end
@@ -181,6 +181,11 @@ describe AllRhcHelpers do
181
181
  it{ expect{ run }.to exit_with_code(1) }
182
182
  it{ run_output.should match("invalid argument: --timeout=string") }
183
183
  end
184
+ context "that is a negative integer" do
185
+ let(:arguments){ ['help', '--timeout=0'] }
186
+ it{ expect{ run }.to exit_with_code(1) }
187
+ it{ run_output.should match("must be a positive integer") }
188
+ end
184
189
  context "via the config" do
185
190
  before{ base_config{ |c, d| d.add 'timeout', 'string' } }
186
191
  let(:arguments){ ['help'] }
@@ -255,6 +260,10 @@ describe AllRhcHelpers do
255
260
  end
256
261
  end
257
262
 
263
+ describe "#exec" do
264
+ it{ subject.send(:exec, 'echo foo').should == [0, "foo\n"] }
265
+ end
266
+
258
267
  context "Git Helpers" do
259
268
  subject{ Class.new(Object){ include RHC::Helpers; include RHC::GitHelpers; def debug?; false; end }.new }
260
269
  before{ subject.stub(:git_version){ raise "Fake Exception" } }
@@ -154,12 +154,20 @@ module RHC
154
154
  it "returns a domain object" do
155
155
  domain = client.add_domain('mock_domain')
156
156
  domain.class.should == RHC::Rest::Domain
157
- domain.id.should == 'mock_domain'
157
+ domain.name.should == 'mock_domain'
158
158
  domain.send(:links).should ==
159
159
  mock_response_links(mock_domain_links('mock_domain'))
160
160
  end
161
161
  end
162
162
 
163
+ context "#update_members" do
164
+ subject{ RHC::Rest::Application.new }
165
+ it "raises when the update link is disabled" do
166
+ subject.should_receive(:supports_members?).and_return(true)
167
+ expect{ subject.update_members([]) }.to raise_error(RHC::ChangeMembersOnResourceNotSupported)
168
+ end
169
+ end
170
+
163
171
  context "#domains" do
164
172
  before(:each) do
165
173
  stub_api_request(:any, api_links['LIST_DOMAINS']['relative']).
@@ -187,7 +195,7 @@ module RHC
187
195
  domains.length.should equal(2)
188
196
  (0..1).each do |idx|
189
197
  domains[idx].class.should == RHC::Rest::Domain
190
- domains[idx].id.should == "mock_domain_#{idx}"
198
+ domains[idx].name.should == "mock_domain_#{idx}"
191
199
  domains[idx].send(:links).should ==
192
200
  mock_response_links(mock_domain_links("mock_domain_#{idx}"))
193
201
  end
@@ -221,13 +229,13 @@ module RHC
221
229
  it "returns a domain object for matching domain IDs" do
222
230
  match = nil
223
231
  expect { match = client.find_domain('mock_domain_0') }.to_not raise_error
224
- match.id.should == 'mock_domain_0'
232
+ match.name.should == 'mock_domain_0'
225
233
  match.class.should == RHC::Rest::Domain
226
234
  end
227
235
  it "returns a domain object for matching case-insensitive domain IDs" do
228
236
  match = nil
229
237
  expect { match = client.find_domain('MOCK_DOMAIN_0') }.to_not raise_error
230
- match.id.should == 'mock_domain_0'
238
+ match.name.should == 'mock_domain_0'
231
239
  match.class.should == RHC::Rest::Domain
232
240
  end
233
241
  it "raise an error when no matching domain IDs can be found" do
@@ -266,13 +274,13 @@ module RHC
266
274
  it "returns a domain object for matching domain IDs" do
267
275
  match = nil
268
276
  expect { match = client.find_domain('mock_domain_0') }.to_not raise_error
269
- match.id.should == 'mock_domain_0'
277
+ match.name.should == 'mock_domain_0'
270
278
  match.class.should == RHC::Rest::Domain
271
279
  end
272
280
  it "encodes special characters" do
273
281
  match = nil
274
282
  expect { match = client.find_domain('mock_domain_%^&') }.to_not raise_error
275
- match.id.should == 'mock_domain_%^&'
283
+ match.name.should == 'mock_domain_%^&'
276
284
  match.class.should == RHC::Rest::Domain
277
285
  end
278
286
  it "raise an error when no matching domain IDs can be found" do
@@ -299,7 +307,7 @@ module RHC
299
307
  match = nil
300
308
  expect { match = client.owned_domains }.to_not raise_error
301
309
  match.length.should == 1
302
- match.first.id.should == 'mock_domain_0'
310
+ match.first.name.should == 'mock_domain_0'
303
311
  match.first.class.should == RHC::Rest::Domain
304
312
  end
305
313
  end
@@ -349,6 +357,66 @@ module RHC
349
357
  end
350
358
  end
351
359
 
360
+ context "#find_application_by_id" do
361
+ context "when server does not support SHOW_APPLICATION" do
362
+ let(:server){ mock_uri }
363
+ let(:endpoint){ "https://#{server}/broker/rest/api"}
364
+ before do
365
+ stub_api
366
+ stub_one_domain('test')
367
+ stub_one_application('test', 'app1')
368
+ end
369
+ it "returns an app object for matching IDs" do
370
+ match = nil
371
+ expect { match = client.find_application_by_id(1) }.to_not raise_error
372
+ match.id.should == 1
373
+ match.class.should == RHC::Rest::Application
374
+ end
375
+ it "raise an error when no matching app IDs can be found" do
376
+ expect { client.find_application_by_id('2') }.to raise_error(RHC::Rest::ApplicationNotFoundException)
377
+ end
378
+ end
379
+
380
+ context "when server supports SHOW_APPLICATION" do
381
+ let(:api_links){ mock_response_links([['SHOW_APPLICATION', 'application/:id', 'get']]) }
382
+ before do
383
+ stub_api_request(:any, api_links['SHOW_APPLICATION']['relative'].gsub(/:id/, 'app_0')).
384
+ to_return({ :body => {
385
+ :type => 'application',
386
+ :data =>
387
+ { :id => 'app_0',
388
+ :links => mock_response_links(mock_app_links('app_0')),
389
+ }
390
+ }.to_json,
391
+ :status => 200
392
+ })
393
+ stub_api_request(:any, api_links['SHOW_APPLICATION']['relative'].gsub(/:id/, 'app_1')).
394
+ to_return({ :body => {:messages => [{:exit_code => 101}]}.to_json,
395
+ :status => 404
396
+ })
397
+ end
398
+ it "returns an app object for matching IDs" do
399
+ match = nil
400
+ expect { match = client.find_application_by_id('app_0') }.to_not raise_error
401
+ match.id.should == 'app_0'
402
+ match.class.should == RHC::Rest::Application
403
+ end
404
+ it "raise an error when no matching IDs can be found" do
405
+ expect { client.find_application_by_id('app_1') }.to raise_error(RHC::Rest::ApplicationNotFoundException)
406
+ end
407
+ it "should fetch application ids" do
408
+ client.api
409
+ client.should_receive(:request).with(:url => "#{api_links['SHOW_APPLICATION']['href'].gsub(/:id/, 'app_2')}", :method => "GET", :payload => {}).and_return(1)
410
+ client.find_application_by_id('app_2').should == 1
411
+ end
412
+ it "should fetch application gear groups" do
413
+ client.api
414
+ client.should_receive(:request).with(:url => "#{api_links['SHOW_APPLICATION']['href'].gsub(/:id/, 'app_2')}/gear_groups", :method => "GET", :payload => {}).and_return(1)
415
+ client.find_application_by_id_gear_groups('app_2').should == 1
416
+ end
417
+ end
418
+ end
419
+
352
420
  describe RHC::Rest::Cartridge do
353
421
  subject do
354
422
  RHC::Rest::Cartridge.new({
@@ -511,7 +511,7 @@ module RHC
511
511
  it("raises not authenticated"){ response.should raise_error(RHC::Rest::UnAuthorizedException, 'Not authenticated') }
512
512
 
513
513
  context "when auth will retry forever" do
514
- let(:auth){ stub('auth', :to_request => nil) }
514
+ let(:auth){ double('auth', :to_request => nil) }
515
515
  before{ subject.stub(:auth).and_return(auth); auth.should_receive(:retry_auth?).exactly(4).times.and_return(true) }
516
516
  it("raises not authenticated"){ response.should raise_error(RHC::Rest::UnAuthorizedException, 'Not authenticated') }
517
517
  after{ WebMock.should have_requested(:get, mock_href).times(RHC::Rest::Client::MAX_RETRIES) }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 33
4
+ hash: 39
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
- - 14
9
- - 7
10
- version: 1.14.7
8
+ - 15
9
+ - 6
10
+ version: 1.15.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Red Hat
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-09-17 00:00:00 Z
18
+ date: 2013-10-14 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: net-ssh
@@ -34,9 +34,25 @@ dependencies:
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
36
  - !ruby/object:Gem::Dependency
37
- name: archive-tar-minitar
37
+ name: net-ssh-multi
38
38
  prerelease: false
39
39
  requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 31
45
+ segments:
46
+ - 1
47
+ - 2
48
+ - 0
49
+ version: 1.2.0
50
+ type: :runtime
51
+ version_requirements: *id002
52
+ - !ruby/object:Gem::Dependency
53
+ name: archive-tar-minitar
54
+ prerelease: false
55
+ requirement: &id003 !ruby/object:Gem::Requirement
40
56
  none: false
41
57
  requirements:
42
58
  - - ">="
@@ -46,11 +62,11 @@ dependencies:
46
62
  - 0
47
63
  version: "0"
48
64
  type: :runtime
49
- version_requirements: *id002
65
+ version_requirements: *id003
50
66
  - !ruby/object:Gem::Dependency
51
67
  name: commander
52
68
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
69
+ requirement: &id004 !ruby/object:Gem::Requirement
54
70
  none: false
55
71
  requirements:
56
72
  - - ">="
@@ -61,11 +77,11 @@ dependencies:
61
77
  - 0
62
78
  version: "4.0"
63
79
  type: :runtime
64
- version_requirements: *id003
80
+ version_requirements: *id004
65
81
  - !ruby/object:Gem::Dependency
66
82
  name: highline
67
83
  prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
84
+ requirement: &id005 !ruby/object:Gem::Requirement
69
85
  none: false
70
86
  requirements:
71
87
  - - ~>
@@ -77,11 +93,11 @@ dependencies:
77
93
  - 11
78
94
  version: 1.6.11
79
95
  type: :runtime
80
- version_requirements: *id004
96
+ version_requirements: *id005
81
97
  - !ruby/object:Gem::Dependency
82
98
  name: httpclient
83
99
  prerelease: false
84
- requirement: &id005 !ruby/object:Gem::Requirement
100
+ requirement: &id006 !ruby/object:Gem::Requirement
85
101
  none: false
86
102
  requirements:
87
103
  - - ">="
@@ -92,11 +108,11 @@ dependencies:
92
108
  - 2
93
109
  version: "2.2"
94
110
  type: :runtime
95
- version_requirements: *id005
111
+ version_requirements: *id006
96
112
  - !ruby/object:Gem::Dependency
97
113
  name: open4
98
114
  prerelease: false
99
- requirement: &id006 !ruby/object:Gem::Requirement
115
+ requirement: &id007 !ruby/object:Gem::Requirement
100
116
  none: false
101
117
  requirements:
102
118
  - - ">="
@@ -106,11 +122,11 @@ dependencies:
106
122
  - 0
107
123
  version: "0"
108
124
  type: :runtime
109
- version_requirements: *id006
125
+ version_requirements: *id007
110
126
  - !ruby/object:Gem::Dependency
111
127
  name: rake
112
128
  prerelease: false
113
- requirement: &id007 !ruby/object:Gem::Requirement
129
+ requirement: &id008 !ruby/object:Gem::Requirement
114
130
  none: false
115
131
  requirements:
116
132
  - - ">="
@@ -122,11 +138,11 @@ dependencies:
122
138
  - 7
123
139
  version: 0.8.7
124
140
  type: :development
125
- version_requirements: *id007
141
+ version_requirements: *id008
126
142
  - !ruby/object:Gem::Dependency
127
143
  name: webmock
128
144
  prerelease: false
129
- requirement: &id008 !ruby/object:Gem::Requirement
145
+ requirement: &id009 !ruby/object:Gem::Requirement
130
146
  none: false
131
147
  requirements:
132
148
  - - <
@@ -137,11 +153,11 @@ dependencies:
137
153
  - 12
138
154
  version: "1.12"
139
155
  type: :development
140
- version_requirements: *id008
156
+ version_requirements: *id009
141
157
  - !ruby/object:Gem::Dependency
142
158
  name: rspec
143
159
  prerelease: false
144
- requirement: &id009 !ruby/object:Gem::Requirement
160
+ requirement: &id010 !ruby/object:Gem::Requirement
145
161
  none: false
146
162
  requirements:
147
163
  - - ">="
@@ -153,11 +169,11 @@ dependencies:
153
169
  - 0
154
170
  version: 2.8.0
155
171
  type: :development
156
- version_requirements: *id009
172
+ version_requirements: *id010
157
173
  - !ruby/object:Gem::Dependency
158
174
  name: fakefs
159
175
  prerelease: false
160
- requirement: &id010 !ruby/object:Gem::Requirement
176
+ requirement: &id011 !ruby/object:Gem::Requirement
161
177
  none: false
162
178
  requirements:
163
179
  - - ">="
@@ -168,11 +184,11 @@ dependencies:
168
184
  - 4
169
185
  version: "0.4"
170
186
  type: :development
171
- version_requirements: *id010
187
+ version_requirements: *id011
172
188
  - !ruby/object:Gem::Dependency
173
189
  name: thor
174
190
  prerelease: false
175
- requirement: &id011 !ruby/object:Gem::Requirement
191
+ requirement: &id012 !ruby/object:Gem::Requirement
176
192
  none: false
177
193
  requirements:
178
194
  - - ">="
@@ -182,11 +198,11 @@ dependencies:
182
198
  - 0
183
199
  version: "0"
184
200
  type: :development
185
- version_requirements: *id011
201
+ version_requirements: *id012
186
202
  - !ruby/object:Gem::Dependency
187
203
  name: cucumber
188
204
  prerelease: false
189
- requirement: &id012 !ruby/object:Gem::Requirement
205
+ requirement: &id013 !ruby/object:Gem::Requirement
190
206
  none: false
191
207
  requirements:
192
208
  - - ">="
@@ -196,11 +212,11 @@ dependencies:
196
212
  - 0
197
213
  version: "0"
198
214
  type: :development
199
- version_requirements: *id012
215
+ version_requirements: *id013
200
216
  - !ruby/object:Gem::Dependency
201
217
  name: activesupport
202
218
  prerelease: false
203
- requirement: &id013 !ruby/object:Gem::Requirement
219
+ requirement: &id014 !ruby/object:Gem::Requirement
204
220
  none: false
205
221
  requirements:
206
222
  - - ~>
@@ -211,7 +227,7 @@ dependencies:
211
227
  - 0
212
228
  version: "3.0"
213
229
  type: :development
214
- version_requirements: *id013
230
+ version_requirements: *id014
215
231
  description: The client tools for the OpenShift platform that allow for application management.
216
232
  email: dev@lists.openshift.redhat.com
217
233
  executables:
@@ -252,6 +268,7 @@ files:
252
268
  - lib/rhc/commands/domain.rb
253
269
  - lib/rhc/commands/cartridge.rb
254
270
  - lib/rhc/commands/authorization.rb
271
+ - lib/rhc/commands/member.rb
255
272
  - lib/rhc/commands/sshkey.rb
256
273
  - lib/rhc/commands/snapshot.rb
257
274
  - lib/rhc/commands/server.rb
@@ -277,6 +294,7 @@ files:
277
294
  - lib/rhc/rest/domain.rb
278
295
  - lib/rhc/rest/key.rb
279
296
  - lib/rhc/rest/cartridge.rb
297
+ - lib/rhc/rest/membership.rb
280
298
  - lib/rhc/rest/authorization.rb
281
299
  - lib/rhc/rest/gear_group.rb
282
300
  - lib/rhc/rest/mock.rb
@@ -313,7 +331,6 @@ files:
313
331
  - spec/rhc/assets/targz_corrupted.tar.gz
314
332
  - spec/rhc/assets/cert.crt
315
333
  - spec/rhc/assets/foo.txt
316
- - spec/rhc/context_spec.rb
317
334
  - spec/rhc/highline_extensions_spec.rb
318
335
  - spec/rhc/command_spec.rb
319
336
  - spec/rhc/cli_spec.rb
@@ -327,6 +344,7 @@ files:
327
344
  - spec/rhc/commands/server_spec.rb
328
345
  - spec/rhc/commands/ssh_spec.rb
329
346
  - spec/rhc/commands/logout_spec.rb
347
+ - spec/rhc/commands/member_spec.rb
330
348
  - spec/rhc/commands/alias_spec.rb
331
349
  - spec/rhc/commands/authorization_spec.rb
332
350
  - spec/rhc/commands/account_spec.rb
@@ -340,47 +358,13 @@ files:
340
358
  - spec/rhc/rest_application_spec.rb
341
359
  - spec/spec_helper.rb
342
360
  - spec/coverage_helper.rb
361
+ - spec/direct_execution_helper.rb
343
362
  - spec/keys/server.pem
344
363
  - spec/keys/example.pem
345
364
  - spec/keys/example_private.pem
346
- - features/application.feature
347
- - features/client.feature
348
- - features/step_definitions/application_steps.rb
349
- - features/step_definitions/client_steps.rb
350
- - features/step_definitions/cartridge_steps.rb
351
- - features/step_definitions/domain_steps.rb
352
- - features/step_definitions/sshkey_steps.rb
353
- - features/step_definitions/env_steps.rb
354
- - features/cartridge.feature
355
- - features/README.md
356
- - features/support/before_hooks.rb
357
- - features/support/key1.pub
358
- - features/support/key2.pub
359
- - features/support/key1
360
- - features/support/key2
361
- - features/support/assumptions.rb
362
- - features/support/platform_support.rb
363
- - features/support/key3.pub
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/env.feature
371
- - features/lib/rhc_helper/httpify.rb
372
- - features/lib/rhc_helper/api.rb
373
- - features/lib/rhc_helper/domain.rb
374
- - features/lib/rhc_helper/cartridge.rb
375
- - features/lib/rhc_helper/commandify.rb
376
- - features/lib/rhc_helper/persistable.rb
377
- - features/lib/rhc_helper/runnable.rb
378
- - features/lib/rhc_helper/sshkey.rb
379
- - features/lib/rhc_helper/loggable.rb
380
- - features/lib/rhc_helper/app.rb
381
- - features/lib/rhc_helper/env.rb
382
- - features/lib/rhc_helper.rb
383
- - features/domain.feature
365
+ - features/core_feature.rb
366
+ - features/domains_feature.rb
367
+ - features/members_feature.rb
384
368
  - bin/rhc
385
369
  homepage: https://github.com/openshift/rhc
386
370
  licenses: []
@@ -437,7 +421,6 @@ test_files:
437
421
  - spec/rhc/assets/targz_corrupted.tar.gz
438
422
  - spec/rhc/assets/cert.crt
439
423
  - spec/rhc/assets/foo.txt
440
- - spec/rhc/context_spec.rb
441
424
  - spec/rhc/highline_extensions_spec.rb
442
425
  - spec/rhc/command_spec.rb
443
426
  - spec/rhc/cli_spec.rb
@@ -451,6 +434,7 @@ test_files:
451
434
  - spec/rhc/commands/server_spec.rb
452
435
  - spec/rhc/commands/ssh_spec.rb
453
436
  - spec/rhc/commands/logout_spec.rb
437
+ - spec/rhc/commands/member_spec.rb
454
438
  - spec/rhc/commands/alias_spec.rb
455
439
  - spec/rhc/commands/authorization_spec.rb
456
440
  - spec/rhc/commands/account_spec.rb
@@ -464,44 +448,10 @@ test_files:
464
448
  - spec/rhc/rest_application_spec.rb
465
449
  - spec/spec_helper.rb
466
450
  - spec/coverage_helper.rb
451
+ - spec/direct_execution_helper.rb
467
452
  - spec/keys/server.pem
468
453
  - spec/keys/example.pem
469
454
  - spec/keys/example_private.pem
470
- - features/application.feature
471
- - features/client.feature
472
- - features/step_definitions/application_steps.rb
473
- - features/step_definitions/client_steps.rb
474
- - features/step_definitions/cartridge_steps.rb
475
- - features/step_definitions/domain_steps.rb
476
- - features/step_definitions/sshkey_steps.rb
477
- - features/step_definitions/env_steps.rb
478
- - features/cartridge.feature
479
- - features/README.md
480
- - features/support/before_hooks.rb
481
- - features/support/key1.pub
482
- - features/support/key2.pub
483
- - features/support/key1
484
- - features/support/key2
485
- - features/support/assumptions.rb
486
- - features/support/platform_support.rb
487
- - features/support/key3.pub
488
- - features/support/env.rb
489
- - features/sshkey.feature
490
- - features/multiple_cartridge.feature
491
- - features/scaled_application.feature
492
- - features/verify.feature
493
- - features/geared_application.feature
494
- - features/env.feature
495
- - features/lib/rhc_helper/httpify.rb
496
- - features/lib/rhc_helper/api.rb
497
- - features/lib/rhc_helper/domain.rb
498
- - features/lib/rhc_helper/cartridge.rb
499
- - features/lib/rhc_helper/commandify.rb
500
- - features/lib/rhc_helper/persistable.rb
501
- - features/lib/rhc_helper/runnable.rb
502
- - features/lib/rhc_helper/sshkey.rb
503
- - features/lib/rhc_helper/loggable.rb
504
- - features/lib/rhc_helper/app.rb
505
- - features/lib/rhc_helper/env.rb
506
- - features/lib/rhc_helper.rb
507
- - features/domain.feature
455
+ - features/core_feature.rb
456
+ - features/domains_feature.rb
457
+ - features/members_feature.rb