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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b9a35571ee084f6df8f3a1e939d70ae6aabbcc1
4
- data.tar.gz: 955d2932eeb4c58d211366072507ff09f9b9cea5
3
+ metadata.gz: 02fd7773d46ae95b6d76cc8dbbe0a677bb9c66a4
4
+ data.tar.gz: b3590aec9568abde0a96b07f91661bf03dec539b
5
5
  SHA512:
6
- metadata.gz: e06581903fc304e93b8c2de61c25e767d95ec7ba7f3d8e2eb776e40d174b6ad574397ba55f74ee56dca6b411cac9fdb40d3821af6129fecd414bef5408b8ba35
7
- data.tar.gz: 0ff48db084c9f017b9cdc12c7444551c2af49cec947fe191d9047ea555c242b0fd51630ae7f5a135bf47270859674e5c741cc49b91aa4011f99972475f29effc
6
+ metadata.gz: 9ca5464a6fda73f465444192ea4b81b69d4faa74db0db4ba1c449b758b740abbea39cd4d9ea81192e6dc1fe68615ebd1f6dea92224ae0bcf92469839cdb8c961
7
+ data.tar.gz: 5ef70e08b7e5b4337463b2d4a3ae73be77fa269792d097ed099d02553f9bd100244af1bbabf065785e701fcb886ba03f3677251d97ff709c35aaf957e64ae414
@@ -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 = '/' + File.join(vocabulary_string_key, SecureRandom.uuid) # Generate random UUID for local URI
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).
@@ -1,6 +1,6 @@
1
1
  module UriService
2
2
 
3
- VERSION = '0.2.10'
3
+ VERSION = '0.2.11'
4
4
 
5
5
  def self.version
6
6
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uri_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric O'Hanlon