cloudformation-tool 1.0.7 → 1.0.9
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b44f3ef0d04f6c9f0329d1e081a529ce1cfdd3e8b2da7c85be51b224957faae
|
|
4
|
+
data.tar.gz: d43a5b5968ae31fd7b3969a45a3c09814f91dcbcc6e39e9a6fb3b30444d9a031
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 062c2685822c31422a64356af5b2e4197d3436401d94528c0cede97ab94774c565c83da36937fb532c2133fd3a67fa6cb5c7d248b7ad89a622a5f05794e6731c
|
|
7
|
+
data.tar.gz: 79c31fdf1bc03b52a0864ee4f9cfe325a2036800bae3cae2e473d8b67f7ad64373d2720c0849518c38e3403662dc7129a32312dbb5aecf22e0356770bcb28927
|
|
@@ -61,7 +61,7 @@ module CloudFormationTool
|
|
|
61
61
|
case response
|
|
62
62
|
when Net::HTTPSuccess then
|
|
63
63
|
url = nil
|
|
64
|
-
|
|
64
|
+
break if check_cached(response['ETag']) # dont read the body if its already cached
|
|
65
65
|
when Net::HTTPRedirection then
|
|
66
66
|
location = response['location']
|
|
67
67
|
debug "Cache check redirected to #{location}"
|
|
@@ -69,7 +69,6 @@ module CloudFormationTool
|
|
|
69
69
|
response.body
|
|
70
70
|
url = URI(location)
|
|
71
71
|
else
|
|
72
|
-
error "arg err"
|
|
73
72
|
raise ArgumentError, "Error getting response: #{response}"
|
|
74
73
|
end
|
|
75
74
|
end
|