nephophobia 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. data/Gemfile.lock +1 -1
  2. data/README.md +1 -1
  3. data/lib/nephophobia/project.rb +11 -3
  4. data/lib/nephophobia/role.rb +16 -9
  5. data/lib/nephophobia/version.rb +1 -1
  6. data/test/{fixtures/cassettes → cassettes}/compute_all.yml +0 -0
  7. data/test/{fixtures/cassettes → cassettes}/compute_all_with_filter.yml +0 -0
  8. data/test/{fixtures/cassettes → cassettes}/compute_all_with_string_into_int_error.yml +0 -0
  9. data/test/{fixtures/cassettes → cassettes}/compute_create.yml +0 -0
  10. data/test/{fixtures/cassettes → cassettes}/compute_create_with_optional_params.yml +0 -0
  11. data/test/{fixtures/cassettes → cassettes}/compute_destroy.yml +0 -0
  12. data/test/{fixtures/cassettes → cassettes}/compute_find.yml +0 -0
  13. data/test/{fixtures/cassettes → cassettes}/compute_reboot.yml +0 -0
  14. data/test/{fixtures/cassettes → cassettes}/compute_start.yml +0 -0
  15. data/test/{fixtures/cassettes → cassettes}/compute_stop.yml +0 -0
  16. data/test/{fixtures/cassettes → cassettes}/image_all.yml +0 -0
  17. data/test/{fixtures/cassettes → cassettes}/image_all_with_filter.yml +0 -0
  18. data/test/{fixtures/cassettes → cassettes}/image_all_with_string_into_int_error.yml +0 -0
  19. data/test/{fixtures/cassettes → cassettes}/image_find.yml +0 -0
  20. data/test/{fixtures/cassettes → cassettes}/project_add_member.yml +0 -0
  21. data/test/{fixtures/cassettes → cassettes}/project_all.yml +0 -0
  22. data/test/{fixtures/cassettes → cassettes}/project_all_with_string_into_int_error.yml +0 -0
  23. data/test/{fixtures/cassettes → cassettes}/project_create.yml +0 -0
  24. data/test/{fixtures/cassettes → cassettes}/project_destroy.yml +0 -0
  25. data/test/{fixtures/cassettes → cassettes}/project_find.yml +0 -0
  26. data/test/{fixtures/cassettes → cassettes}/project_find_with_invalid_username.yml +0 -0
  27. data/test/{fixtures/cassettes → cassettes}/project_members.yml +0 -0
  28. data/test/{fixtures/cassettes → cassettes}/project_remove_member.yml +0 -0
  29. data/test/{fixtures/cassettes → cassettes}/role_all.yml +0 -0
  30. data/test/{fixtures/cassettes → cassettes}/role_all_with_no_roles.yml +0 -0
  31. data/test/{fixtures/cassettes → cassettes}/role_all_with_string_into_int_error.yml +0 -0
  32. data/test/{fixtures/cassettes → cassettes}/role_create.yml +0 -0
  33. data/test/cassettes/role_create_with_project_name.yml +28 -0
  34. data/test/cassettes/role_create_with_project_name_and_role_name.yml +28 -0
  35. data/test/{fixtures/cassettes → cassettes}/role_destroy.yml +0 -0
  36. data/test/cassettes/role_destroy_with_project_name.yml +28 -0
  37. data/test/cassettes/role_destroy_with_project_name_and_role_name.yml +28 -0
  38. data/test/{fixtures/cassettes → cassettes}/user_create.yml +0 -0
  39. data/test/{fixtures/cassettes → cassettes}/user_credentials.yml +0 -0
  40. data/test/{fixtures/cassettes → cassettes}/user_destroy.yml +0 -0
  41. data/test/{fixtures/cassettes → cassettes}/user_find.yml +0 -0
  42. data/test/{fixtures/cassettes → cassettes}/user_find_with_invalid_user_name.yml +0 -0
  43. data/test/lib/nephophobia/role_test.rb +36 -2
  44. data/test/test_helper.rb +1 -1
  45. metadata +76 -68
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nephophobia (0.0.3)
4
+ nephophobia (0.0.4)
5
5
  hugs (~> 2.5.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Nephophobia
2
2
 
3
- Lean Ruby bindings to [EC2](http://aws.amazon.com/ec2/), and OpenStack's Admin endpoints. Hands back an object for access.
3
+ Lean Ruby bindings to [EC2](http://aws.amazon.com/ec2/), and OpenStack's Admin endpoints. Hands back an Object for access.
4
4
 
5
5
  ## Why
6
6
 
@@ -1,6 +1,6 @@
1
1
  module Nephophobia
2
2
  class ProjectData
3
- attr_reader :name, :manager_id, :description, :member
3
+ attr_reader :name, :manager_id, :description
4
4
 
5
5
  def initialize hash
6
6
  @name = hash['projectname']
@@ -10,6 +10,14 @@ module Nephophobia
10
10
  end
11
11
  end
12
12
 
13
+ class MemberData
14
+ attr_reader :member
15
+
16
+ def initialize hash
17
+ @member = hash['member']
18
+ end
19
+ end
20
+
13
21
  class Project
14
22
  def initialize client
15
23
  @client = client
@@ -41,8 +49,8 @@ module Nephophobia
41
49
  # Creates the given 'project_name' and adds the specified 'user_name' as the manager.
42
50
  # Returns a response to the state change.
43
51
  #
44
- # +user_name+: A String representing a nova user_name.
45
52
  # +project_name+: A String representing a nova project name.
53
+ # +user_name+: A String representing a nova user_name.
46
54
 
47
55
  def create project_name, user_name
48
56
  filter = {
@@ -88,7 +96,7 @@ module Nephophobia
88
96
  response = @client.action "DescribeProjectMembers", "Name" => project_name
89
97
 
90
98
  response.body['DescribeProjectMembersResponse']['members']['item'].collect do |data|
91
- ProjectData.new data
99
+ MemberData.new data
92
100
  end
93
101
  end
94
102
 
@@ -8,7 +8,6 @@ module Nephophobia
8
8
  end
9
9
 
10
10
  class Role
11
- ### TODO: Add a default attr.
12
11
  DEFAULT = "sysadmin"
13
12
 
14
13
  def initialize client
@@ -16,28 +15,35 @@ module Nephophobia
16
15
  end
17
16
 
18
17
  ##
19
- # Adds the given 'user_name' to the specified "project_name's" 'Role::DEFAULT'.
18
+ # Adds the given 'user_name' to the global 'Role::DEFAULT', unless a
19
+ # 'role_name' is provided.
20
20
  # Returns a response to the state change.
21
21
  #
22
22
  # +user_name+: A String representing a nova user_name.
23
- # +project_name+: A String representing a nova project_name name.
23
+ # +project_name+: An Optional String representing a nova project_name name.
24
+ # +project_name+: An Optional String representing a nova role name.
24
25
 
25
- def create user_name, project_name
26
+ def create user_name, project_name = nil, role_name = nil
26
27
  modify_role user_name, "add", project_name
27
28
  end
28
29
 
29
30
  ##
30
- # Removes the given 'user_name' from the specified "project_name's" 'Role::DEFAULT'.
31
+ # Removes the given 'user_name' from the global 'Role::DEFAULT', unless a
32
+ # 'role_name' is provided.
31
33
  #
32
34
  # +user_name+: A String representing a nova user_name.
33
- # +project_name+: A String representing a nova project_name name.
35
+ # +project_name+: An Optional String representing a nova project_name name.
36
+ # +project_name+: An Optional String representing a nova role name.
34
37
 
35
- def destroy user_name, project_name
38
+ def destroy user_name, project_name = nil, role_name = nil
36
39
  modify_role user_name, "remove", project_name
37
40
  end
38
41
 
39
42
  ##
40
43
  # Returns roles for the given 'user_name' and 'project_name'.
44
+ #
45
+ # +user_name+: A String representing a nova user_name.
46
+ # +project_name+: An Optional String representing a nova project_name name.
41
47
 
42
48
  def all user_name, project_name
43
49
  params = {
@@ -54,12 +60,13 @@ module Nephophobia
54
60
  end
55
61
 
56
62
  private
57
- def modify_role user_name, operation, project_name
63
+ def modify_role user_name, operation, project_name = nil, role_name = nil
58
64
  params = {
59
65
  "User" => user_name,
60
- "Role" => DEFAULT,
66
+ "Role" => role_name || DEFAULT,
61
67
  "Operation" => operation
62
68
  }
69
+ params.merge!("Project" => project_name) if project_name
63
70
 
64
71
  response = @client.action "ModifyUserRole", params
65
72
 
@@ -1,3 +1,3 @@
1
1
  module Nephophobia
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=ModifyUserRole&Operation=add&Project=foobar_project&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=foobar_user&Version=2010-11-15&Signature=C2L3%2B8V6ntOk03jT%2FgLrKeOiG6WedYyZkbPrGaHc%2Frc%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "184"
23
+ date:
24
+ - Wed, 09 Mar 2011 07:06:57 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>FW63STX8FMJJINKMHUYY</requestId><return>true</return></ModifyUserRoleResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=ModifyUserRole&Operation=add&Project=foobar_project&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=foobar_user&Version=2010-11-15&Signature=C2L3%2B8V6ntOk03jT%2FgLrKeOiG6WedYyZkbPrGaHc%2Frc%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "184"
23
+ date:
24
+ - Thu, 10 Mar 2011 07:08:09 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>00EUFWNHSY9QJ8NEWUP7</requestId><return>true</return></ModifyUserRoleResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=ModifyUserRole&Operation=remove&Project=foobar_project&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=foobar_user&Version=2010-11-15&Signature=krwMoJQAXUQeyriglebwYMGHCABT8hb0GYINFGMSpqY%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "184"
23
+ date:
24
+ - Thu, 10 Mar 2011 07:09:41 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>HLF4S58Z50BLSCH3DJ1J</requestId><return>true</return></ModifyUserRoleResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=ModifyUserRole&Operation=remove&Project=foobar_project&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=foobar_user&Version=2010-11-15&Signature=krwMoJQAXUQeyriglebwYMGHCABT8hb0GYINFGMSpqY%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "184"
23
+ date:
24
+ - Thu, 10 Mar 2011 07:10:17 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>JL3LKW1H1A1DO7KBVD15</requestId><return>true</return></ModifyUserRoleResponse>
28
+ http_version: "1.1"
@@ -5,26 +5,60 @@ describe Nephophobia::Role do
5
5
  @role = ADMIN_CLIENT.role
6
6
  @user_name = "foobar_user"
7
7
  @project_name = "foobar_project"
8
+ @role_name = "netadmin"
8
9
  end
9
10
 
10
11
  describe "#create" do
11
- it "adds the default role to the given 'user_name' and 'project_name'" do
12
+ it "adds the default global role to the given 'user_name'" do
12
13
  VCR.use_cassette "role_create" do
14
+ response = @role.create @user_name
15
+
16
+ response.return.must_equal true
17
+ end
18
+ end
19
+
20
+ it "adds the default role to the given 'user_name' and 'project_name'" do
21
+ VCR.use_cassette "role_create_with_project_name" do
13
22
  response = @role.create @user_name, @project_name
14
23
 
15
24
  response.return.must_equal true
16
25
  end
17
26
  end
27
+
28
+ it "adds the specified 'role_name' to the given 'user_name' and 'project_name'" do
29
+ VCR.use_cassette "role_create_with_project_name_and_role_name" do
30
+ response = @role.create @user_name, @project_name, @role_name
31
+
32
+ response.return.must_equal true
33
+ end
34
+ end
35
+
18
36
  end
19
37
 
20
38
  describe "#destroy" do
21
- it "removes the default role to the given 'user_name' and 'project_name'" do
39
+ it "removes the default global role to the given 'user_name'" do
22
40
  VCR.use_cassette "role_destroy" do
41
+ response = @role.destroy @user_name
42
+
43
+ response.return.must_equal true
44
+ end
45
+ end
46
+
47
+ it "removes the default role to the given 'user_name' and 'project_name'" do
48
+ VCR.use_cassette "role_destroy_with_project_name" do
23
49
  response = @role.destroy @user_name, @project_name
24
50
 
25
51
  response.return.must_equal true
26
52
  end
27
53
  end
54
+
55
+ it "removes the specified 'role_name' to the given 'user_name' and 'project_name'" do
56
+ VCR.use_cassette "role_destroy_with_project_name_and_role_name" do
57
+ response = @role.destroy @user_name, @project_name, @role_name
58
+
59
+ response.return.must_equal true
60
+ end
61
+ end
28
62
  end
29
63
 
30
64
  describe "#all" do
@@ -31,7 +31,7 @@ end
31
31
 
32
32
  VCR.config do |c|
33
33
  c.stub_with :fakeweb
34
- c.cassette_library_dir = "test/fixtures/cassettes"
34
+ c.cassette_library_dir = "test/cassettes"
35
35
  c.default_cassette_options = { :record => :none }
36
36
  end
37
37
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: nephophobia
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.4
5
+ version: 0.0.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - John Dewey
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-03-08 00:00:00 -08:00
14
+ date: 2011-03-10 00:00:00 -08:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
@@ -120,39 +120,43 @@ files:
120
120
  - lib/nephophobia/user.rb
121
121
  - lib/nephophobia/version.rb
122
122
  - nephophobia.gemspec
123
- - test/fixtures/cassettes/compute_all.yml
124
- - test/fixtures/cassettes/compute_all_with_filter.yml
125
- - test/fixtures/cassettes/compute_all_with_string_into_int_error.yml
126
- - test/fixtures/cassettes/compute_create.yml
127
- - test/fixtures/cassettes/compute_create_with_optional_params.yml
128
- - test/fixtures/cassettes/compute_destroy.yml
129
- - test/fixtures/cassettes/compute_find.yml
130
- - test/fixtures/cassettes/compute_reboot.yml
131
- - test/fixtures/cassettes/compute_start.yml
132
- - test/fixtures/cassettes/compute_stop.yml
133
- - test/fixtures/cassettes/image_all.yml
134
- - test/fixtures/cassettes/image_all_with_filter.yml
135
- - test/fixtures/cassettes/image_all_with_string_into_int_error.yml
136
- - test/fixtures/cassettes/image_find.yml
137
- - test/fixtures/cassettes/project_add_member.yml
138
- - test/fixtures/cassettes/project_all.yml
139
- - test/fixtures/cassettes/project_all_with_string_into_int_error.yml
140
- - test/fixtures/cassettes/project_create.yml
141
- - test/fixtures/cassettes/project_destroy.yml
142
- - test/fixtures/cassettes/project_find.yml
143
- - test/fixtures/cassettes/project_find_with_invalid_username.yml
144
- - test/fixtures/cassettes/project_members.yml
145
- - test/fixtures/cassettes/project_remove_member.yml
146
- - test/fixtures/cassettes/role_all.yml
147
- - test/fixtures/cassettes/role_all_with_no_roles.yml
148
- - test/fixtures/cassettes/role_all_with_string_into_int_error.yml
149
- - test/fixtures/cassettes/role_create.yml
150
- - test/fixtures/cassettes/role_destroy.yml
151
- - test/fixtures/cassettes/user_create.yml
152
- - test/fixtures/cassettes/user_credentials.yml
153
- - test/fixtures/cassettes/user_destroy.yml
154
- - test/fixtures/cassettes/user_find.yml
155
- - test/fixtures/cassettes/user_find_with_invalid_user_name.yml
123
+ - test/cassettes/compute_all.yml
124
+ - test/cassettes/compute_all_with_filter.yml
125
+ - test/cassettes/compute_all_with_string_into_int_error.yml
126
+ - test/cassettes/compute_create.yml
127
+ - test/cassettes/compute_create_with_optional_params.yml
128
+ - test/cassettes/compute_destroy.yml
129
+ - test/cassettes/compute_find.yml
130
+ - test/cassettes/compute_reboot.yml
131
+ - test/cassettes/compute_start.yml
132
+ - test/cassettes/compute_stop.yml
133
+ - test/cassettes/image_all.yml
134
+ - test/cassettes/image_all_with_filter.yml
135
+ - test/cassettes/image_all_with_string_into_int_error.yml
136
+ - test/cassettes/image_find.yml
137
+ - test/cassettes/project_add_member.yml
138
+ - test/cassettes/project_all.yml
139
+ - test/cassettes/project_all_with_string_into_int_error.yml
140
+ - test/cassettes/project_create.yml
141
+ - test/cassettes/project_destroy.yml
142
+ - test/cassettes/project_find.yml
143
+ - test/cassettes/project_find_with_invalid_username.yml
144
+ - test/cassettes/project_members.yml
145
+ - test/cassettes/project_remove_member.yml
146
+ - test/cassettes/role_all.yml
147
+ - test/cassettes/role_all_with_no_roles.yml
148
+ - test/cassettes/role_all_with_string_into_int_error.yml
149
+ - test/cassettes/role_create.yml
150
+ - test/cassettes/role_create_with_project_name.yml
151
+ - test/cassettes/role_create_with_project_name_and_role_name.yml
152
+ - test/cassettes/role_destroy.yml
153
+ - test/cassettes/role_destroy_with_project_name.yml
154
+ - test/cassettes/role_destroy_with_project_name_and_role_name.yml
155
+ - test/cassettes/user_create.yml
156
+ - test/cassettes/user_credentials.yml
157
+ - test/cassettes/user_destroy.yml
158
+ - test/cassettes/user_find.yml
159
+ - test/cassettes/user_find_with_invalid_user_name.yml
156
160
  - test/lib/aws_test.rb
157
161
  - test/lib/hashify_test.rb
158
162
  - test/lib/nephophobia/compute_test.rb
@@ -191,39 +195,43 @@ signing_key:
191
195
  specification_version: 3
192
196
  summary: Bindings to EC2/OpenStack
193
197
  test_files:
194
- - test/fixtures/cassettes/compute_all.yml
195
- - test/fixtures/cassettes/compute_all_with_filter.yml
196
- - test/fixtures/cassettes/compute_all_with_string_into_int_error.yml
197
- - test/fixtures/cassettes/compute_create.yml
198
- - test/fixtures/cassettes/compute_create_with_optional_params.yml
199
- - test/fixtures/cassettes/compute_destroy.yml
200
- - test/fixtures/cassettes/compute_find.yml
201
- - test/fixtures/cassettes/compute_reboot.yml
202
- - test/fixtures/cassettes/compute_start.yml
203
- - test/fixtures/cassettes/compute_stop.yml
204
- - test/fixtures/cassettes/image_all.yml
205
- - test/fixtures/cassettes/image_all_with_filter.yml
206
- - test/fixtures/cassettes/image_all_with_string_into_int_error.yml
207
- - test/fixtures/cassettes/image_find.yml
208
- - test/fixtures/cassettes/project_add_member.yml
209
- - test/fixtures/cassettes/project_all.yml
210
- - test/fixtures/cassettes/project_all_with_string_into_int_error.yml
211
- - test/fixtures/cassettes/project_create.yml
212
- - test/fixtures/cassettes/project_destroy.yml
213
- - test/fixtures/cassettes/project_find.yml
214
- - test/fixtures/cassettes/project_find_with_invalid_username.yml
215
- - test/fixtures/cassettes/project_members.yml
216
- - test/fixtures/cassettes/project_remove_member.yml
217
- - test/fixtures/cassettes/role_all.yml
218
- - test/fixtures/cassettes/role_all_with_no_roles.yml
219
- - test/fixtures/cassettes/role_all_with_string_into_int_error.yml
220
- - test/fixtures/cassettes/role_create.yml
221
- - test/fixtures/cassettes/role_destroy.yml
222
- - test/fixtures/cassettes/user_create.yml
223
- - test/fixtures/cassettes/user_credentials.yml
224
- - test/fixtures/cassettes/user_destroy.yml
225
- - test/fixtures/cassettes/user_find.yml
226
- - test/fixtures/cassettes/user_find_with_invalid_user_name.yml
198
+ - test/cassettes/compute_all.yml
199
+ - test/cassettes/compute_all_with_filter.yml
200
+ - test/cassettes/compute_all_with_string_into_int_error.yml
201
+ - test/cassettes/compute_create.yml
202
+ - test/cassettes/compute_create_with_optional_params.yml
203
+ - test/cassettes/compute_destroy.yml
204
+ - test/cassettes/compute_find.yml
205
+ - test/cassettes/compute_reboot.yml
206
+ - test/cassettes/compute_start.yml
207
+ - test/cassettes/compute_stop.yml
208
+ - test/cassettes/image_all.yml
209
+ - test/cassettes/image_all_with_filter.yml
210
+ - test/cassettes/image_all_with_string_into_int_error.yml
211
+ - test/cassettes/image_find.yml
212
+ - test/cassettes/project_add_member.yml
213
+ - test/cassettes/project_all.yml
214
+ - test/cassettes/project_all_with_string_into_int_error.yml
215
+ - test/cassettes/project_create.yml
216
+ - test/cassettes/project_destroy.yml
217
+ - test/cassettes/project_find.yml
218
+ - test/cassettes/project_find_with_invalid_username.yml
219
+ - test/cassettes/project_members.yml
220
+ - test/cassettes/project_remove_member.yml
221
+ - test/cassettes/role_all.yml
222
+ - test/cassettes/role_all_with_no_roles.yml
223
+ - test/cassettes/role_all_with_string_into_int_error.yml
224
+ - test/cassettes/role_create.yml
225
+ - test/cassettes/role_create_with_project_name.yml
226
+ - test/cassettes/role_create_with_project_name_and_role_name.yml
227
+ - test/cassettes/role_destroy.yml
228
+ - test/cassettes/role_destroy_with_project_name.yml
229
+ - test/cassettes/role_destroy_with_project_name_and_role_name.yml
230
+ - test/cassettes/user_create.yml
231
+ - test/cassettes/user_credentials.yml
232
+ - test/cassettes/user_destroy.yml
233
+ - test/cassettes/user_find.yml
234
+ - test/cassettes/user_find_with_invalid_user_name.yml
227
235
  - test/lib/aws_test.rb
228
236
  - test/lib/hashify_test.rb
229
237
  - test/lib/nephophobia/compute_test.rb