wolf_core 1.0.34 → 1.0.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wolf_core/infrastructure/http_operations.rb +1 -5
- 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: acd8c1fb76b03ed8a71b1f50f24d12ac5f2ec232a51f912fbc1df195211ff0cb
|
4
|
+
data.tar.gz: dacbb819a52b7593e245e5639beb005c87aae727f9477f17c7298163eb426a5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73e6d10b341fcf8eb708a9b891ed61dd7b6cabcaefd5826bedefea2ab41790fe8740b18210a94533f9a0dccf683d773e5795149c5a15caada1e8c78fb5a84d88
|
7
|
+
data.tar.gz: cfc8803180c94839a8d3514f4d277766617995decbfd0f5b2ed07cff79ba8fe21f1d3cb8d7d505ee97f753374f14a372baecdd644707247727b228f573ac5d15
|
@@ -108,11 +108,7 @@ module WolfCore
|
|
108
108
|
|
109
109
|
def parse_http_response(response)
|
110
110
|
body = begin
|
111
|
-
|
112
|
-
log_object response.body, title: "response.body is"
|
113
|
-
res = JSON.parse(response.body)
|
114
|
-
log_object res, title: "res is"
|
115
|
-
res
|
111
|
+
JSON.parse(response.body)
|
116
112
|
rescue StandardError
|
117
113
|
response.body
|
118
114
|
end
|
data/lib/wolf_core/version.rb
CHANGED