Permalink
Browse files

Minor change to support ruby 1.9.3

  • Loading branch information...
1 parent 90ae2ec commit d13e9a26a44e409943f774e0174c9f3377718be3 @pcorliss committed Jul 27, 2011
Showing with 4 additions and 4 deletions.
  1. +3 −3 lib/route53.rb
  2. +1 −1 lib/route53/version.rb
View
@@ -45,10 +45,10 @@ def request(url,type = "GET",data = nil)
'X-Amzn-Authorization' => "AWS3-HTTPS AWSAccessKeyId=#{@accesskey},Algorithm=HmacSHA256,Signature=#{signature}",
'Content-Type' => 'text/xml; charset=UTF-8'
}
- resp, raw_resp = http.send_request(type,uri.path+"?"+(uri.query.nil? ? "" : uri.query),data,headers)
+ resp = http.send_request(type,uri.path+"?"+(uri.query.nil? ? "" : uri.query),data,headers)
#puts "Resp:"+resp.to_s if @verbose
- #puts "XML_RESP:"+raw_resp if @verbose
- return AWSResponse.new(raw_resp,self)
+ #puts "RespBody: #{resp.body}" if @verbose
+ return AWSResponse.new(resp.body,self)
end
def get_zones(name = nil)
@@ -1,3 +1,3 @@
module Route53
- VERSION = "0.2.0"
+ VERSION = "0.2.1"
end

0 comments on commit d13e9a2

Please sign in to comment.