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

Commit

Permalink
Removed debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Dudziak committed Oct 15, 2010
1 parent a5eb3b5 commit 6e1d8e2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
32 changes: 16 additions & 16 deletions amazon-ec2.gemspec
@@ -1,6 +1,6 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
Expand All @@ -12,7 +12,7 @@ Gem::Specification.new do |s|
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.email = %q{glenn@rempe.us}
s.executables = ["awshell", "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 = [
"ChangeLog",
"LICENSE",
Expand Down Expand Up @@ -102,27 +102,27 @@ Gem::Specification.new do |s|
s.rubygems_version = %q{1.3.5}
s.summary = %q{Amazon EC2 Ruby Gem}
s.test_files = [
"test/test_Autoscaling_groups.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_console.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_responses.rb",
"test/test_RDS.rb",
"test/test_EC2_images.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_snapshots.rb",
"test/test_EC2.rb",
"test/test_EC2_availability_zones.rb",
"test/test_EC2_spot_instance_requests.rb",
"test/test_EC2_responses.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_RDS.rb"
"test/test_EC2_subnets.rb",
"test/test_EC2_elastic_ips.rb"
]

if s.respond_to? :specification_version then
Expand Down
3 changes: 1 addition & 2 deletions lib/AWS.rb
Expand Up @@ -255,8 +255,6 @@ def make_request(action, params, data='')
CGI::escape(param[0]) + "=" + CGI::escape(param[1])
end.join("&") + "&Signature=" + sig

puts(query);

req = Net::HTTP::Post.new("/")
req.content_type = 'application/x-www-form-urlencoded'
req['User-Agent'] = "github-amazon-ec2-ruby-gem"
Expand Down Expand Up @@ -291,6 +289,7 @@ def response_generator( options = {} )

http_response = make_request(options[:action], options[:params])
http_xml = http_response.body

return Response.parse(:xml => http_xml)
end

Expand Down

0 comments on commit 6e1d8e2

Please sign in to comment.