rest-client-wrapper 3.2.0 → 3.2.1
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: 672349eafd0d9487fd074d58761e4aa8de061bf370d165359d8a6378a0911af0
|
|
4
|
+
data.tar.gz: 7445c62040064f225ed52d81e0413e3f0cad2bde4843476a2ec486dbe5a92bb9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40477e74390f5cbc3f2fda466baf98cdaed8ce462508c1a40e881f190fba85449ef5dd1fc8c378bf2ab99a3dcefda97ea1bf19f2a94a78bb7206137aa1d3ff38
|
|
7
|
+
data.tar.gz: 9015cd901cfaa23fccd76f1f7b39223ed28f1c9a0111b10c080192a32cd0a0f2385c4f798b4a174966d991b2461fb0296a7ea673e1a2563b4067de463eb33b01
|
|
@@ -55,7 +55,7 @@ module RestClientWrapper
|
|
|
55
55
|
private
|
|
56
56
|
|
|
57
57
|
def _pagination_links(response)
|
|
58
|
-
next_l = response&.body&.[](:next) || ""
|
|
58
|
+
next_l = response&.body.class == Hash ? response&.body&.[](:next) || "" : ""
|
|
59
59
|
next_h = Rack::Utils.parse_query(URI.parse(next_l)&.query)
|
|
60
60
|
return next_h.symbolize_keys!
|
|
61
61
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rest-client-wrapper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.2.
|
|
4
|
+
version: 3.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- University of Adelaide
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-11-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|
|
@@ -180,7 +180,7 @@ licenses:
|
|
|
180
180
|
- GPL 3.0
|
|
181
181
|
metadata:
|
|
182
182
|
allowed_push_host: https://rubygems.org
|
|
183
|
-
post_install_message:
|
|
183
|
+
post_install_message:
|
|
184
184
|
rdoc_options: []
|
|
185
185
|
require_paths:
|
|
186
186
|
- lib
|
|
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
196
196
|
version: '0'
|
|
197
197
|
requirements: []
|
|
198
198
|
rubygems_version: 3.0.3
|
|
199
|
-
signing_key:
|
|
199
|
+
signing_key:
|
|
200
200
|
specification_version: 4
|
|
201
201
|
summary: Rest client wrapper
|
|
202
202
|
test_files:
|