nephophobia 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/nephophobia/project.rb +11 -3
- data/lib/nephophobia/role.rb +16 -9
- data/lib/nephophobia/version.rb +1 -1
- data/test/{fixtures/cassettes → cassettes}/compute_all.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/compute_all_with_filter.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/compute_all_with_string_into_int_error.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/compute_create.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/compute_create_with_optional_params.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/compute_destroy.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/compute_find.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/compute_reboot.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/compute_start.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/compute_stop.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/image_all.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/image_all_with_filter.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/image_all_with_string_into_int_error.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/image_find.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/project_add_member.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/project_all.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/project_all_with_string_into_int_error.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/project_create.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/project_destroy.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/project_find.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/project_find_with_invalid_username.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/project_members.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/project_remove_member.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/role_all.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/role_all_with_no_roles.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/role_all_with_string_into_int_error.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/role_create.yml +0 -0
- data/test/cassettes/role_create_with_project_name.yml +28 -0
- data/test/cassettes/role_create_with_project_name_and_role_name.yml +28 -0
- data/test/{fixtures/cassettes → cassettes}/role_destroy.yml +0 -0
- data/test/cassettes/role_destroy_with_project_name.yml +28 -0
- data/test/cassettes/role_destroy_with_project_name_and_role_name.yml +28 -0
- data/test/{fixtures/cassettes → cassettes}/user_create.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/user_credentials.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/user_destroy.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/user_find.yml +0 -0
- data/test/{fixtures/cassettes → cassettes}/user_find_with_invalid_user_name.yml +0 -0
- data/test/lib/nephophobia/role_test.rb +36 -2
- data/test/test_helper.rb +1 -1
- metadata +76 -68
data/Gemfile.lock
CHANGED
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
|
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
|
|
data/lib/nephophobia/project.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Nephophobia
|
2
2
|
class ProjectData
|
3
|
-
attr_reader :name, :manager_id, :description
|
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
|
-
|
99
|
+
MemberData.new data
|
92
100
|
end
|
93
101
|
end
|
94
102
|
|
data/lib/nephophobia/role.rb
CHANGED
@@ -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
|
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+:
|
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
|
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+:
|
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
|
|
data/lib/nephophobia/version.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -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"
|
File without changes
|
@@ -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"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -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'
|
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'
|
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
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: nephophobia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
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-
|
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/
|
124
|
-
- test/
|
125
|
-
- test/
|
126
|
-
- test/
|
127
|
-
- test/
|
128
|
-
- test/
|
129
|
-
- test/
|
130
|
-
- test/
|
131
|
-
- test/
|
132
|
-
- test/
|
133
|
-
- test/
|
134
|
-
- test/
|
135
|
-
- test/
|
136
|
-
- test/
|
137
|
-
- test/
|
138
|
-
- test/
|
139
|
-
- test/
|
140
|
-
- test/
|
141
|
-
- test/
|
142
|
-
- test/
|
143
|
-
- test/
|
144
|
-
- test/
|
145
|
-
- test/
|
146
|
-
- test/
|
147
|
-
- test/
|
148
|
-
- test/
|
149
|
-
- test/
|
150
|
-
- test/
|
151
|
-
- test/
|
152
|
-
- test/
|
153
|
-
- test/
|
154
|
-
- test/
|
155
|
-
- test/
|
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/
|
195
|
-
- test/
|
196
|
-
- test/
|
197
|
-
- test/
|
198
|
-
- test/
|
199
|
-
- test/
|
200
|
-
- test/
|
201
|
-
- test/
|
202
|
-
- test/
|
203
|
-
- test/
|
204
|
-
- test/
|
205
|
-
- test/
|
206
|
-
- test/
|
207
|
-
- test/
|
208
|
-
- test/
|
209
|
-
- test/
|
210
|
-
- test/
|
211
|
-
- test/
|
212
|
-
- test/
|
213
|
-
- test/
|
214
|
-
- test/
|
215
|
-
- test/
|
216
|
-
- test/
|
217
|
-
- test/
|
218
|
-
- test/
|
219
|
-
- test/
|
220
|
-
- test/
|
221
|
-
- test/
|
222
|
-
- test/
|
223
|
-
- test/
|
224
|
-
- test/
|
225
|
-
- test/
|
226
|
-
- test/
|
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
|