skippy-amazon-ec2 0.0.2
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/CHANGELOG +243 -0
- data/LICENSE +66 -0
- data/README.rdoc +331 -0
- data/Rakefile +30 -0
- data/bin/ec2-gem-example.rb +58 -0
- data/bin/ec2sh +73 -0
- data/bin/setup.rb +19 -0
- data/lib/EC2.rb +247 -0
- data/lib/EC2/availability_zones.rb +42 -0
- data/lib/EC2/console.rb +44 -0
- data/lib/EC2/elastic_ips.rb +153 -0
- data/lib/EC2/exceptions.rb +136 -0
- data/lib/EC2/image_attributes.rb +166 -0
- data/lib/EC2/images.rb +134 -0
- data/lib/EC2/instances.rb +210 -0
- data/lib/EC2/keypairs.rb +94 -0
- data/lib/EC2/products.rb +43 -0
- data/lib/EC2/responses.rb +175 -0
- data/lib/EC2/security_groups.rb +232 -0
- data/lib/EC2/snapshots.rb +30 -0
- data/lib/EC2/volumes.rb +39 -0
- data/test/test_EC2.rb +52 -0
- data/test/test_EC2_availability_zones.rb +49 -0
- data/test/test_EC2_console.rb +54 -0
- data/test/test_EC2_elastic_ips.rb +144 -0
- data/test/test_EC2_image_attributes.rb +238 -0
- data/test/test_EC2_images.rb +197 -0
- data/test/test_EC2_instances.rb +331 -0
- data/test/test_EC2_keypairs.rb +123 -0
- data/test/test_EC2_products.rb +48 -0
- data/test/test_EC2_responses.rb +102 -0
- data/test/test_EC2_security_groups.rb +205 -0
- data/test/test_helper.rb +20 -0
- metadata +113 -0
data/test/test_helper.rb
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#--
|
|
2
|
+
# Amazon Web Services EC2 Query API Ruby library
|
|
3
|
+
#
|
|
4
|
+
# Ruby Gem Name:: amazon-ec2
|
|
5
|
+
# Author:: Glenn Rempe (mailto:grempe@rubyforge.org)
|
|
6
|
+
# Copyright:: Copyright (c) 2007-2008 Glenn Rempe
|
|
7
|
+
# License:: Distributes under the same terms as Ruby
|
|
8
|
+
# Home:: http://amazon-ec2.rubyforge.org
|
|
9
|
+
#++
|
|
10
|
+
|
|
11
|
+
%w[ test/unit rubygems test/spec mocha ].each { |f|
|
|
12
|
+
begin
|
|
13
|
+
require f
|
|
14
|
+
rescue LoadError
|
|
15
|
+
abort "Unable to load required gem for test: #{f}"
|
|
16
|
+
end
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
require File.dirname(__FILE__) + '/../lib/EC2'
|
|
20
|
+
|
metadata
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: skippy-amazon-ec2
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.2
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Glenn Rempe (modified by Adam Greene)
|
|
8
|
+
autorequire: EC2
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
|
|
12
|
+
date: 2008-08-13 00:00:00 -07:00
|
|
13
|
+
default_executable:
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: xml-simple
|
|
17
|
+
version_requirement:
|
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
19
|
+
requirements:
|
|
20
|
+
- - ">="
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 1.0.11
|
|
23
|
+
version:
|
|
24
|
+
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.
|
|
25
|
+
email: glenn.rempe@gmail.com
|
|
26
|
+
executables:
|
|
27
|
+
- ec2-gem-example.rb
|
|
28
|
+
- ec2sh
|
|
29
|
+
- setup.rb
|
|
30
|
+
extensions: []
|
|
31
|
+
|
|
32
|
+
extra_rdoc_files:
|
|
33
|
+
- README.rdoc
|
|
34
|
+
- CHANGELOG
|
|
35
|
+
- LICENSE
|
|
36
|
+
files:
|
|
37
|
+
- README.rdoc
|
|
38
|
+
- LICENSE
|
|
39
|
+
- CHANGELOG
|
|
40
|
+
- Rakefile
|
|
41
|
+
- lib/EC2
|
|
42
|
+
- lib/EC2/availability_zones.rb
|
|
43
|
+
- lib/EC2/console.rb
|
|
44
|
+
- lib/EC2/elastic_ips.rb
|
|
45
|
+
- lib/EC2/exceptions.rb
|
|
46
|
+
- lib/EC2/image_attributes.rb
|
|
47
|
+
- lib/EC2/images.rb
|
|
48
|
+
- lib/EC2/instances.rb
|
|
49
|
+
- lib/EC2/keypairs.rb
|
|
50
|
+
- lib/EC2/products.rb
|
|
51
|
+
- lib/EC2/responses.rb
|
|
52
|
+
- lib/EC2/security_groups.rb
|
|
53
|
+
- lib/EC2/snapshots.rb
|
|
54
|
+
- lib/EC2/volumes.rb
|
|
55
|
+
- lib/EC2.rb
|
|
56
|
+
- test/test_EC2.rb
|
|
57
|
+
- test/test_EC2_availability_zones.rb
|
|
58
|
+
- test/test_EC2_console.rb
|
|
59
|
+
- test/test_EC2_elastic_ips.rb
|
|
60
|
+
- test/test_EC2_image_attributes.rb
|
|
61
|
+
- test/test_EC2_images.rb
|
|
62
|
+
- test/test_EC2_instances.rb
|
|
63
|
+
- test/test_EC2_keypairs.rb
|
|
64
|
+
- test/test_EC2_products.rb
|
|
65
|
+
- test/test_EC2_responses.rb
|
|
66
|
+
- test/test_EC2_security_groups.rb
|
|
67
|
+
- test/test_helper.rb
|
|
68
|
+
has_rdoc: true
|
|
69
|
+
homepage: http://github.com/skippy/amazon-ec2/
|
|
70
|
+
post_install_message:
|
|
71
|
+
rdoc_options:
|
|
72
|
+
- --quiet
|
|
73
|
+
- --title
|
|
74
|
+
- amazon-ec2 documentation
|
|
75
|
+
- --opname
|
|
76
|
+
- index.html
|
|
77
|
+
- --line-numbers
|
|
78
|
+
- --main
|
|
79
|
+
- README.rdoc
|
|
80
|
+
- --inline-source
|
|
81
|
+
require_paths:
|
|
82
|
+
- lib
|
|
83
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
|
+
requirements:
|
|
85
|
+
- - ">="
|
|
86
|
+
- !ruby/object:Gem::Version
|
|
87
|
+
version: "0"
|
|
88
|
+
version:
|
|
89
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
|
+
requirements:
|
|
91
|
+
- - ">="
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
version: "0"
|
|
94
|
+
version:
|
|
95
|
+
requirements: []
|
|
96
|
+
|
|
97
|
+
rubyforge_project:
|
|
98
|
+
rubygems_version: 1.2.0
|
|
99
|
+
signing_key:
|
|
100
|
+
specification_version: 2
|
|
101
|
+
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.
|
|
102
|
+
test_files:
|
|
103
|
+
- test/test_EC2.rb
|
|
104
|
+
- test/test_EC2_console.rb
|
|
105
|
+
- test/test_EC2_elastic_ips.rb
|
|
106
|
+
- test/test_EC2_image_attributes.rb
|
|
107
|
+
- test/test_EC2_images.rb
|
|
108
|
+
- test/test_EC2_instances.rb
|
|
109
|
+
- test/test_EC2_keypairs.rb
|
|
110
|
+
- test/test_EC2_products.rb
|
|
111
|
+
- test/test_EC2_responses.rb
|
|
112
|
+
- test/test_EC2_security_groups.rb
|
|
113
|
+
- test/test_helper.rb
|