wolf_core 1.0.31 → 1.0.32
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 +4 -4
- data/lib/wolf_core/infrastructure/http_operations.rb +2 -2
- data/lib/wolf_core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bf212902ef121ee65053705d30e1c226aef1af1cb708d594d0d12353bc236f9
|
4
|
+
data.tar.gz: 3c140e5b4243a3ad08daa0ef0d922444390745922b773c0ef818d89606448f6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9b1425a6eb6debcac010f4aeead2b16fb0e4439b108f3ecde8f05f44855a7f699fe6b2956071e7fa1d262d9aef103c836c7ee9041682b2e1d9f61bc5db21e43
|
7
|
+
data.tar.gz: ddb996f7986f679501709dc322761072af410bf03fae4285e1924708993947cea5af5bc66bdc17502c47ca4ab4b9e8a9b35ec4803cf3598593dbd0b315fa6b3b
|
@@ -79,7 +79,7 @@ module WolfCore
|
|
79
79
|
end
|
80
80
|
end
|
81
81
|
|
82
|
-
def safe_http_put(url:, headers: {}, body: nil, query: nil, error_message: nil, title: nil)
|
82
|
+
def safe_http_put(url:, headers: {}, body: nil, query: nil, error_message: nil, title: nil, error_data: nil)
|
83
83
|
response = http_put(url: url, headers: headers, body: body, query: query)
|
84
84
|
response = parse_http_response(response)
|
85
85
|
|
@@ -87,7 +87,7 @@ module WolfCore
|
|
87
87
|
log_object response, title: title
|
88
88
|
|
89
89
|
error_message ||= "Error on safe_http_put"
|
90
|
-
validate_http_response(response: response, message: error_message)
|
90
|
+
validate_http_response(response: response, message: error_message, error_data: error_data)
|
91
91
|
|
92
92
|
response
|
93
93
|
end
|
data/lib/wolf_core/version.rb
CHANGED