cloudservers 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.rdoc +4 -0
- data/Rakefile +7 -0
- data/cloudservers.gemspec +8 -1
- data/lib/cloudservers/version.rb +1 -1
- metadata +38 -57
- data/VERSION +0 -1
- data/test/fixtures/create_server.json +0 -23
- data/test/fixtures/list_servers.json +0 -45
- data/test/fixtures/test_server.json +0 -24
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2fe659d611d7af97a190507cdb77286d2fbf5e07
|
4
|
+
data.tar.gz: f597ceaaef6cab2745b12ec280d3c6fa4d806a54
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4d8eb134c92c76e0fe40bdce7eeea5ba8993b5ba47a1230aef1f9256c1947005d54299af828f3d4acf577bcd56048fcc0ee0230c6b8ff49d6009f11afa25dc34
|
7
|
+
data.tar.gz: 86f9b7f5541d5d629778cb4ba54e6b596a7182a3a08ce6faa9aebe3aa0a4f0e453749af4b397e111446cd4b170604822734e9896662ccc851a8e4bcea8811a8a
|
data/README.rdoc
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
= Rackspace Cloud Servers
|
2
2
|
|
3
|
+
== Deprecation Notice
|
4
|
+
|
5
|
+
This project is deprecated. New projects should use fog[https://github.com/fog/fog] instead.
|
6
|
+
|
3
7
|
== Description
|
4
8
|
|
5
9
|
This is a Ruby interface into the Rackspace[http://rackspacecloud.com/] {Cloud Servers}[http://www.rackspacecloud.com/cloud_hosting_products/servers] service. Cloud Servers from The Rackspace Cloud put you in complete control of your hosting infrastructure. Each Cloud Server is a fully-customizable, pay by the hour, virtualized Windows or Linux server instance that you launch, maintain, and control with full root access.
|
data/Rakefile
CHANGED
@@ -12,6 +12,13 @@ begin
|
|
12
12
|
gemspec.homepage = "https://github.com/rackspace/ruby-cloudservers"
|
13
13
|
gemspec.authors = ["H. Wade Minter","Mike Mayo", "Dan Prince"]
|
14
14
|
gemspec.add_dependency 'json'
|
15
|
+
gemspec.post_install_message = %Q{
|
16
|
+
**** PLEASE NOTE **********************************************************************************************
|
17
|
+
|
18
|
+
#{gemspec.name} has been deprecated. Please consider using fog (http://github.com/fog/fog) for all new projects.
|
19
|
+
|
20
|
+
***************************************************************************************************************
|
21
|
+
} if gemspec.respond_to? :post_install_message
|
15
22
|
end
|
16
23
|
rescue LoadError
|
17
24
|
puts "Jeweler not available. Install it with: sudo gem install jeweler"
|
data/cloudservers.gemspec
CHANGED
@@ -9,6 +9,13 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.date = %q{2011-02-02}
|
10
10
|
s.description = %q{A Ruby API to version 1.0 of the Rackspace Cloud Servers product.}
|
11
11
|
s.email = %q{minter@lunenburg.org}
|
12
|
+
s.post_install_message = %Q{
|
13
|
+
**** PLEASE NOTE **********************************************************************************************
|
14
|
+
|
15
|
+
#{s.name} has been deprecated. Please consider using fog (http://github.com/fog/fog) for all new projects.
|
16
|
+
|
17
|
+
***************************************************************************************************************
|
18
|
+
} if s.respond_to? :post_install_message
|
12
19
|
s.extra_rdoc_files = [
|
13
20
|
"README.rdoc",
|
14
21
|
"TODO"
|
@@ -36,7 +43,7 @@ Gem::Specification.new do |s|
|
|
36
43
|
"test/cloudservers_servers_test.rb",
|
37
44
|
"test/test_helper.rb"
|
38
45
|
]
|
39
|
-
s.homepage = %q{https://github.com/
|
46
|
+
s.homepage = %q{https://github.com/rackerlabs/ruby-cloudservers}
|
40
47
|
s.require_paths = ["lib"]
|
41
48
|
s.rubygems_version = %q{1.3.7}
|
42
49
|
s.summary = %q{Rackspace Cloud Servers Ruby API}
|
data/lib/cloudservers/version.rb
CHANGED
metadata
CHANGED
@@ -1,55 +1,44 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudservers
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease: false
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 2
|
10
|
-
version: 0.4.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.3
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- H. Wade Minter
|
14
8
|
- Mike Mayo
|
15
9
|
- Dan Prince
|
16
10
|
autorequire:
|
17
11
|
bindir: bin
|
18
12
|
cert_chain: []
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
dependencies:
|
23
|
-
- !ruby/object:Gem::Dependency
|
13
|
+
date: 2011-02-02 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
24
16
|
name: json
|
25
|
-
|
26
|
-
|
27
|
-
none: false
|
28
|
-
requirements:
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
29
19
|
- - ">="
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
|
32
|
-
segments:
|
33
|
-
- 0
|
34
|
-
version: "0"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
35
22
|
type: :runtime
|
36
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '0'
|
37
29
|
description: A Ruby API to version 1.0 of the Rackspace Cloud Servers product.
|
38
30
|
email: minter@lunenburg.org
|
39
31
|
executables: []
|
40
|
-
|
41
32
|
extensions: []
|
42
|
-
|
43
|
-
extra_rdoc_files:
|
33
|
+
extra_rdoc_files:
|
44
34
|
- README.rdoc
|
45
35
|
- TODO
|
46
|
-
files:
|
36
|
+
files:
|
47
37
|
- CHANGELOG
|
48
38
|
- COPYING
|
49
39
|
- README.rdoc
|
50
40
|
- Rakefile
|
51
41
|
- TODO
|
52
|
-
- VERSION
|
53
42
|
- cloudservers.gemspec
|
54
43
|
- lib/cloudservers.rb
|
55
44
|
- lib/cloudservers/authentication.rb
|
@@ -65,45 +54,37 @@ files:
|
|
65
54
|
- test/cloudservers_connection_test.rb
|
66
55
|
- test/cloudservers_exception_test.rb
|
67
56
|
- test/cloudservers_servers_test.rb
|
68
|
-
- test/fixtures/create_server.json
|
69
|
-
- test/fixtures/list_servers.json
|
70
|
-
- test/fixtures/test_server.json
|
71
57
|
- test/test_helper.rb
|
72
|
-
|
73
|
-
homepage: https://github.com/rackspace/ruby-cloudservers
|
58
|
+
homepage: https://github.com/rackerlabs/ruby-cloudservers
|
74
59
|
licenses: []
|
60
|
+
metadata: {}
|
61
|
+
post_install_message: |2
|
75
62
|
|
76
|
-
|
77
|
-
|
63
|
+
**** PLEASE NOTE **********************************************************************************************
|
64
|
+
|
65
|
+
cloudservers has been deprecated. Please consider using fog (http://github.com/fog/fog) for all new projects.
|
78
66
|
|
79
|
-
|
67
|
+
***************************************************************************************************************
|
68
|
+
rdoc_options: []
|
69
|
+
require_paths:
|
80
70
|
- lib
|
81
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
82
|
-
|
83
|
-
requirements:
|
71
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
84
73
|
- - ">="
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
version: "0"
|
90
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
|
-
requirements:
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
93
78
|
- - ">="
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
|
96
|
-
segments:
|
97
|
-
- 0
|
98
|
-
version: "0"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
99
81
|
requirements: []
|
100
|
-
|
101
82
|
rubyforge_project:
|
102
|
-
rubygems_version:
|
83
|
+
rubygems_version: 2.2.2
|
103
84
|
signing_key:
|
104
85
|
specification_version: 3
|
105
86
|
summary: Rackspace Cloud Servers Ruby API
|
106
|
-
test_files:
|
87
|
+
test_files:
|
107
88
|
- test/cloudservers_authentication_test.rb
|
108
89
|
- test/cloudservers_connection_test.rb
|
109
90
|
- test/cloudservers_exception_test.rb
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.4.2
|
@@ -1,23 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"server" : {
|
3
|
-
"id" : 1234,
|
4
|
-
"name" : "sample-server",
|
5
|
-
"imageId" : 2,
|
6
|
-
"flavorId" : 1,
|
7
|
-
"hostId" : "e4d909c290d0fb1ca068ffaddf22cbd0",
|
8
|
-
"adminPass" : "blah",
|
9
|
-
"status" : "BUILD",
|
10
|
-
"progress" : 60,
|
11
|
-
"addresses" : {
|
12
|
-
"public" : [
|
13
|
-
"67.23.10.132"
|
14
|
-
],
|
15
|
-
"private" : [
|
16
|
-
"10.176.42.16"
|
17
|
-
]
|
18
|
-
},
|
19
|
-
"metadata" : {
|
20
|
-
"Racker" : "Fanatical"
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"servers" : [
|
3
|
-
{
|
4
|
-
"id" : 1234,
|
5
|
-
"name" : "sample-server",
|
6
|
-
"imageId" : 2,
|
7
|
-
"flavorId" : 1,
|
8
|
-
"hostId" : "e4d909c290d0fb1ca068ffaddf22cbd0",
|
9
|
-
"status" : "BUILD",
|
10
|
-
"progress" : 60,
|
11
|
-
"addresses" : {
|
12
|
-
"public" : [
|
13
|
-
"67.23.10.132",
|
14
|
-
"67.23.10.131"
|
15
|
-
],
|
16
|
-
"private" : [
|
17
|
-
"10.176.42.16"
|
18
|
-
]
|
19
|
-
},
|
20
|
-
"metadata" : {
|
21
|
-
"Server Label" : "Web Head 1",
|
22
|
-
"Image Version" : "2.1"
|
23
|
-
}
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"id" : 5678,
|
27
|
-
"name" : "sample-server2",
|
28
|
-
"imageId" : 2,
|
29
|
-
"flavorId" : 1,
|
30
|
-
"hostId" : "9e107d9d372bb6826bd81d3542a419d6",
|
31
|
-
"status" : "ACTIVE",
|
32
|
-
"addresses" : {
|
33
|
-
"public" : [
|
34
|
-
"67.23.10.133"
|
35
|
-
],
|
36
|
-
"private" : [
|
37
|
-
"10.176.42.17"
|
38
|
-
]
|
39
|
-
},
|
40
|
-
"metadata" : {
|
41
|
-
"Server Label" : "DB 1"
|
42
|
-
}
|
43
|
-
}
|
44
|
-
]
|
45
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"server" : {
|
3
|
-
"id" : 1234,
|
4
|
-
"name" : "sample-server",
|
5
|
-
"imageId" : 2,
|
6
|
-
"flavorId" : 1,
|
7
|
-
"hostId" : "e4d909c290d0fb1ca068ffaddf22cbd0",
|
8
|
-
"status" : "BUILD",
|
9
|
-
"progress" : 60,
|
10
|
-
"addresses" : {
|
11
|
-
"public" : [
|
12
|
-
"67.23.10.132",
|
13
|
-
"67.23.10.131"
|
14
|
-
],
|
15
|
-
"private" : [
|
16
|
-
"10.176.42.16"
|
17
|
-
]
|
18
|
-
},
|
19
|
-
"metadata" : {
|
20
|
-
"Server Label" : "Web Head 1",
|
21
|
-
"Image Version" : "2.1"
|
22
|
-
}
|
23
|
-
}
|
24
|
-
}
|