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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c916c27dc8eac1cb0ef5b40a5d3fc4e4e07ce34f1bb599f208e919442d6c7f2b
4
- data.tar.gz: 7803e305538f4cce36ca021125ae1161cd201d8db4dd25cf8fe026ae28a53011
3
+ metadata.gz: aa5192435943869c90b3aaeb8c9628f91150ea21605589759c8a8dbd7c9f90e3
4
+ data.tar.gz: 14524cbcdf3708c3239e9973227c9516cbdb3cd7e5c40f62bda7de3d2700c894
5
5
  SHA512:
6
- metadata.gz: 2738c8c874bd31cef0c6726de4cafb6378c8e1aa374223a478dcfdd42be0a28d1a929e04ec797d5cfe14748bb2a07eb1a1da723b7164b2ec0e12c6942922065a
7
- data.tar.gz: 34e267e65d8db9b497a9673f355a97a21ad92820f6d8e1a98c9102017d8abce21695904bf7a8547568e0b5577364af3f86cc52c7c59ea4d37bfa528c0494d720
6
+ metadata.gz: 329763f4160364093199267eec3f6b4d317e35cd8c092030394db9b2c0fdbd74105749e70ee7acf5eece5e1227926d8ef45fca0804e7f5c4e31ad53a8cb90b41
7
+ data.tar.gz: df6fb50d5c5249d279411c6023bb299a712d881f4e767a2b0f6ffca6b55d292fbb686cd2e163d93994133c1bf2564ec4cae347c43fed1d852f58376f33e768f4
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.1.32'
4
+ VERSION = '0.1.33'
5
5
  end
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.32
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-02 00:00:00.000000000 Z
11
+ date: 2024-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json