uc3-dmp-id 0.0.82 → 0.0.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b007856ad5a2979b663ac9bca26022d13aa08c854d36db99f6b5073f3d96c914
4
- data.tar.gz: 96b951823afd6c995b824ce8047792a5e90b56fc9f6636a0a33c20ce05101796
3
+ metadata.gz: a77779d6dd23f1c3d3cb8271e4623f584590fba3a86f233be7cb2e421cdc5320
4
+ data.tar.gz: 8d43e6f5e5fc7c1612133c4a2d8f95dc7d6005bab3aca577cc1373fcf33af1fb
5
5
  SHA512:
6
- metadata.gz: 25266f1a148076550a27e53813b5ee074e6379505d894715532d6945cfb299ce6aa1002fa1a3fc02490429421db7256e10459bcc791d2115134d56aa18e7988d
7
- data.tar.gz: 54102b178db027bd0e496cdc1ee703e3180d2a1a020a20da113dc919f1479bb15311c50c892198ae8d47a8de5473e5d636d98e6903c28c8c8c12ee548d898a03
6
+ metadata.gz: 18c8561f3dec28a96bdc0ea321b819d6b67f72c755a1828476adad82444cba992ffd928191e9161e7b9c1ae1f1b1b71d353e3c05548f75fcf6dcc951941078e8
7
+ data.tar.gz: 1eb10265cc9fa080aa0f81550446ef22f5fd3f4907c1c0ffee82a9400d74717c5ed3603218b1bf76eccab2c1d0ff56cc51a11c487096c1676af07f102225b571
@@ -90,7 +90,7 @@ module Uc3DmpId
90
90
  dmp_id = format_dmp_id(value: json['identifier'].to_s)
91
91
  return nil if dmp_id.nil? || dmp_id == ''
92
92
 
93
- append_pk_prefix(p_key: dmp_id)
93
+ append_pk_prefix(p_key: dmp_id.gsub(%r{https?://}, ''))
94
94
  end
95
95
 
96
96
  # Derive the DMP ID by removing the :PK prefix
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.82'
4
+ VERSION = '0.0.83'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.82
4
+ version: 0.0.83
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley