aws-cloudfront 0.0.4 → 0.0.5

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.
@@ -42,12 +42,11 @@ module AWS
42
42
  http = Net::HTTP.new(uri.host, uri.port)
43
43
  http.set_debug_output $stderr if @verbose
44
44
  http.use_ssl = true
45
- response, body = http.get(uri.path, build_authorization_headers)
46
-
45
+ response = http.get(uri.path, build_authorization_headers)
47
46
  raise 'Distribution could not be loaded' unless response.kind_of?(Net::HTTPSuccess)
48
47
 
49
48
  @etag = response.fetch('Etag')
50
- @config = XmlSimple.xml_in(body)
49
+ @config = XmlSimple.xml_in(response.body)
51
50
  end
52
51
 
53
52
  def put_config
@@ -1,5 +1,5 @@
1
1
  module Aws
2
2
  module Cloudfront
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-cloudfront
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-12-23 00:00:00.000000000 Z
14
+ date: 2013-06-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: xml-simple