commonmeta-ruby 3.12.1 → 3.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +13 -13
- data/lib/commonmeta/schema_utils.rb +1 -1
- data/lib/commonmeta/version.rb +1 -1
- data/resources/{commonmeta_v0.10.7.json → commonmeta_v0.10.8.json} +29 -7
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45f03097245e6ea7ff57e27a045716cd4e760f30d93a9231694ebc4e8213819a
|
4
|
+
data.tar.gz: 17b1800fb4ccda9e163f731b1e3231d9d95580e8a05a352e5834cbf3da660bff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f0181cccbcf6b3eedce7d9f56d8f5f9278f07d02e6726e5b03b6dac5a0f61ea547c3b766d3474ec9007cd1fcb66adf1de3e77cef001951b933785b301bf106f
|
7
|
+
data.tar.gz: 468a8d956aa09af44cd5b8eda1881ab70dab822545c04de1b68070536ca5f68bb78e0896ec1257c6ec8237ee61425eeff597ae1402520ef39209c33360dd7240
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
commonmeta-ruby (3.
|
4
|
+
commonmeta-ruby (3.13)
|
5
5
|
activesupport (>= 4.2.5, < 8.0)
|
6
6
|
addressable (~> 2.8.1, < 2.8.2)
|
7
7
|
base32-url (>= 0.7.0, < 1)
|
@@ -138,7 +138,7 @@ GEM
|
|
138
138
|
mutex_m (0.2.0)
|
139
139
|
namae (1.2.0)
|
140
140
|
racc (~> 1.7)
|
141
|
-
nokogiri (1.16.
|
141
|
+
nokogiri (1.16.2-arm64-darwin)
|
142
142
|
racc (~> 1.4)
|
143
143
|
oj (3.16.3)
|
144
144
|
bigdecimal (>= 3.0)
|
@@ -176,19 +176,19 @@ GEM
|
|
176
176
|
rexml (~> 3.2)
|
177
177
|
regexp_parser (2.9.0)
|
178
178
|
rexml (3.2.6)
|
179
|
-
rspec (3.
|
180
|
-
rspec-core (~> 3.
|
181
|
-
rspec-expectations (~> 3.
|
182
|
-
rspec-mocks (~> 3.
|
183
|
-
rspec-core (3.
|
184
|
-
rspec-support (~> 3.
|
185
|
-
rspec-expectations (3.
|
179
|
+
rspec (3.13.0)
|
180
|
+
rspec-core (~> 3.13.0)
|
181
|
+
rspec-expectations (~> 3.13.0)
|
182
|
+
rspec-mocks (~> 3.13.0)
|
183
|
+
rspec-core (3.13.0)
|
184
|
+
rspec-support (~> 3.13.0)
|
185
|
+
rspec-expectations (3.13.0)
|
186
186
|
diff-lcs (>= 1.2.0, < 2.0)
|
187
|
-
rspec-support (~> 3.
|
188
|
-
rspec-mocks (3.
|
187
|
+
rspec-support (~> 3.13.0)
|
188
|
+
rspec-mocks (3.13.0)
|
189
189
|
diff-lcs (>= 1.2.0, < 2.0)
|
190
|
-
rspec-support (~> 3.
|
191
|
-
rspec-support (3.
|
190
|
+
rspec-support (~> 3.13.0)
|
191
|
+
rspec-support (3.13.0)
|
192
192
|
rspec-xsd (0.1.0)
|
193
193
|
nokogiri (~> 1.6)
|
194
194
|
rspec (~> 3)
|
@@ -5,7 +5,7 @@ require "pathname"
|
|
5
5
|
|
6
6
|
module Commonmeta
|
7
7
|
module SchemaUtils
|
8
|
-
COMMONMETA = File.read(File.expand_path("../../resources/commonmeta_v0.10.
|
8
|
+
COMMONMETA = File.read(File.expand_path("../../resources/commonmeta_v0.10.8.json",
|
9
9
|
__dir__))
|
10
10
|
|
11
11
|
def json_schema_errors
|
data/lib/commonmeta/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
-
"$id": "https://commonmeta.org/commonmeta_v0.10.
|
4
|
-
"title": "Commonmeta v0.10.
|
3
|
+
"$id": "https://commonmeta.org/commonmeta_v0.10.8.json",
|
4
|
+
"title": "Commonmeta v0.10.8",
|
5
5
|
"description": "JSON representation of the Commonmeta schema.",
|
6
6
|
"additionalProperties": false,
|
7
7
|
"definitions": {
|
@@ -118,6 +118,7 @@
|
|
118
118
|
"Journal",
|
119
119
|
"PeerReview",
|
120
120
|
"PhysicalObject",
|
121
|
+
"Presentation",
|
121
122
|
"ProceedingsArticle",
|
122
123
|
"ProceedingsSeries",
|
123
124
|
"Proceedings",
|
@@ -266,27 +267,48 @@
|
|
266
267
|
"description": "The container of the resource.",
|
267
268
|
"type": "object",
|
268
269
|
"properties": {
|
269
|
-
"
|
270
|
+
"identifier": {
|
270
271
|
"description": "The identifier for the container.",
|
271
272
|
"type": "string"
|
272
273
|
},
|
274
|
+
"identifierType": {
|
275
|
+
"description": "The identifierType for the container.",
|
276
|
+
"type": "string"
|
277
|
+
},
|
273
278
|
"type": {
|
274
279
|
"description": "The type of the container.",
|
275
280
|
"type": "string",
|
276
281
|
"enum": [
|
277
282
|
"Book",
|
278
283
|
"BookSeries",
|
279
|
-
"DataCatalog",
|
280
284
|
"Journal",
|
281
|
-
"
|
285
|
+
"Proceedings",
|
282
286
|
"ProceedingsSeries",
|
283
287
|
"Repository",
|
288
|
+
"DataRepository",
|
289
|
+
"Periodical",
|
284
290
|
"Series"
|
285
291
|
]
|
286
292
|
},
|
287
293
|
"title": {
|
288
294
|
"description": "The title of the container.",
|
289
295
|
"type": "string"
|
296
|
+
},
|
297
|
+
"firstPage": {
|
298
|
+
"description": "The first page of the resource.",
|
299
|
+
"type": "string"
|
300
|
+
},
|
301
|
+
"lastPage": {
|
302
|
+
"description": "The last page of the resource.",
|
303
|
+
"type": "string"
|
304
|
+
},
|
305
|
+
"volume": {
|
306
|
+
"description": "The volume of the resource.",
|
307
|
+
"type": "string"
|
308
|
+
},
|
309
|
+
"issue": {
|
310
|
+
"description": "The issue of the resource.",
|
311
|
+
"type": "string"
|
290
312
|
}
|
291
313
|
}
|
292
314
|
},
|
@@ -382,7 +404,7 @@
|
|
382
404
|
"Reviews",
|
383
405
|
"IsPreprintOf",
|
384
406
|
"HasPreprint",
|
385
|
-
"
|
407
|
+
"IsSupplementTo"
|
386
408
|
]
|
387
409
|
}
|
388
410
|
},
|
@@ -483,7 +505,7 @@
|
|
483
505
|
"provider": {
|
484
506
|
"description": "The provider of the resource. This can be a DOI registration agency or a repository.",
|
485
507
|
"type": "string",
|
486
|
-
"enum": ["Crossref", "DataCite", "GitHub", "JaLC", "KISTI", "mEDRA", "OP"]
|
508
|
+
"enum": ["Crossref", "DataCite", "GitHub", "JaLC", "KISTI", "mEDRA", "OP", "InvenioRDM"]
|
487
509
|
},
|
488
510
|
"alternate_identifiers": {
|
489
511
|
"description": "Alternate identifiers for the resource.",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: commonmeta-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: '3.13'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Fenner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -694,7 +694,7 @@ files:
|
|
694
694
|
- lib/commonmeta/xml_converter.rb
|
695
695
|
- resources/2008/09/xsd.xsl
|
696
696
|
- resources/cff.json
|
697
|
-
- resources/commonmeta_v0.10.
|
697
|
+
- resources/commonmeta_v0.10.8.json
|
698
698
|
- resources/crossref/AccessIndicators.xsd
|
699
699
|
- resources/crossref/JATS-journalpublishing1-3d2-mathml3-elements.xsd
|
700
700
|
- resources/crossref/JATS-journalpublishing1-3d2-mathml3.xsd
|
@@ -1096,7 +1096,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1096
1096
|
- !ruby/object:Gem::Version
|
1097
1097
|
version: '0'
|
1098
1098
|
requirements: []
|
1099
|
-
rubygems_version: 3.
|
1099
|
+
rubygems_version: 3.5.5
|
1100
1100
|
signing_key:
|
1101
1101
|
specification_version: 4
|
1102
1102
|
summary: Ruby client library for conversion of scholarly metadata
|