ogre 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/README.md +16 -2
  4. data/lib/ogre.rb +10 -0
  5. data/lib/ogre/config.rb +2 -0
  6. data/lib/ogre/messages.rb +12 -0
  7. data/lib/ogre/org-create.rb +30 -6
  8. data/lib/ogre/org-list.rb +13 -0
  9. data/lib/ogre/org-show.rb +45 -0
  10. data/lib/ogre/runner.rb +0 -2
  11. data/lib/ogre/user-list.rb +13 -0
  12. data/lib/ogre/version.rb +2 -2
  13. data/ogre.gemspec +5 -4
  14. data/spec/fixtures/vcr_cassettes/org-list.yml +73 -0
  15. data/spec/fixtures/vcr_cassettes/org-show.yml +205 -0
  16. data/spec/fixtures/vcr_cassettes/user-list.yml +75 -0
  17. data/spec/ogre/org-create_spec.rb +3 -2
  18. data/spec/ogre/org-list_spec.rb +26 -0
  19. data/spec/ogre/org-show_spec.rb +27 -0
  20. data/spec/ogre/user-list_spec.rb +26 -0
  21. data/spec/spec_helper.rb +4 -4
  22. metadata +48 -57
  23. data/lib/ogre/skeletons/code_generator/files/default/chefignore +0 -95
  24. data/lib/ogre/skeletons/code_generator/files/default/cookbook_readmes/README-policy.md +0 -9
  25. data/lib/ogre/skeletons/code_generator/files/default/cookbook_readmes/README.md +0 -54
  26. data/lib/ogre/skeletons/code_generator/files/default/gitignore +0 -16
  27. data/lib/ogre/skeletons/code_generator/files/default/repo/README.md +0 -66
  28. data/lib/ogre/skeletons/code_generator/files/default/repo/cookbooks/example/attributes/default.rb +0 -7
  29. data/lib/ogre/skeletons/code_generator/files/default/repo/cookbooks/example/metadata.rb +0 -3
  30. data/lib/ogre/skeletons/code_generator/files/default/repo/cookbooks/example/recipes/default.rb +0 -8
  31. data/lib/ogre/skeletons/code_generator/files/default/repo/data_bags/README.md +0 -58
  32. data/lib/ogre/skeletons/code_generator/files/default/repo/data_bags/example/example_item.json +0 -4
  33. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/README.md +0 -9
  34. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/_default.json +0 -9
  35. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/dev.json +0 -21
  36. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/example.json +0 -13
  37. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/int.json +0 -21
  38. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/prod.json +0 -21
  39. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/qa.json +0 -21
  40. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/stage.json +0 -21
  41. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/README.md +0 -9
  42. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/active-base.json +0 -12
  43. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/example.json +0 -13
  44. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_caeast.json +0 -13
  45. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_canada.json +0 -13
  46. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_cawest.json +0 -13
  47. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_useast.json +0 -13
  48. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_uswest.json +0 -13
  49. data/lib/ogre/skeletons/code_generator/metadata.rb +0 -8
  50. data/lib/ogre/skeletons/code_generator/recipes/repo.rb +0 -52
  51. data/lib/ogre/skeletons/code_generator/templates/default/LICENSE.all_rights.erb +0 -3
  52. data/lib/ogre/skeletons/code_generator/templates/default/LICENSE.apache2.erb +0 -201
  53. data/lib/ogre/skeletons/code_generator/templates/default/LICENSE.gplv2.erb +0 -339
  54. data/lib/ogre/skeletons/code_generator/templates/default/LICENSE.gplv3.erb +0 -674
  55. data/lib/ogre/skeletons/code_generator/templates/default/LICENSE.mit.erb +0 -21
  56. data/lib/ogre/skeletons/code_generator/templates/default/README.md.erb +0 -4
  57. data/lib/ogre/skeletons/code_generator/templates/default/cookbook_file.erb +0 -0
  58. data/lib/ogre/skeletons/code_generator/templates/default/knife.rb.erb +0 -44
  59. data/lib/ogre/skeletons/code_generator/templates/default/metadata.rb.erb +0 -8
  60. data/lib/ogre/skeletons/code_generator/templates/default/repo/gitignore.erb +0 -12
@@ -0,0 +1,75 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://chef.server/users
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ X-Ops-Sign:
15
+ - algorithm=sha1;version=1.0;
16
+ X-Ops-Userid: pivotal
17
+ X-Ops-Timestamp:
18
+ - '2015-08-05T14:18:08Z'
19
+ X-Ops-Content-Hash:
20
+ - "{{X-Ops-Content-Hash}}"
21
+ X-Ops-Authorization-1:
22
+ - "{{X-Ops-Authorization-1}}"
23
+ X-Ops-Authorization-2:
24
+ - "{{X-Ops-Authorization-2}}"
25
+ X-Ops-Authorization-3:
26
+ - "{{X-Ops-Authorization-3}}"
27
+ X-Ops-Authorization-4:
28
+ - "{{X-Ops-Authorization-4}}"
29
+ X-Ops-Authorization-5:
30
+ - "{{X-Ops-Authorization-5}}"
31
+ X-Ops-Authorization-6:
32
+ - "{{X-Ops-Authorization-6}}"
33
+ Host:
34
+ - chef.server:443
35
+ X-Ops-Server-Api-Version:
36
+ - '1'
37
+ X-Remote-Request-Id:
38
+ - 4446b332-5316-484f-9dcd-98cdc39eea65
39
+ X-Chef-Version:
40
+ - 12.4.1
41
+ User-Agent:
42
+ - Chef Knife/12.4.1 (ruby-2.1.5-p273; ohai-8.5.0; x86_64-darwin12.0; +http://opscode.com)
43
+ response:
44
+ status:
45
+ code: 200
46
+ message: OK
47
+ headers:
48
+ Server:
49
+ - openresty/1.7.10.1
50
+ Date:
51
+ - Wed, 05 Aug 2015 14:18:10 GMT
52
+ Content-Type:
53
+ - application/json
54
+ Transfer-Encoding:
55
+ - chunked
56
+ Connection:
57
+ - keep-alive
58
+ X-Ops-Api-Info:
59
+ - flavor=cs;version=12.0.0;oc_erchef=1.6.4
60
+ Content-Encoding:
61
+ - gzip
62
+ body:
63
+ encoding: ASCII-8BIT
64
+ string: !binary |-
65
+ H4sIAAAAAAAAA5XUS3LDIAwG4LuwJvF028t0MFYNNQaPAKdOp3ev6me2/54P
66
+ hF4/avJzKiaod+VKmfJ701hHn/eO5ruxxc8UqTwSD3ebxqZm4twcRKscfH1D
67
+ 6Aa0+horT25B6EG06nIxHDOCDyIvTxT9N2J3Ie8yPaO3NCD6QlqxTRx97BF/
68
+ Gq3o6QyGdyG/blPhBKXsIP/FsoFMRKI+iFamrTxQKYg+jaRMGsWHkBB+Ggl9
69
+ 8AyVawMSdkwEDcUGtIpjKgskdyHTFH1F/rmelz/Gvi6ElWcn0tPBxxwImsTT
70
+ yNsLQfO/npckyY6J9KDikP++KK1a4iHfzOSRGy4kFS751lYfOuSCC2lVRivb
71
+ wKVgoLl6ZVLz2X5kOyIxHGTdJ20gxO5C6u4MlLn1vLCHYShhG9Cq5+qfN9NB
72
+ 0V5Iq8kZnrE+PYi0qQkt+95BW+hCv387D1hIJwcAAA==
73
+ http_version:
74
+ recorded_at: Wed, 05 Aug 2015 14:18:08 GMT
75
+ recorded_with: VCR 2.9.3
@@ -31,9 +31,9 @@ describe Ogre::OrgCreate do
31
31
  expect { Ogre::OrgCreate.start(args) }.to output(/#{response}/).to_stdout
32
32
  end
33
33
  end
34
-
34
+ # rubocop:disable LineLength
35
35
  it 'should create new org and save chef policy repository with parameters' do
36
- args = %w(my-org-name my-org-desc -p --repo-path tmp -I mit -m youremail@example.com -C Top-Chefs) + DEFAULTS
36
+ args = %w(my-org-name my-org-desc -p --repo-path tmp -I mit -m youremail@example.com -C Top-Chefs -r https://github.com/activenetwork-automation/code_generator) + DEFAULTS
37
37
  response = "'my-org-name' org has been created.\nCompiling Cookbooks..."
38
38
  VCR.use_cassette('org-create') do
39
39
  expect { Ogre::OrgCreate.start(args) }.to output(/#{response}/).to_stdout
@@ -42,6 +42,7 @@ describe Ogre::OrgCreate do
42
42
  expect(File.read(KNIFE_PATH)).to match(/cookbook_license "mit"/)
43
43
  end
44
44
  end
45
+ # rubocop:enable LineLength
45
46
 
46
47
  it 'should fail org exists' do
47
48
  args = %w(my-org-name my-org-desc) + DEFAULTS
@@ -0,0 +1,26 @@
1
+ require_relative '../spec_helper.rb'
2
+ require 'ogre'
3
+
4
+ VCR.configure do |config|
5
+ config.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
6
+ config.hook_into :webmock
7
+
8
+ # remove sensitive authentication information from the recording
9
+ config.before_record do |interaction|
10
+ headers = interaction.request.headers
11
+ headers.keys
12
+ .select { |k| k =~ /^X-Ops-(Authorization-|Content-Hash)/ }
13
+ .each { |header| headers[header] = Array("{{#{header}}}") }
14
+ headers['X-Ops-Userid'] = 'pivotal'
15
+ end
16
+ end
17
+
18
+ describe Ogre::OrgList do
19
+ it 'should list all organizations' do
20
+ args = %w(--run_as pivotal) + DEFAULTS
21
+ response = "a3\naa\nacl\nacm\nadp\naev\nag\nan\naohflnx\naonet"
22
+ VCR.use_cassette('org-list') do
23
+ expect { Ogre::OrgList.start(args) }.to output(/#{response}/).to_stdout
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,27 @@
1
+ require_relative '../spec_helper.rb'
2
+ require 'ogre'
3
+
4
+ VCR.configure do |config|
5
+ config.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
6
+ config.hook_into :webmock
7
+
8
+ # remove sensitive authentication information from the recording
9
+ config.before_record do |interaction|
10
+ headers = interaction.request.headers
11
+ headers.keys
12
+ .select { |k| k =~ /^X-Ops-(Authorization-|Content-Hash)/ }
13
+ .each { |header| headers[header] = Array("{{#{header}}}") }
14
+ headers['X-Ops-Userid'] = 'pivotal'
15
+ end
16
+ end
17
+
18
+ describe Ogre::OrgShow do
19
+ it 'should list all users' do
20
+ args = %w(my-test-org) + DEFAULTS
21
+ VCR.use_cassette('org-show') do
22
+ # rubocop:disable LineLength
23
+ expect { Ogre::OrgShow.start(args) }.to output(/(06ea2683f8cd6e177771f32482b72ea3)|(my-test-org)|(test org)|(@pivotal)|(@ats-build)|(berks-api)/).to_stdout
24
+ # rubocop:enable LineLength
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,26 @@
1
+ require_relative '../spec_helper.rb'
2
+ require 'ogre'
3
+
4
+ VCR.configure do |config|
5
+ config.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
6
+ config.hook_into :webmock
7
+
8
+ # remove sensitive authentication information from the recording
9
+ config.before_record do |interaction|
10
+ headers = interaction.request.headers
11
+ headers.keys
12
+ .select { |k| k =~ /^X-Ops-(Authorization-|Content-Hash)/ }
13
+ .each { |header| headers[header] = Array("{{#{header}}}") }
14
+ headers['X-Ops-Userid'] = 'pivotal'
15
+ end
16
+ end
17
+
18
+ describe Ogre::UserList do
19
+ it 'should list all users' do
20
+ args = %w(--run_as pivotal) + DEFAULTS
21
+ response = "ats-build\nberks-api\n"
22
+ VCR.use_cassette('user-list') do
23
+ expect { Ogre::UserList.start(args) }.to output(/#{response}/).to_stdout
24
+ end
25
+ end
26
+ end
@@ -3,14 +3,14 @@ $LOAD_PATH << '../../lib'
3
3
  require 'coveralls'
4
4
  require 'vcr'
5
5
 
6
- DEFAULTS = %w(--run-as pivotal
7
- --key-path spec/fixtures/client_key/dummy.pem
8
- --server-url https://chef.server)
6
+ DEFAULTS = %w(--run-as pivotal
7
+ --key-path spec/fixtures/client_key/dummy.pem
8
+ --server-url https://chef.server)
9
9
  VCO_DEFAULTS = %w(--vco-url https://vco.server:8281/
10
10
  --vco-user user
11
11
  --vco-password password
12
12
  --vco-wf-name Set-Private-Key
13
13
  --vco-verify-ssl false)
14
- KNIFE_PATH = 'tmp/my-org-name-chef/.chef/knife.rb'
14
+ KNIFE_PATH = 'tmp/my-org-name-chef/.chef/knife.rb'
15
15
 
16
16
  Coveralls.wear!
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ogre
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - "'Joe"
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-03 00:00:00.000000000 Z
12
+ date: 2015-08-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: 0.27.0
48
+ version: 0.32.1
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: 0.27.0
55
+ version: 0.32.1
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rspec
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -166,47 +166,61 @@ dependencies:
166
166
  - !ruby/object:Gem::Version
167
167
  version: 2.9.3
168
168
  - !ruby/object:Gem::Dependency
169
- name: thor
169
+ name: chef-dk
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - "~>"
172
+ - - ">="
173
173
  - !ruby/object:Gem::Version
174
- version: 0.19.1
174
+ version: '0'
175
175
  type: :runtime
176
176
  prerelease: false
177
177
  version_requirements: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - "~>"
179
+ - - ">="
180
180
  - !ruby/object:Gem::Version
181
- version: 0.19.1
181
+ version: '0'
182
182
  - !ruby/object:Gem::Dependency
183
- name: chef-dk
183
+ name: vcoworkflows
184
184
  requirement: !ruby/object:Gem::Requirement
185
185
  requirements:
186
- - - "~>"
186
+ - - ">="
187
187
  - !ruby/object:Gem::Version
188
- version: 0.5.1
188
+ version: 0.2.1
189
189
  type: :runtime
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
- - - "~>"
193
+ - - ">="
194
194
  - !ruby/object:Gem::Version
195
- version: 0.5.1
195
+ version: 0.2.1
196
196
  - !ruby/object:Gem::Dependency
197
- name: vcoworkflows
197
+ name: thor
198
198
  requirement: !ruby/object:Gem::Requirement
199
199
  requirements:
200
- - - "~>"
200
+ - - ">="
201
201
  - !ruby/object:Gem::Version
202
- version: 0.1.2
202
+ version: 0.19.1
203
203
  type: :runtime
204
204
  prerelease: false
205
205
  version_requirements: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - "~>"
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: 0.19.1
210
+ - !ruby/object:Gem::Dependency
211
+ name: git
212
+ requirement: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ">="
215
+ - !ruby/object:Gem::Version
216
+ version: 1.2.0
217
+ type: :runtime
218
+ prerelease: false
219
+ version_requirements: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - ">="
208
222
  - !ruby/object:Gem::Version
209
- version: 0.1.2
223
+ version: 1.2.0
210
224
  description: Command line tool to automate creation of chef orgs, chef policy repositories,
211
225
  and validation key integration with vco
212
226
  email:
@@ -231,48 +245,13 @@ files:
231
245
  - lib/ogre/messages.rb
232
246
  - lib/ogre/org-create.rb
233
247
  - lib/ogre/org-delete.rb
248
+ - lib/ogre/org-list.rb
249
+ - lib/ogre/org-show.rb
234
250
  - lib/ogre/runner.rb
235
251
  - lib/ogre/set-private-key.rb
236
- - lib/ogre/skeletons/code_generator/files/default/chefignore
237
- - lib/ogre/skeletons/code_generator/files/default/cookbook_readmes/README-policy.md
238
- - lib/ogre/skeletons/code_generator/files/default/cookbook_readmes/README.md
239
- - lib/ogre/skeletons/code_generator/files/default/gitignore
240
- - lib/ogre/skeletons/code_generator/files/default/repo/README.md
241
- - lib/ogre/skeletons/code_generator/files/default/repo/cookbooks/example/attributes/default.rb
242
- - lib/ogre/skeletons/code_generator/files/default/repo/cookbooks/example/metadata.rb
243
- - lib/ogre/skeletons/code_generator/files/default/repo/cookbooks/example/recipes/default.rb
244
- - lib/ogre/skeletons/code_generator/files/default/repo/data_bags/README.md
245
- - lib/ogre/skeletons/code_generator/files/default/repo/data_bags/example/example_item.json
246
- - lib/ogre/skeletons/code_generator/files/default/repo/environments/README.md
247
- - lib/ogre/skeletons/code_generator/files/default/repo/environments/_default.json
248
- - lib/ogre/skeletons/code_generator/files/default/repo/environments/dev.json
249
- - lib/ogre/skeletons/code_generator/files/default/repo/environments/example.json
250
- - lib/ogre/skeletons/code_generator/files/default/repo/environments/int.json
251
- - lib/ogre/skeletons/code_generator/files/default/repo/environments/prod.json
252
- - lib/ogre/skeletons/code_generator/files/default/repo/environments/qa.json
253
- - lib/ogre/skeletons/code_generator/files/default/repo/environments/stage.json
254
- - lib/ogre/skeletons/code_generator/files/default/repo/roles/README.md
255
- - lib/ogre/skeletons/code_generator/files/default/repo/roles/active-base.json
256
- - lib/ogre/skeletons/code_generator/files/default/repo/roles/example.json
257
- - lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_caeast.json
258
- - lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_canada.json
259
- - lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_cawest.json
260
- - lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_useast.json
261
- - lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_uswest.json
262
- - lib/ogre/skeletons/code_generator/metadata.rb
263
- - lib/ogre/skeletons/code_generator/recipes/repo.rb
264
- - lib/ogre/skeletons/code_generator/templates/default/LICENSE.all_rights.erb
265
- - lib/ogre/skeletons/code_generator/templates/default/LICENSE.apache2.erb
266
- - lib/ogre/skeletons/code_generator/templates/default/LICENSE.gplv2.erb
267
- - lib/ogre/skeletons/code_generator/templates/default/LICENSE.gplv3.erb
268
- - lib/ogre/skeletons/code_generator/templates/default/LICENSE.mit.erb
269
- - lib/ogre/skeletons/code_generator/templates/default/README.md.erb
270
- - lib/ogre/skeletons/code_generator/templates/default/cookbook_file.erb
271
- - lib/ogre/skeletons/code_generator/templates/default/knife.rb.erb
272
- - lib/ogre/skeletons/code_generator/templates/default/metadata.rb.erb
273
- - lib/ogre/skeletons/code_generator/templates/default/repo/gitignore.erb
274
252
  - lib/ogre/user-create.rb
275
253
  - lib/ogre/user-delete.rb
254
+ - lib/ogre/user-list.rb
276
255
  - lib/ogre/version.rb
277
256
  - ogre.gemspec
278
257
  - spec/fixtures/client_key/dummy.pem
@@ -284,6 +263,8 @@ files:
284
263
  - spec/fixtures/vcr_cassettes/org-create.yml
285
264
  - spec/fixtures/vcr_cassettes/org-delete-no-org.yml
286
265
  - spec/fixtures/vcr_cassettes/org-delete.yml
266
+ - spec/fixtures/vcr_cassettes/org-list.yml
267
+ - spec/fixtures/vcr_cassettes/org-show.yml
287
268
  - spec/fixtures/vcr_cassettes/set-private-key.yml
288
269
  - spec/fixtures/vcr_cassettes/user-create-bad-email.yml
289
270
  - spec/fixtures/vcr_cassettes/user-create-exists.yml
@@ -291,12 +272,16 @@ files:
291
272
  - spec/fixtures/vcr_cassettes/user-create.yml
292
273
  - spec/fixtures/vcr_cassettes/user-delete-not-found.yml
293
274
  - spec/fixtures/vcr_cassettes/user-delete.yml
275
+ - spec/fixtures/vcr_cassettes/user-list.yml
294
276
  - spec/ogre/associate_spec.rb
295
277
  - spec/ogre/org-create_spec.rb
296
278
  - spec/ogre/org-delete_spec.rb
279
+ - spec/ogre/org-list_spec.rb
280
+ - spec/ogre/org-show_spec.rb
297
281
  - spec/ogre/set-private-key_spec.rb
298
282
  - spec/ogre/user-create_spec.rb
299
283
  - spec/ogre/user-delete_spec.rb
284
+ - spec/ogre/user-list_spec.rb
300
285
  - spec/spec_helper.rb
301
286
  homepage: https://github.com/activenetwork-automation/ogre
302
287
  licenses:
@@ -332,6 +317,8 @@ test_files:
332
317
  - spec/fixtures/vcr_cassettes/org-create.yml
333
318
  - spec/fixtures/vcr_cassettes/org-delete-no-org.yml
334
319
  - spec/fixtures/vcr_cassettes/org-delete.yml
320
+ - spec/fixtures/vcr_cassettes/org-list.yml
321
+ - spec/fixtures/vcr_cassettes/org-show.yml
335
322
  - spec/fixtures/vcr_cassettes/set-private-key.yml
336
323
  - spec/fixtures/vcr_cassettes/user-create-bad-email.yml
337
324
  - spec/fixtures/vcr_cassettes/user-create-exists.yml
@@ -339,11 +326,15 @@ test_files:
339
326
  - spec/fixtures/vcr_cassettes/user-create.yml
340
327
  - spec/fixtures/vcr_cassettes/user-delete-not-found.yml
341
328
  - spec/fixtures/vcr_cassettes/user-delete.yml
329
+ - spec/fixtures/vcr_cassettes/user-list.yml
342
330
  - spec/ogre/associate_spec.rb
343
331
  - spec/ogre/org-create_spec.rb
344
332
  - spec/ogre/org-delete_spec.rb
333
+ - spec/ogre/org-list_spec.rb
334
+ - spec/ogre/org-show_spec.rb
345
335
  - spec/ogre/set-private-key_spec.rb
346
336
  - spec/ogre/user-create_spec.rb
347
337
  - spec/ogre/user-delete_spec.rb
338
+ - spec/ogre/user-list_spec.rb
348
339
  - spec/spec_helper.rb
349
340
  has_rdoc:
@@ -1,95 +0,0 @@
1
- # Put files/directories that should be ignored in this file when uploading
2
- # or sharing to the community site.
3
- # Lines that start with '# ' are comments.
4
-
5
- # OS generated files #
6
- ######################
7
- .DS_Store
8
- Icon?
9
- nohup.out
10
- ehthumbs.db
11
- Thumbs.db
12
-
13
- # SASS #
14
- ########
15
- .sass-cache
16
-
17
- # EDITORS #
18
- ###########
19
- \#*
20
- .#*
21
- *~
22
- *.sw[a-z]
23
- *.bak
24
- REVISION
25
- TAGS*
26
- tmtags
27
- *_flymake.*
28
- *_flymake
29
- *.tmproj
30
- .project
31
- .settings
32
- mkmf.log
33
-
34
- ## COMPILED ##
35
- ##############
36
- a.out
37
- *.o
38
- *.pyc
39
- *.so
40
- *.com
41
- *.class
42
- *.dll
43
- *.exe
44
- */rdoc/
45
-
46
- # Testing #
47
- ###########
48
- .watchr
49
- .rspec
50
- spec/*
51
- spec/fixtures/*
52
- test/*
53
- features/*
54
- Guardfile
55
- Procfile
56
-
57
- # SCM #
58
- #######
59
- .git
60
- */.git
61
- .gitignore
62
- .gitmodules
63
- .gitconfig
64
- .gitattributes
65
- .svn
66
- */.bzr/*
67
- */.hg/*
68
- */.svn/*
69
-
70
- # Berkshelf #
71
- #############
72
- Berksfile
73
- Berksfile.lock
74
- cookbooks/*
75
- tmp
76
-
77
- # Cookbooks #
78
- #############
79
- CONTRIBUTING
80
-
81
- # Strainer #
82
- ############
83
- Colanderfile
84
- Strainerfile
85
- .colander
86
- .strainer
87
-
88
- # Vagrant #
89
- ###########
90
- .vagrant
91
- Vagrantfile
92
-
93
- # Travis #
94
- ##########
95
- .travis.yml