uc3-dmp-id 0.1.32 → 0.1.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uc3-dmp-id/creator.rb +1 -1
- data/lib/uc3-dmp-id/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa5192435943869c90b3aaeb8c9628f91150ea21605589759c8a8dbd7c9f90e3
|
4
|
+
data.tar.gz: 14524cbcdf3708c3239e9973227c9516cbdb3cd7e5c40f62bda7de3d2700c894
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 329763f4160364093199267eec3f6b4d317e35cd8c092030394db9b2c0fdbd74105749e70ee7acf5eece5e1227926d8ef45fca0804e7f5c4e31ad53a8cb90b41
|
7
|
+
data.tar.gz: df6fb50d5c5249d279411c6023bb299a712d881f4e767a2b0f6ffca6b55d292fbb686cd2e163d93994133c1bf2564ec4cae347c43fed1d852f58376f33e768f4
|
data/lib/uc3-dmp-id/creator.rb
CHANGED
@@ -79,7 +79,7 @@ module Uc3DmpId
|
|
79
79
|
dmp_id = ''
|
80
80
|
counter = 0
|
81
81
|
while dmp_id == '' && counter <= 10
|
82
|
-
prefix = "#{ENV.fetch('DMP_ID_SHOULDER', nil)}#{SecureRandom.hex(2).upcase}#{SecureRandom.hex(2)}"
|
82
|
+
prefix = "#{ENV.fetch('DMP_ID_SHOULDER', nil)}#{SecureRandom.hex(2).upcase}#{SecureRandom.hex(2).upcase}"
|
83
83
|
dmp_id = prefix unless Finder.exists?(client:, p_key: prefix)
|
84
84
|
counter += 1
|
85
85
|
end
|
data/lib/uc3-dmp-id/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uc3-dmp-id
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Riley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|