filebound_client 0.3.4 → 0.3.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/Gemfile.lock +1 -1
- data/lib/filebound_client.rb +3 -3
- data/lib/filebound_client/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: 4808a3ed4a8e01ede9abe4de836a6ef5ac7da0581f2d7392bc73200745b36854
|
4
|
+
data.tar.gz: 97396e7e7c4fe512e607a1721021e619e9fd024e61b494dde8d0bc1fb78dc280
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92a543b2fe206351d8dbf2cff940bd164bea967f79a975d35c658a183ada436dfd5f515fb10dbde747b458310af96ed461c29472e824784f419b923cbd9b5303
|
7
|
+
data.tar.gz: 5c0f23c559f6571450607214280c1f38bd2459997b17a0d1fa552fa3407b41f9c27e1d8d0072812a44cb1bcf9164ce3e3e11168767ca2cc58efb18bd4339993d
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/filebound_client.rb
CHANGED
@@ -42,7 +42,7 @@ module FileboundClient
|
|
42
42
|
# @param [Hash] query_params the optional query parameters to pass to the GET request
|
43
43
|
# @return [Hash] the JSON parsed hash of the response body
|
44
44
|
def get(url, query_params = nil)
|
45
|
-
JSON.parse(perform('get', url, query: query_params), symbolize_names: true)
|
45
|
+
JSON.parse(perform('get', url, query: query_params), symbolize_names: true, quirks_mode: true)
|
46
46
|
end
|
47
47
|
|
48
48
|
# Executes a GET request on the current Filebound client session expecting binary in the body of the response
|
@@ -60,7 +60,7 @@ module FileboundClient
|
|
60
60
|
# @return [Hash] the JSON parsed hash of the response body
|
61
61
|
def put(url, query_params = nil, body = nil)
|
62
62
|
params = { headers: { 'Content-Type' => 'application/json' }, query: query_params, body: body }
|
63
|
-
JSON.parse(perform('put', url, params), symbolize_names: true)
|
63
|
+
JSON.parse(perform('put', url, params), symbolize_names: true, quirks_mode: true)
|
64
64
|
end
|
65
65
|
|
66
66
|
# Executes a POST request on the current Filebound client session expecting JSON in the body of the request/response
|
@@ -70,7 +70,7 @@ module FileboundClient
|
|
70
70
|
# @return [Hash] the JSON parsed hash of the response body
|
71
71
|
def post(url, query_params = nil, body = nil)
|
72
72
|
params = { headers: { 'Content-Type' => 'application/json' }, query: query_params, body: body }
|
73
|
-
JSON.parse(perform('post', url, params), symbolize_names: true)
|
73
|
+
JSON.parse(perform('post', url, params), symbolize_names: true, quirks_mode: true)
|
74
74
|
end
|
75
75
|
|
76
76
|
# Executes a DELETE request on the current Filebound client session
|