filebound_client 0.3.4 → 0.3.5

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
  SHA256:
3
- metadata.gz: 8156e7efc52c251f7da708595679f9cef56dbe2f1ccfe2e3c885bb3984bf0e58
4
- data.tar.gz: 28b7efd8ab5961dbda136b339463837e82c4bd7340a50916e59aecd2f6b35ea7
3
+ metadata.gz: 4808a3ed4a8e01ede9abe4de836a6ef5ac7da0581f2d7392bc73200745b36854
4
+ data.tar.gz: 97396e7e7c4fe512e607a1721021e619e9fd024e61b494dde8d0bc1fb78dc280
5
5
  SHA512:
6
- metadata.gz: b11fb0336dc19655ea72ff67e6eff8ddff378cfc988fbe539b40f6c85ef75b5396ee2a1d84f1b03bf899bd3590d637035406cce9dd3918a2eff07197f122d78a
7
- data.tar.gz: d784366f53fe5e96cf8764ee7f68f3714c8c16913cda326067b32948953c84846f93f7abfc88e24f0c399208c4c643b36bf93bf33ab09646d5ebc796d9983863
6
+ metadata.gz: 92a543b2fe206351d8dbf2cff940bd164bea967f79a975d35c658a183ada436dfd5f515fb10dbde747b458310af96ed461c29472e824784f419b923cbd9b5303
7
+ data.tar.gz: 5c0f23c559f6571450607214280c1f38bd2459997b17a0d1fa552fa3407b41f9c27e1d8d0072812a44cb1bcf9164ce3e3e11168767ca2cc58efb18bd4339993d
data/CHANGELOG.md CHANGED
@@ -3,7 +3,13 @@
3
3
 
4
4
  Changes to this gem will be noted here.
5
5
 
6
- ## [0.3.3] - 2019-03-20
6
+ ## [0.3.5] - 2019-03-20
7
+
8
+ ### Changed
9
+
10
+ - Enabled quirks mode on the JSON parser for all responses being parsed.
11
+
12
+ ## [0.3.4] - 2019-03-20
7
13
 
8
14
  ### Changed
9
15
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- filebound_client (0.3.3)
4
+ filebound_client (0.3.5)
5
5
  httpi (~> 2.4.0)
6
6
  rubyntlm (~> 0.6.0)
7
7
 
@@ -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
@@ -1,4 +1,4 @@
1
1
  module FileboundClient
2
2
  # Current version of gem
3
- VERSION = '0.3.4'.freeze
3
+ VERSION = '0.3.5'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filebound_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Richardson