parliament-ruby 1.0.0.pre3 → 1.0.0.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/parliament/request/base_request.rb +2 -2
- data/lib/parliament/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fce7d9868bffbb9e8dc6d7a74bac5363f162e992
|
4
|
+
data.tar.gz: 123f984616d9b2d5f5e623d9b22ed40a3328ef7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07c5c78e0312f5a73a8444182b7d184dd8628e1c032682246dff42a06ea2f61ab5583fe6716c80a5c47b47387e0e9e9bad74b25474fbce07d32036aa860fa34e
|
7
|
+
data.tar.gz: 944895ca5b29fd03ee27cc744fd763c13868884c59a8d4957b518f591e2e92b3ca9fc0787e8868c5687d93576d15da57b34dc3ace4cf30501b81d71ca991eba9
|
@@ -194,8 +194,8 @@ module Parliament
|
|
194
194
|
def separate_uri(query_url, query_params, additional_params)
|
195
195
|
endpoint = URI.parse(query_url)
|
196
196
|
|
197
|
-
temp_params =
|
198
|
-
temp_params = temp_params.merge(
|
197
|
+
temp_params = endpoint.query ? URI.decode_www_form(endpoint.query).to_h : {}
|
198
|
+
temp_params = temp_params.merge(query_params)
|
199
199
|
temp_params = temp_params.merge(additional_params) unless additional_params.nil?
|
200
200
|
|
201
201
|
endpoint.query = nil
|
data/lib/parliament/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parliament-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.pre4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Rayner
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|