uri_service 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uri_service/client.rb +1 -0
- data/lib/uri_service/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75ad707f21443babe0ceb42ed1308d76a34fbb88
|
4
|
+
data.tar.gz: 4db43247ab0ace31820458c6768ad959e1dec9a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4d8a6b63f5d4dcc3852346413390ac58588b190499753b1955cf991fb8e9d90ab2a20baf1f23b9c477a1880d937f1373155581283dd3944914d7f5ecaa7c9da
|
7
|
+
data.tar.gz: cff892e9af456055f9cdc6c2e238e9a919cf67e43f1116163ab834a4777aa0849633e23f109249a86c1f8a209b6c9557a592d241c813fa071685ae6b0a163d37
|
data/lib/uri_service/client.rb
CHANGED
@@ -170,6 +170,7 @@ class UriService::Client
|
|
170
170
|
value = opts.delete(:value)
|
171
171
|
uri = opts.delete(:uri)
|
172
172
|
authority = opts.has_key?(:authority) ? opts.delete(:authority) : ''
|
173
|
+
authority = '' if authority.nil?
|
173
174
|
additional_fields = opts.delete(:additional_fields) || {}
|
174
175
|
|
175
176
|
if type == UriService::TermType::EXTERNAL
|
data/lib/uri_service/version.rb
CHANGED