amazon-ec2 0.2.15 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +86 -73
- data/README.rdoc +21 -18
- data/Rakefile +0 -1
- data/bin/ec2-gem-example.rb +12 -12
- data/bin/ec2sh +2 -2
- data/bin/setup.rb +5 -5
- data/lib/EC2.rb +3 -3
- data/lib/EC2/availability_zones.rb +4 -5
- data/lib/EC2/console.rb +3 -3
- data/lib/EC2/elastic_ips.rb +2 -2
- data/lib/EC2/exceptions.rb +2 -2
- data/lib/EC2/image_attributes.rb +2 -2
- data/lib/EC2/images.rb +2 -2
- data/lib/EC2/instances.rb +5 -2
- data/lib/EC2/keypairs.rb +2 -2
- data/lib/EC2/products.rb +3 -3
- data/lib/EC2/responses.rb +20 -131
- data/lib/EC2/security_groups.rb +2 -2
- data/lib/EC2/snapshots.rb +94 -0
- data/lib/EC2/volumes.rb +170 -0
- data/test/test_EC2.rb +2 -2
- data/test/test_EC2_availability_zones.rb +4 -4
- data/test/test_EC2_console.rb +4 -4
- data/test/test_EC2_elastic_ips.rb +7 -7
- data/test/test_EC2_image_attributes.rb +12 -12
- data/test/test_EC2_images.rb +6 -6
- data/test/test_EC2_instances.rb +17 -12
- data/test/test_EC2_keypairs.rb +5 -5
- data/test/test_EC2_products.rb +3 -3
- data/test/test_EC2_responses.rb +15 -65
- data/test/test_EC2_security_groups.rb +7 -7
- data/test/test_EC2_snapshots.rb +83 -0
- data/test/test_EC2_volumes.rb +142 -0
- data/test/test_helper.rb +3 -4
- metadata +10 -33
data/test/test_helper.rb
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
# Amazon Web Services EC2 Query API Ruby library
|
3
3
|
#
|
4
4
|
# Ruby Gem Name:: amazon-ec2
|
5
|
-
# Author:: Glenn Rempe (mailto:
|
5
|
+
# Author:: Glenn Rempe (mailto:glenn@rempe.us)
|
6
6
|
# Copyright:: Copyright (c) 2007-2008 Glenn Rempe
|
7
7
|
# License:: Distributes under the same terms as Ruby
|
8
|
-
# Home:: http://amazon-ec2
|
8
|
+
# Home:: http://github.com/grempe/amazon-ec2/tree/master
|
9
9
|
#++
|
10
10
|
|
11
|
-
%w[ test/unit rubygems test/spec mocha
|
11
|
+
%w[ test/unit rubygems test/spec mocha ].each { |f|
|
12
12
|
begin
|
13
13
|
require f
|
14
14
|
rescue LoadError
|
@@ -17,4 +17,3 @@
|
|
17
17
|
}
|
18
18
|
|
19
19
|
require File.dirname(__FILE__) + '/../lib/EC2'
|
20
|
-
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amazon-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Glenn Rempe
|
@@ -9,7 +9,7 @@ autorequire: EC2
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-09-18 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,37 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
24
|
-
version:
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: mocha
|
27
|
-
type: :runtime
|
28
|
-
version_requirement:
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: "0"
|
34
|
-
version:
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: test-spec
|
37
|
-
type: :runtime
|
38
|
-
version_requirement:
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
40
|
-
requirements:
|
41
|
-
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: "0"
|
44
|
-
version:
|
45
|
-
- !ruby/object:Gem::Dependency
|
46
|
-
name: rcov
|
47
|
-
type: :runtime
|
48
|
-
version_requirement:
|
49
|
-
version_requirements: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - ">="
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: "0"
|
23
|
+
version: 1.0.11
|
54
24
|
version:
|
55
25
|
description: An interface library that allows Ruby applications to easily connect to the HTTP 'Query API' for the Amazon Web Services Elastic Compute Cloud (EC2) and manipulate cloud servers.
|
56
26
|
email: glenn.rempe@gmail.com
|
@@ -81,6 +51,8 @@ files:
|
|
81
51
|
- lib/EC2/products.rb
|
82
52
|
- lib/EC2/responses.rb
|
83
53
|
- lib/EC2/security_groups.rb
|
54
|
+
- lib/EC2/snapshots.rb
|
55
|
+
- lib/EC2/volumes.rb
|
84
56
|
- lib/EC2.rb
|
85
57
|
- test/test_EC2.rb
|
86
58
|
- test/test_EC2_availability_zones.rb
|
@@ -93,6 +65,8 @@ files:
|
|
93
65
|
- test/test_EC2_products.rb
|
94
66
|
- test/test_EC2_responses.rb
|
95
67
|
- test/test_EC2_security_groups.rb
|
68
|
+
- test/test_EC2_snapshots.rb
|
69
|
+
- test/test_EC2_volumes.rb
|
96
70
|
- test/test_helper.rb
|
97
71
|
has_rdoc: true
|
98
72
|
homepage: http://github.com/grempe/amazon-ec2/
|
@@ -130,6 +104,7 @@ specification_version: 2
|
|
130
104
|
summary: An interface library that allows Ruby applications to easily connect to the HTTP 'Query API' for the Amazon Web Services Elastic Compute Cloud (EC2) and manipulate cloud servers.
|
131
105
|
test_files:
|
132
106
|
- test/test_EC2.rb
|
107
|
+
- test/test_EC2_availability_zones.rb
|
133
108
|
- test/test_EC2_console.rb
|
134
109
|
- test/test_EC2_elastic_ips.rb
|
135
110
|
- test/test_EC2_image_attributes.rb
|
@@ -139,4 +114,6 @@ test_files:
|
|
139
114
|
- test/test_EC2_products.rb
|
140
115
|
- test/test_EC2_responses.rb
|
141
116
|
- test/test_EC2_security_groups.rb
|
117
|
+
- test/test_EC2_snapshots.rb
|
118
|
+
- test/test_EC2_volumes.rb
|
142
119
|
- test/test_helper.rb
|