uc3-dmp-id 0.0.22 → 0.0.24

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: 86a7aa81a5a55d488eb5cb0db508c787d781e68fc050f61acc7913c86b38fd06
4
- data.tar.gz: 1d19d4ce33a472ac9a7125a51141330c5a14c039701ccc3f23ff584ad35d42cf
3
+ metadata.gz: f71bf88908949d2b8514ea8177c71e97334663740156b7b676368b5600e31f34
4
+ data.tar.gz: a4a807c92d00c78f5bf9a5d3898d6cbdbab3fd05b95f97a4dfc7104ac5e12438
5
5
  SHA512:
6
- metadata.gz: 29ed2efd8e952c0a94874b2a1da368b483e519d4b8a1dfbf35a91d389362de5ebc19ecd091f5aaf8fa0d1b2b2fef00fa8110559f42cfcdbc4453cdfb52c1c665
7
- data.tar.gz: b198854582d27299fc09e49a66a1bc06c69bfd0a1aac21d2a67c68e25433e2c09c18fb4ba532b75f4384f0751e9bfb980aeeaaef094bc817fce8397824f676b0
6
+ metadata.gz: 99d8b88c1b74b6e5cef633674c6487e3b5617e448f803664ecb07ff6077296b1ccff4969fc80d33dcadad03c9afa504fac217a718f138b392a540bdc20dcc000
7
+ data.tar.gz: f2cfda840d062a017452e5372c882fad94b0196117ca35cbc74c790ce2ea54ce11f51c63ae3bb131b688733927fdddc7e18f88e72f3197a27f75507dde71c8dd
@@ -44,8 +44,11 @@ module Uc3DmpId
44
44
  # Load the JSON schema that corresponds with the mode
45
45
  # ------------------------------------------------------------------------------------
46
46
  def _load_schema(mode:)
47
+
48
+ puts "Loading schema -- Uc3DmpId::Schemas::#{mode.to_s.downcase.capitalize}"
49
+
47
50
  # Instatiate the matching schema
48
- schema = 'Uc3DmpId::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 }
49
52
  schema.respond_to?(:load) ? schema.load : nil
50
53
  end
51
54
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.22'
4
+ VERSION = '0.0.24'
5
5
  end
data/lib/uc3-dmp-id.rb CHANGED
@@ -11,6 +11,8 @@ require 'uc3-dmp-id/helper'
11
11
  require 'uc3-dmp-id/updater'
12
12
  require 'uc3-dmp-id/validator'
13
13
  require 'uc3-dmp-id/versioner'
14
+ require 'uc3-dmp-id/schemas/amend'
15
+ require 'uc3-dmp-id/schemas/author'
14
16
 
15
17
  module Uc3DmpId
16
18
  MSG_DMP_EXISTS = 'DMP already exists. Try :update instead.'
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.22
4
+ version: 0.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley