amazon-ec2 0.9.14 → 0.9.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/amazon-ec2.gemspec +4 -4
  3. data/lib/AWS/EC2.rb +0 -2
  4. metadata +19 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.14
1
+ 0.9.15
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{amazon-ec2}
8
- s.version = "0.9.14"
8
+ s.version = "0.9.15"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Glenn Rempe"]
12
- s.date = %q{2010-05-23}
12
+ s.date = %q{2010-06-10}
13
13
  s.description = %q{A Ruby library for accessing the Amazon Web Services EC2, ELB, RDS, Cloudwatch, and Autoscaling APIs.}
14
14
  s.email = %q{glenn@rempe.us}
15
15
  s.executables = ["ec2-gem-example.rb", "ec2-gem-profile.rb", "ec2sh", "setup.rb"]
@@ -97,7 +97,7 @@ Gem::Specification.new do |s|
97
97
  s.rdoc_options = ["--title", "amazon-ec2 documentation", "--line-numbers", "--main", "README.rdoc"]
98
98
  s.require_paths = ["lib"]
99
99
  s.rubyforge_project = %q{amazon-ec2}
100
- s.rubygems_version = %q{1.3.6}
100
+ s.rubygems_version = %q{1.3.7}
101
101
  s.summary = %q{Amazon EC2 Ruby Gem}
102
102
  s.test_files = [
103
103
  "test/test_Autoscaling_groups.rb",
@@ -127,7 +127,7 @@ Gem::Specification.new do |s|
127
127
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
128
128
  s.specification_version = 3
129
129
 
130
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
130
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
131
131
  s.add_runtime_dependency(%q<xml-simple>, [">= 1.0.12"])
132
132
  s.add_development_dependency(%q<mocha>, [">= 0.9.8"])
133
133
  s.add_development_dependency(%q<test-spec>, [">= 0.10.0"])
@@ -8,8 +8,6 @@ module AWS
8
8
  # export EC2_URL='https://ec2.amazonaws.com'
9
9
  if ENV['EC2_URL']
10
10
  EC2_URL = ENV['EC2_URL']
11
- VALID_HOSTS = ['https://ec2.amazonaws.com', 'https://us-east-1.ec2.amazonaws.com', 'https://us-west-1.ec2.amazonaws.com', 'https://eu-west-1.ec2.amazonaws.com']
12
- raise ArgumentError, "Invalid EC2_URL environment variable : #{EC2_URL}" unless VALID_HOSTS.include?(EC2_URL.chomp('/'))
13
11
  DEFAULT_HOST = URI.parse(EC2_URL).host
14
12
  else
15
13
  # Default US API endpoint
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon-ec2
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 37
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 9
8
- - 14
9
- version: 0.9.14
9
+ - 15
10
+ version: 0.9.15
10
11
  platform: ruby
11
12
  authors:
12
13
  - Glenn Rempe
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-05-23 00:00:00 -07:00
18
+ date: 2010-06-10 00:00:00 -07:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: xml-simple
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 15
27
30
  segments:
28
31
  - 1
29
32
  - 0
@@ -35,9 +38,11 @@ dependencies:
35
38
  name: mocha
36
39
  prerelease: false
37
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
38
42
  requirements:
39
43
  - - ">="
40
44
  - !ruby/object:Gem::Version
45
+ hash: 43
41
46
  segments:
42
47
  - 0
43
48
  - 9
@@ -49,9 +54,11 @@ dependencies:
49
54
  name: test-spec
50
55
  prerelease: false
51
56
  requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
52
58
  requirements:
53
59
  - - ">="
54
60
  - !ruby/object:Gem::Version
61
+ hash: 55
55
62
  segments:
56
63
  - 0
57
64
  - 10
@@ -63,9 +70,11 @@ dependencies:
63
70
  name: rcov
64
71
  prerelease: false
65
72
  requirement: &id004 !ruby/object:Gem::Requirement
73
+ none: false
66
74
  requirements:
67
75
  - - ">="
68
76
  - !ruby/object:Gem::Version
77
+ hash: 55
69
78
  segments:
70
79
  - 0
71
80
  - 9
@@ -77,9 +86,11 @@ dependencies:
77
86
  name: perftools.rb
78
87
  prerelease: false
79
88
  requirement: &id005 !ruby/object:Gem::Requirement
89
+ none: false
80
90
  requirements:
81
91
  - - ">="
82
92
  - !ruby/object:Gem::Version
93
+ hash: 1
83
94
  segments:
84
95
  - 0
85
96
  - 3
@@ -188,23 +199,27 @@ rdoc_options:
188
199
  require_paths:
189
200
  - lib
190
201
  required_ruby_version: !ruby/object:Gem::Requirement
202
+ none: false
191
203
  requirements:
192
204
  - - ">="
193
205
  - !ruby/object:Gem::Version
206
+ hash: 3
194
207
  segments:
195
208
  - 0
196
209
  version: "0"
197
210
  required_rubygems_version: !ruby/object:Gem::Requirement
211
+ none: false
198
212
  requirements:
199
213
  - - ">="
200
214
  - !ruby/object:Gem::Version
215
+ hash: 3
201
216
  segments:
202
217
  - 0
203
218
  version: "0"
204
219
  requirements: []
205
220
 
206
221
  rubyforge_project: amazon-ec2
207
- rubygems_version: 1.3.6
222
+ rubygems_version: 1.3.7
208
223
  signing_key:
209
224
  specification_version: 3
210
225
  summary: Amazon EC2 Ruby Gem