uri_service 0.2.10 → 0.2.11
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 -1
- 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: 02fd7773d46ae95b6d76cc8dbbe0a677bb9c66a4
|
4
|
+
data.tar.gz: b3590aec9568abde0a96b07f91661bf03dec539b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ca5464a6fda73f465444192ea4b81b69d4faa74db0db4ba1c449b758b740abbea39cd4d9ea81192e6dc1fe68615ebd1f6dea92224ae0bcf92469839cdb8c961
|
7
|
+
data.tar.gz: 5ef70e08b7e5b4337463b2d4a3ae73be77fa269792d097ed099d02553f9bd100244af1bbabf065785e701fcb886ba03f3677251d97ff709c35aaf957e64ae414
|
data/lib/uri_service/client.rb
CHANGED
@@ -166,7 +166,7 @@ class UriService::Client
|
|
166
166
|
|
167
167
|
# Create a new URI for this local term, using the @local_uri_base
|
168
168
|
term_uri = URI(@local_uri_base)
|
169
|
-
term_uri.path
|
169
|
+
term_uri.path += SecureRandom.uuid # Generate random UUID for local URI
|
170
170
|
term_uri = term_uri.to_s
|
171
171
|
|
172
172
|
# Getting a duplicate UUID from SecureRandom.uuid is EXTREMELY unlikely, but we'll account for it just in case (by making a few more attempts).
|
data/lib/uri_service/version.rb
CHANGED