cfn-bridge 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 499550bef61a8283bf9cb987875ffa5c16ac4d16
4
- data.tar.gz: 63f9cac1e6eb28d5fbf10dd733b1bb0358c6b13a
3
+ metadata.gz: 280b19ea15f98e64ee6802b9393c848174ee84aa
4
+ data.tar.gz: f7ace3f96cfa6d81aba82ff82590c4de4e0437a0
5
5
  SHA512:
6
- metadata.gz: de91e9ed011e4560088bf01c2eb23fb23940acb4ef01defd0d2e5f7efd18a7e2683e55fc82227da0348775cfac14ad9431cd79fed53bdbf9238fc88c5ebba52d
7
- data.tar.gz: 84d89899e28c62eefd6fe021824c804c682a613ba23bfe10e48401a0a63c08405ead3f56210396a191d98607f54b7867ca16b0d93d4a64723959920ea379faed
6
+ metadata.gz: 8f5f9172cf3431d7d72d44a17f08da4950ce3eb6920dccd09c457d5096ca56650e611c5ceeab7fb35dd591f32c5f45efab2f450337576f3485f13a7a0542ecdd
7
+ data.tar.gz: 98904baa461538f20bb34af35afcb79080c2c9e854df09158d11a77b14f5406ef1fd9551c0e4e10937008799a8c99f45b3722364d1128f43a459e2984a6377d3
@@ -38,7 +38,7 @@ module CloudFormation
38
38
  else
39
39
  request.fail!("Don't know what to do with resource #{request.resource_type}")
40
40
  end
41
- rescue => ex
41
+ rescue Exception => ex
42
42
  ExceptionNotifier.report_exception(ex, request.request)
43
43
  request.fail!(ex.message)
44
44
  end
@@ -2,6 +2,7 @@ require 'faraday'
2
2
  require 'faraday_middleware'
3
3
  require 'typhoeus'
4
4
  require 'typhoeus/adapters/faraday'
5
+ require 'cloud_formation/bridge/util'
5
6
 
6
7
  module CloudFormation
7
8
  module Bridge
@@ -20,7 +21,11 @@ module CloudFormation
20
21
  f.adapter :typhoeus
21
22
  end
22
23
 
23
- connection.put(url, data, 'Content-Type' => '')
24
+ response = connection.put(url, data, 'Content-Type' => '')
25
+
26
+ Util::LOGGER.info("S3 response was #{response.inspect}")
27
+
28
+ response
24
29
  end
25
30
 
26
31
  end
@@ -1,5 +1,5 @@
1
1
  module CloudFormation
2
2
  module Bridge
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfn-bridge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maurício Linhares