Skip to content
This repository has been archived by the owner on Jan 20, 2019. It is now read-only.

Commit

Permalink
Updated API version
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Dudziak committed Oct 15, 2010
1 parent c1fb8b2 commit af56815
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
37 changes: 19 additions & 18 deletions amazon-ec2.gemspec
Expand Up @@ -9,10 +9,10 @@ Gem::Specification.new do |s|


s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Glenn Rempe"] s.authors = ["Glenn Rempe"]
s.date = %q{2010-06-10} s.date = %q{2010-10-15}
s.description = %q{A Ruby library for accessing the Amazon Web Services EC2, ELB, RDS, Cloudwatch, and Autoscaling APIs.} s.description = %q{A Ruby library for accessing the Amazon Web Services EC2, ELB, RDS, Cloudwatch, and Autoscaling APIs.}
s.email = %q{glenn@rempe.us} s.email = %q{glenn@rempe.us}
s.executables = ["ec2-gem-example.rb", "ec2-gem-profile.rb", "ec2sh", "setup.rb"] s.executables = ["awshell", "ec2sh", "ec2-gem-profile.rb", "setup.rb", "ec2-gem-example.rb"]
s.extra_rdoc_files = [ s.extra_rdoc_files = [
"ChangeLog", "ChangeLog",
"LICENSE", "LICENSE",
Expand All @@ -29,6 +29,7 @@ Gem::Specification.new do |s|
"Rakefile", "Rakefile",
"VERSION", "VERSION",
"amazon-ec2.gemspec", "amazon-ec2.gemspec",
"bin/awshell",
"bin/ec2-gem-example.rb", "bin/ec2-gem-example.rb",
"bin/ec2-gem-profile.rb", "bin/ec2-gem-profile.rb",
"bin/ec2sh", "bin/ec2sh",
Expand Down Expand Up @@ -97,37 +98,37 @@ Gem::Specification.new do |s|
s.rdoc_options = ["--title", "amazon-ec2 documentation", "--line-numbers", "--main", "README.rdoc"] s.rdoc_options = ["--title", "amazon-ec2 documentation", "--line-numbers", "--main", "README.rdoc"]
s.require_paths = ["lib"] s.require_paths = ["lib"]
s.rubyforge_project = %q{amazon-ec2} s.rubyforge_project = %q{amazon-ec2}
s.rubygems_version = %q{1.3.7} s.rubygems_version = %q{1.3.5}
s.summary = %q{Amazon EC2 Ruby Gem} s.summary = %q{Amazon EC2 Ruby Gem}
s.test_files = [ s.test_files = [
"test/test_Autoscaling_groups.rb", "test/test_EC2_console.rb",
"test/test_EC2.rb",
"test/test_EC2_availability_zones.rb",
"test/test_EC2_console.rb",
"test/test_EC2_elastic_ips.rb",
"test/test_EC2_image_attributes.rb",
"test/test_EC2_images.rb",
"test/test_EC2_instances.rb",
"test/test_EC2_keypairs.rb", "test/test_EC2_keypairs.rb",
"test/test_EC2_volumes.rb",
"test/test_EC2_image_attributes.rb",
"test/test_EC2_snapshots.rb",
"test/test_EC2_products.rb", "test/test_EC2_products.rb",
"test/test_EC2_responses.rb", "test/test_RDS.rb",
"test/test_EC2_images.rb",
"test/test_EC2_s3_xmlsimple.rb", "test/test_EC2_s3_xmlsimple.rb",
"test/test_ELB_load_balancers.rb",
"test/test_EC2_instances.rb",
"test/test_Autoscaling_groups.rb",
"test/test_EC2_security_groups.rb", "test/test_EC2_security_groups.rb",
"test/test_EC2_snapshots.rb", "test/test_EC2.rb",
"test/test_EC2_availability_zones.rb",
"test/test_EC2_spot_instance_requests.rb", "test/test_EC2_spot_instance_requests.rb",
"test/test_EC2_responses.rb",
"test/test_EC2_spot_prices.rb", "test/test_EC2_spot_prices.rb",
"test/test_EC2_subnets.rb",
"test/test_EC2_volumes.rb",
"test/test_ELB_load_balancers.rb",
"test/test_helper.rb", "test/test_helper.rb",
"test/test_RDS.rb" "test/test_EC2_subnets.rb",
"test/test_EC2_elastic_ips.rb"
] ]


if s.respond_to? :specification_version then if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3 s.specification_version = 3


if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<xml-simple>, [">= 1.0.12"]) s.add_runtime_dependency(%q<xml-simple>, [">= 1.0.12"])
s.add_development_dependency(%q<mocha>, [">= 0.9.8"]) s.add_development_dependency(%q<mocha>, [">= 0.9.8"])
s.add_development_dependency(%q<test-spec>, [">= 0.10.0"]) s.add_development_dependency(%q<test-spec>, [">= 0.10.0"])
Expand Down
2 changes: 1 addition & 1 deletion lib/AWS/EC2.rb
Expand Up @@ -14,7 +14,7 @@ module EC2
DEFAULT_HOST = 'ec2.amazonaws.com' DEFAULT_HOST = 'ec2.amazonaws.com'
end end


API_VERSION = '2009-11-30' API_VERSION = '2010-08-31'


class Base < AWS::Base class Base < AWS::Base
def api_version def api_version
Expand Down

0 comments on commit af56815

Please sign in to comment.