uc3-dmp-id 0.0.25 → 0.0.26
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/validator.rb +2 -2
- data/lib/uc3-dmp-id/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 954c6e2dd1011830b68f910538d55ec53dac556a2ba3a32980460084d4489573
|
4
|
+
data.tar.gz: 3cea22766eae0f7c90451077fd2fe6e8e5a009e3183eca13793ab6e66d4e2340
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1d0da31992fda270ccd51a37896a871c7108d38ebd31b812b2d0bb6f77a1e587ad2f5adabb3f14b584cf65635587154ace4a6a5b76c6a52f6ad765bdad1e00e
|
7
|
+
data.tar.gz: a25603e080fecb8edbc0d4e21c470d819a5e4900aee60253cdcff04e49e263fff89dc44ac908e696b2cdc0fb9527b8c680157e9a6f08f1852ed2eb0c559af465
|
data/lib/uc3-dmp-id/validator.rb
CHANGED
@@ -45,10 +45,10 @@ module Uc3DmpId
|
|
45
45
|
# ------------------------------------------------------------------------------------
|
46
46
|
def _load_schema(mode:)
|
47
47
|
|
48
|
-
puts "Loading schema -- Schemas::#{mode.to_s.downcase.capitalize}"
|
48
|
+
puts "Loading schema -- ::Uc3DmpId::Schemas::#{mode.to_s.downcase.capitalize}"
|
49
49
|
|
50
50
|
# Instatiate the matching schema
|
51
|
-
schema = "Schemas::#{mode.to_s.downcase.capitalize}".split('::').inject(Object) { |o,c| o.const_get c }
|
51
|
+
schema = "::Uc3DmpId::Schemas::#{mode.to_s.downcase.capitalize}".split('::').inject(Object) { |o,c| o.const_get c }
|
52
52
|
schema.respond_to?(:load) ? schema.load : nil
|
53
53
|
end
|
54
54
|
|
data/lib/uc3-dmp-id/version.rb
CHANGED