commonmeta-ruby 3.0.1 → 3.0.2

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: e2856d9b6e5bf1a77fc44ce759aaec04be52527499e3174a78fe6810a55c115e
4
- data.tar.gz: f359df0654a8763b0fe673a2fe25e70b624bbc0e7916227d363c10e8095f088d
3
+ metadata.gz: b9b9a5c37f7800cb3eeee4bbe8a343562b5c3ea466a0fec8621af95c5132f749
4
+ data.tar.gz: c50ad3cda6d44ee2f1e513c4e6ba36adb829d95bd2c07eb6e76b86f8ebbf2ddb
5
5
  SHA512:
6
- metadata.gz: 2661a828b3483219293978916a7489c701d6122781983ea12671db189cea576b48ff8629242a0fee08b8df9a72b9a0a7747f2c7fd6631c6c87b2d485b7ffdc0b
7
- data.tar.gz: 49cc2dac42c1c7d0bc92dbfca98f32d37fcd36f8278ba55ded256c7e7b488296665dc4bdb6eb3297827e09cd01a55d8d0dfc8e0692e45fed9bd11950ecba3e4c
6
+ metadata.gz: 1a3afb6655cef3dfc742e826ae43ff1cde17e8d852b9d2c3c465cd5a9ac8c1c8480dd0e81a888561acc4ea311dfd7968a150c2dabd04b09bb77dcef47632252d
7
+ data.tar.gz: dc70555987515a2193c7dec735395fef12d9fa71ce9f1d70a621404ce947e2c8ec09f53c92fa5b7785a675e54d6854ab4b1674bb612514b21481548a873dcad9
data/CHANGELOG.md CHANGED
@@ -1,123 +1,123 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased](https://github.com/front-matter/briard/tree/HEAD)
3
+ ## [v3.0.1](https://github.com/front-matter/commonmeta-ruby/tree/v3.0.1) (2023-03-20)
4
4
 
5
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.9.0...HEAD)
5
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.9.0...v3.0.1)
6
6
 
7
7
  **Merged pull requests:**
8
8
 
9
- - Bump rack from 2.2.5 to 2.2.6.2 [\#21](https://github.com/front-matter/briard/pull/21) ([dependabot[bot]](https://github.com/apps/dependabot))
10
- - Bump activesupport from 7.0.4 to 7.0.4.1 [\#20](https://github.com/front-matter/briard/pull/20) ([dependabot[bot]](https://github.com/apps/dependabot))
9
+ - Bump rack from 2.2.5 to 2.2.6.2 [\#21](https://github.com/front-matter/commonmeta-ruby/pull/21) ([dependabot[bot]](https://github.com/apps/dependabot))
10
+ - Bump activesupport from 7.0.4 to 7.0.4.1 [\#20](https://github.com/front-matter/commonmeta-ruby/pull/20) ([dependabot[bot]](https://github.com/apps/dependabot))
11
11
 
12
- ## [v2.9.0](https://github.com/front-matter/briard/tree/v2.9.0) (2022-11-23)
12
+ ## [v2.9.0](https://github.com/front-matter/commonmeta-ruby/tree/v2.9.0) (2022-11-23)
13
13
 
14
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.8.2...v2.9.0)
14
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.8.2...v2.9.0)
15
15
 
16
- ## [v2.8.2](https://github.com/front-matter/briard/tree/v2.8.2) (2022-11-23)
16
+ ## [v2.8.2](https://github.com/front-matter/commonmeta-ruby/tree/v2.8.2) (2022-11-23)
17
17
 
18
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.8.0...v2.8.2)
18
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.8.0...v2.8.2)
19
19
 
20
- ## [v2.8.0](https://github.com/front-matter/briard/tree/v2.8.0) (2022-11-22)
20
+ ## [v2.8.0](https://github.com/front-matter/commonmeta-ruby/tree/v2.8.0) (2022-11-22)
21
21
 
22
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.6.5...v2.8.0)
22
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.6.5...v2.8.0)
23
23
 
24
- ## [v2.6.5](https://github.com/front-matter/briard/tree/v2.6.5) (2022-10-04)
24
+ ## [v2.6.5](https://github.com/front-matter/commonmeta-ruby/tree/v2.6.5) (2022-10-04)
25
25
 
26
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.6.4...v2.6.5)
26
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.6.4...v2.6.5)
27
27
 
28
- ## [v2.6.4](https://github.com/front-matter/briard/tree/v2.6.4) (2022-10-04)
28
+ ## [v2.6.4](https://github.com/front-matter/commonmeta-ruby/tree/v2.6.4) (2022-10-04)
29
29
 
30
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.6.3...v2.6.4)
30
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.6.3...v2.6.4)
31
31
 
32
- ## [v2.6.3](https://github.com/front-matter/briard/tree/v2.6.3) (2022-10-04)
32
+ ## [v2.6.3](https://github.com/front-matter/commonmeta-ruby/tree/v2.6.3) (2022-10-04)
33
33
 
34
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.5.1...v2.6.3)
34
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.5.1...v2.6.3)
35
35
 
36
- ## [v2.5.1](https://github.com/front-matter/briard/tree/v2.5.1) (2022-09-18)
36
+ ## [v2.5.1](https://github.com/front-matter/commonmeta-ruby/tree/v2.5.1) (2022-09-18)
37
37
 
38
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.5.0...v2.5.1)
38
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.5.0...v2.5.1)
39
39
 
40
- ## [v2.5.0](https://github.com/front-matter/briard/tree/v2.5.0) (2022-09-18)
40
+ ## [v2.5.0](https://github.com/front-matter/commonmeta-ruby/tree/v2.5.0) (2022-09-18)
41
41
 
42
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.4.2...v2.5.0)
42
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.4.2...v2.5.0)
43
43
 
44
44
  **Fixed bugs:**
45
45
 
46
- - Incomplete URL substring sanitization [\#12](https://github.com/front-matter/briard/issues/12)
47
- - Incomplete URL substring sanitization [\#11](https://github.com/front-matter/briard/issues/11)
48
- - Incomplete URL substring sanitization [\#10](https://github.com/front-matter/briard/issues/10)
46
+ - Incomplete URL substring sanitization [\#12](https://github.com/front-matter/commonmeta-ruby/issues/12)
47
+ - Incomplete URL substring sanitization [\#11](https://github.com/front-matter/commonmeta-ruby/issues/11)
48
+ - Incomplete URL substring sanitization [\#10](https://github.com/front-matter/commonmeta-ruby/issues/10)
49
49
 
50
- ## [v2.4.2](https://github.com/front-matter/briard/tree/v2.4.2) (2022-08-24)
50
+ ## [v2.4.2](https://github.com/front-matter/commonmeta-ruby/tree/v2.4.2) (2022-08-24)
51
51
 
52
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.4.1...v2.4.2)
52
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.4.1...v2.4.2)
53
53
 
54
- ## [v2.4.1](https://github.com/front-matter/briard/tree/v2.4.1) (2022-08-24)
54
+ ## [v2.4.1](https://github.com/front-matter/commonmeta-ruby/tree/v2.4.1) (2022-08-24)
55
55
 
56
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.4...v2.4.1)
56
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.4...v2.4.1)
57
57
 
58
- ## [v2.4](https://github.com/front-matter/briard/tree/v2.4) (2022-08-24)
58
+ ## [v2.4](https://github.com/front-matter/commonmeta-ruby/tree/v2.4) (2022-08-24)
59
59
 
60
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.3.1...v2.4)
60
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.3.1...v2.4)
61
61
 
62
- ## [v2.3.1](https://github.com/front-matter/briard/tree/v2.3.1) (2022-08-14)
62
+ ## [v2.3.1](https://github.com/front-matter/commonmeta-ruby/tree/v2.3.1) (2022-08-14)
63
63
 
64
- [Full Changelog](https://github.com/front-matter/briard/compare/v.2.3...v2.3.1)
64
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v.2.3...v2.3.1)
65
65
 
66
- ## [v.2.3](https://github.com/front-matter/briard/tree/v.2.3) (2022-06-19)
66
+ ## [v.2.3](https://github.com/front-matter/commonmeta-ruby/tree/v.2.3) (2022-06-19)
67
67
 
68
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.2.9...v.2.3)
68
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.2.9...v.2.3)
69
69
 
70
- ## [v2.2.9](https://github.com/front-matter/briard/tree/v2.2.9) (2022-06-19)
70
+ ## [v2.2.9](https://github.com/front-matter/commonmeta-ruby/tree/v2.2.9) (2022-06-19)
71
71
 
72
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.2.7...v2.2.9)
72
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.2.7...v2.2.9)
73
73
 
74
- ## [v2.2.7](https://github.com/front-matter/briard/tree/v2.2.7) (2021-12-23)
74
+ ## [v2.2.7](https://github.com/front-matter/commonmeta-ruby/tree/v2.2.7) (2021-12-23)
75
75
 
76
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.2.6...v2.2.7)
76
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.2.6...v2.2.7)
77
77
 
78
- ## [v2.2.6](https://github.com/front-matter/briard/tree/v2.2.6) (2021-12-23)
78
+ ## [v2.2.6](https://github.com/front-matter/commonmeta-ruby/tree/v2.2.6) (2021-12-23)
79
79
 
80
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.2.5...v2.2.6)
80
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.2.5...v2.2.6)
81
81
 
82
- ## [v2.2.5](https://github.com/front-matter/briard/tree/v2.2.5) (2021-12-09)
82
+ ## [v2.2.5](https://github.com/front-matter/commonmeta-ruby/tree/v2.2.5) (2021-12-09)
83
83
 
84
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.2.4...v2.2.5)
84
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.2.4...v2.2.5)
85
85
 
86
- ## [v2.2.4](https://github.com/front-matter/briard/tree/v2.2.4) (2021-12-09)
86
+ ## [v2.2.4](https://github.com/front-matter/commonmeta-ruby/tree/v2.2.4) (2021-12-09)
87
87
 
88
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.2.3...v2.2.4)
88
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.2.3...v2.2.4)
89
89
 
90
- ## [v2.2.3](https://github.com/front-matter/briard/tree/v2.2.3) (2021-12-08)
90
+ ## [v2.2.3](https://github.com/front-matter/commonmeta-ruby/tree/v2.2.3) (2021-12-08)
91
91
 
92
- [Full Changelog](https://github.com/front-matter/briard/compare/v2.2.2...v2.2.3)
92
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/v2.2.2...v2.2.3)
93
93
 
94
- ## [v2.2.2](https://github.com/front-matter/briard/tree/v2.2.2) (2021-12-08)
94
+ ## [v2.2.2](https://github.com/front-matter/commonmeta-ruby/tree/v2.2.2) (2021-12-08)
95
95
 
96
- [Full Changelog](https://github.com/front-matter/briard/compare/2.2.1...v2.2.2)
96
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/2.2.1...v2.2.2)
97
97
 
98
- ## [2.2.1](https://github.com/front-matter/briard/tree/2.2.1) (2021-12-07)
98
+ ## [2.2.1](https://github.com/front-matter/commonmeta-ruby/tree/2.2.1) (2021-12-07)
99
99
 
100
- [Full Changelog](https://github.com/front-matter/briard/compare/2.2...2.2.1)
100
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/2.2...2.2.1)
101
101
 
102
- ## [2.2](https://github.com/front-matter/briard/tree/2.2) (2021-12-07)
102
+ ## [2.2](https://github.com/front-matter/commonmeta-ruby/tree/2.2) (2021-12-07)
103
103
 
104
- [Full Changelog](https://github.com/front-matter/briard/compare/2.1...2.2)
104
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/2.1...2.2)
105
105
 
106
- ## [2.1](https://github.com/front-matter/briard/tree/2.1) (2021-12-07)
106
+ ## [2.1](https://github.com/front-matter/commonmeta-ruby/tree/2.1) (2021-12-07)
107
107
 
108
- [Full Changelog](https://github.com/front-matter/briard/compare/2.0.2...2.1)
108
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/2.0.2...2.1)
109
109
 
110
- ## [2.0.2](https://github.com/front-matter/briard/tree/2.0.2) (2021-12-06)
110
+ ## [2.0.2](https://github.com/front-matter/commonmeta-ruby/tree/2.0.2) (2021-12-06)
111
111
 
112
- [Full Changelog](https://github.com/front-matter/briard/compare/2.0.1...2.0.2)
112
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/2.0.1...2.0.2)
113
113
 
114
- ## [2.0.1](https://github.com/front-matter/briard/tree/2.0.1) (2021-12-06)
114
+ ## [2.0.1](https://github.com/front-matter/commonmeta-ruby/tree/2.0.1) (2021-12-06)
115
115
 
116
- [Full Changelog](https://github.com/front-matter/briard/compare/2.0...2.0.1)
116
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/2.0...2.0.1)
117
117
 
118
- ## [2.0](https://github.com/front-matter/briard/tree/2.0) (2021-12-06)
118
+ ## [2.0](https://github.com/front-matter/commonmeta-ruby/tree/2.0) (2021-12-06)
119
119
 
120
- [Full Changelog](https://github.com/front-matter/briard/compare/d1adb0353c9b3abd0b8f64fed5e0970cf03b537c...2.0)
120
+ [Full Changelog](https://github.com/front-matter/commonmeta-ruby/compare/d1adb0353c9b3abd0b8f64fed5e0970cf03b537c...2.0)
121
121
 
122
122
 
123
123
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- commonmeta-ruby (3.0.1)
4
+ commonmeta-ruby (3.0.2)
5
5
  activesupport (>= 4.2.5, < 8.0)
6
6
  base32-url (>= 0.5.0, < 1)
7
7
  bibtex-ruby (~> 6.0)
@@ -12,7 +12,6 @@ PATH
12
12
  edtf (~> 3.0, >= 3.0.4)
13
13
  gender_detector (~> 2.0)
14
14
  http (~> 5.1, >= 5.1.1)
15
- iso8601 (~> 0.9.1)
16
15
  json-ld-preloaded (~> 3.2, >= 3.2.2)
17
16
  json_schemer (~> 0.2.23)
18
17
  jsonlint (~> 0.3.0)
@@ -91,7 +90,6 @@ GEM
91
90
  http-form_data (2.3.0)
92
91
  i18n (1.12.0)
93
92
  concurrent-ruby (~> 1.0)
94
- iso8601 (0.9.1)
95
93
  json (2.6.3)
96
94
  json-canonicalization (0.3.1)
97
95
  json-ld (3.2.3)
data/README.md CHANGED
@@ -303,102 +303,304 @@ commonmeta https://doi.org/10.7554/elife.01567
303
303
 
304
304
  Convert Crossref to DataCite:
305
305
 
306
- ```
306
+ ```sh
307
307
  commonmeta https://doi.org/10.7554/elife.01567 -t datacite
308
308
 
309
- <?xml version="1.0" encoding="UTF-8"?>
310
- <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4/metadata.xsd">
311
- <identifier identifierType="DOI">10.7554/eLife.01567</identifier>
312
- <creators>
313
- <creator>
314
- <creatorName>Sankar, Martial</creatorName>
315
- <givenName>Martial</givenName>
316
- <familyName>Sankar</familyName>
317
- </creator>
318
- <creator>
319
- <creatorName>Nieminen, Kaisa</creatorName>
320
- <givenName>Kaisa</givenName>
321
- <familyName>Nieminen</familyName>
322
- </creator>
323
- <creator>
324
- <creatorName>Ragni, Laura</creatorName>
325
- <givenName>Laura</givenName>
326
- <familyName>Ragni</familyName>
327
- </creator>
328
- <creator>
329
- <creatorName>Xenarios, Ioannis</creatorName>
330
- <givenName>Ioannis</givenName>
331
- <familyName>Xenarios</familyName>
332
- </creator>
333
- <creator>
334
- <creatorName>Hardtke, Christian S</creatorName>
335
- <givenName>Christian S</givenName>
336
- <familyName>Hardtke</familyName>
337
- </creator>
338
- </creators>
339
- <titles>
340
- <title>Automated quantitative histology reveals vascular morphodynamics during Arabidopsis hypocotyl secondary growth</title>
341
- </titles>
342
- <publisher>eLife</publisher>
343
- <publicationYear>2014</publicationYear>
344
- <resourceType resourceTypeGeneral="Text">JournalArticle</resourceType>
345
- <fundingReferences>
346
- <fundingReference>
347
- <funderName>SystemsX</funderName>
348
- </fundingReference>
349
- <fundingReference>
350
- <funderName>EMBO</funderName>
351
- <funderIdentifier funderIdentifierType="Crossref Funder ID">https://doi.org/10.13039/501100003043</funderIdentifier>
352
- </fundingReference>
353
- <fundingReference>
354
- <funderName>Swiss National Science Foundation</funderName>
355
- <funderIdentifier funderIdentifierType="Crossref Funder ID">https://doi.org/10.13039/501100001711</funderIdentifier>
356
- </fundingReference>
357
- <fundingReference>
358
- <funderName>University of Lausanne</funderName>
359
- <funderIdentifier funderIdentifierType="Crossref Funder ID">https://doi.org/10.13039/501100006390</funderIdentifier>
360
- </fundingReference>
361
- </fundingReferences>
362
- <dates>
363
- <date dateType="Issued">2014-02-11</date>
364
- <date dateType="Updated">2015-08-11T05:35:02Z</date>
365
- </dates>
366
- <relatedIdentifiers>
367
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1038/nature02100</relatedIdentifier>
368
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1534/genetics.109.104976</relatedIdentifier>
369
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1034/j.1399-3054.2002.1140413.x</relatedIdentifier>
370
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1162/089976601750399335</relatedIdentifier>
371
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1016/j.semcdb.2009.09.009</relatedIdentifier>
372
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1242/dev.091314</relatedIdentifier>
373
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1371/journal.pgen.1002997</relatedIdentifier>
374
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1038/msb.2010.25</relatedIdentifier>
375
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1016/j.biosystems.2012.07.004</relatedIdentifier>
376
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1016/j.pbi.2005.11.013</relatedIdentifier>
377
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1105/tpc.110.076083</relatedIdentifier>
378
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1073/pnas.0808444105</relatedIdentifier>
379
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1016/0092-8674(89)90900-8</relatedIdentifier>
380
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1126/science.1066609</relatedIdentifier>
381
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1104/pp.104.040212</relatedIdentifier>
382
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1038/nbt1206-1565</relatedIdentifier>
383
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1073/pnas.77.3.1516</relatedIdentifier>
384
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1093/bioinformatics/btq046</relatedIdentifier>
385
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1105/tpc.111.084020</relatedIdentifier>
386
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.5061/dryad.b835k</relatedIdentifier>
387
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1016/j.cub.2008.02.070</relatedIdentifier>
388
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1111/j.1469-8137.2010.03236.x</relatedIdentifier>
389
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1007/s00138-011-0345-9</relatedIdentifier>
390
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1016/j.cell.2012.02.048</relatedIdentifier>
391
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">https://doi.org/10.1038/ncb2764</relatedIdentifier>
392
- </relatedIdentifiers>
393
- <rightsList>
394
- <rights rightsURI="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 (CC-BY 3.0)</rights>
395
- </rightsList>
396
- </resource>
309
+ {
310
+ "id": "https://doi.org/10.7554/elife.01567",
311
+ "doi": "10.7554/elife.01567",
312
+ "url": "https://elifesciences.org/articles/01567",
313
+ "types": {
314
+ "resourceTypeGeneral": "JournalArticle",
315
+ "bibtex": "article",
316
+ "citeproc": "article-journal",
317
+ "ris": "JOUR",
318
+ "schemaOrg": "ScholarlyArticle"
319
+ },
320
+ "creators": [
321
+ {
322
+ "name": "Sankar, Martial",
323
+ "nameType": "Personal",
324
+ "givenName": "Martial",
325
+ "familyName": "Sankar",
326
+ "affiliation": [
327
+ {
328
+ "name": "Department of Plant Molecular Biology, University of Lausanne, Lausanne, Switzerland"
329
+ }
330
+ ]
331
+ },
332
+ {
333
+ "name": "Nieminen, Kaisa",
334
+ "nameType": "Personal",
335
+ "givenName": "Kaisa",
336
+ "familyName": "Nieminen",
337
+ "affiliation": [
338
+ {
339
+ "name": "Department of Plant Molecular Biology, University of Lausanne, Lausanne, Switzerland"
340
+ }
341
+ ]
342
+ },
343
+ {
344
+ "name": "Ragni, Laura",
345
+ "nameType": "Personal",
346
+ "givenName": "Laura",
347
+ "familyName": "Ragni",
348
+ "affiliation": [
349
+ {
350
+ "name": "Department of Plant Molecular Biology, University of Lausanne, Lausanne, Switzerland"
351
+ }
352
+ ]
353
+ },
354
+ {
355
+ "name": "Xenarios, Ioannis",
356
+ "nameType": "Personal",
357
+ "givenName": "Ioannis",
358
+ "familyName": "Xenarios",
359
+ "affiliation": [
360
+ {
361
+ "name": "Vital-IT, Swiss Institute of Bioinformatics, Lausanne, Switzerland"
362
+ }
363
+ ]
364
+ },
365
+ {
366
+ "name": "Hardtke, Christian S",
367
+ "nameType": "Personal",
368
+ "givenName": "Christian S",
369
+ "familyName": "Hardtke",
370
+ "affiliation": [
371
+ {
372
+ "name": "Department of Plant Molecular Biology, University of Lausanne, Lausanne, Switzerland"
373
+ }
374
+ ]
375
+ }
376
+ ],
377
+ "titles": [
378
+ {
379
+ "title": "Automated quantitative histology reveals vascular morphodynamics during Arabidopsis hypocotyl secondary growth"
380
+ }
381
+ ],
382
+ "publisher": "eLife Sciences Publications, Ltd",
383
+ "container": {
384
+ "type": "Journal",
385
+ "title": "eLife",
386
+ "identifier": "2050-084X",
387
+ "identifierType": "ISSN",
388
+ "volume": "3"
389
+ },
390
+ "subjects": [
391
+
392
+ ],
393
+ "contributors": [
394
+
395
+ ],
396
+ "dates": [
397
+ {
398
+ "date": "2014-02-11",
399
+ "dateType": "Issued"
400
+ },
401
+ {
402
+ "date": "2022-03-26",
403
+ "dateType": "Updated"
404
+ }
405
+ ],
406
+ "alternateIdentifiers": [
407
+
408
+ ],
409
+ "rightsList": [
410
+ {
411
+ "rightsIdentifier": "cc-by-3.0",
412
+ "rightsUri": "https://creativecommons.org/licenses/by/3.0/legalcode",
413
+ "rights": "Creative Commons Attribution 3.0 Unported",
414
+ "rightsIdentifierScheme": "SPDX",
415
+ "schemeUri": "https://spdx.org/licenses/"
416
+ }
417
+ ],
418
+ "descriptions": [
419
+ {
420
+ "description": "Among various advantages, their small size makes model organisms preferred subjects of investigation. Yet, even in model systems detailed analysis of numerous developmental processes at cellular level is severely hampered by their scale. For instance, secondary growth of Arabidopsis hypocotyls creates a radial pattern of highly specialized tissues that comprises several thousand cells starting from a few dozen. This dynamic process is difficult to follow because of its scale and because it can only be investigated invasively, precluding comprehensive understanding of the cell proliferation, differentiation, and patterning events involved. To overcome such limitation, we established an automated quantitative histology approach. We acquired hypocotyl cross-sections from tiled high-resolution images and extracted their information content using custom high-throughput image processing and segmentation. Coupled with automated cell type recognition through machine learning, we could establish a cellular resolution atlas that reveals vascular morphodynamics during secondary growth, for example equidistant phloem pole formation.",
421
+ "descriptionType": "Abstract"
422
+ }
423
+ ],
424
+ "fundingReferences": [
425
+ {
426
+ "funderName": "SystemsX"
427
+ },
428
+ {
429
+ "funderName": "EMBO longterm post-doctoral fellowships"
430
+ },
431
+ {
432
+ "funderName": "Marie Heim-Voegtlin"
433
+ },
434
+ {
435
+ "funderName": "University of Lausanne",
436
+ "funderIdentifier": "https://doi.org/10.13039/501100006390",
437
+ "funderIdentifierType": "Crossref Funder ID"
438
+ },
439
+ {
440
+ "funderName": "SystemsX"
441
+ },
442
+ {
443
+ "funderName": "EMBO",
444
+ "funderIdentifier": "https://doi.org/10.13039/501100003043",
445
+ "funderIdentifierType": "Crossref Funder ID"
446
+ },
447
+ {
448
+ "funderName": "Swiss National Science Foundation",
449
+ "funderIdentifier": "https://doi.org/10.13039/501100001711",
450
+ "funderIdentifierType": "Crossref Funder ID"
451
+ },
452
+ {
453
+ "funderName": "University of Lausanne",
454
+ "funderIdentifier": "https://doi.org/10.13039/501100006390",
455
+ "funderIdentifierType": "Crossref Funder ID"
456
+ }
457
+ ],
458
+ "relatedIdentifiers": [
459
+ {
460
+ "relatedIdentifier": "https://doi.org/10.1038/nature02100",
461
+ "relatedIdentifierType": "DOI",
462
+ "relationType": "References"
463
+ },
464
+ {
465
+ "relatedIdentifier": "https://doi.org/10.1534/genetics.109.104976",
466
+ "relatedIdentifierType": "DOI",
467
+ "relationType": "References"
468
+ },
469
+ {
470
+ "relatedIdentifier": "https://doi.org/10.1034/j.1399-3054.2002.1140413.x",
471
+ "relatedIdentifierType": "DOI",
472
+ "relationType": "References"
473
+ },
474
+ {
475
+ "relatedIdentifier": "https://doi.org/10.1162/089976601750399335",
476
+ "relatedIdentifierType": "DOI",
477
+ "relationType": "References"
478
+ },
479
+ {
480
+ "relatedIdentifier": "https://doi.org/10.1007/bf00994018",
481
+ "relatedIdentifierType": "DOI",
482
+ "relationType": "References"
483
+ },
484
+ {
485
+ "relatedIdentifier": "https://doi.org/10.1242/dev.119.1.71",
486
+ "relatedIdentifierType": "DOI",
487
+ "relationType": "References"
488
+ },
489
+ {
490
+ "relatedIdentifier": "https://doi.org/10.1016/j.semcdb.2009.09.009",
491
+ "relatedIdentifierType": "DOI",
492
+ "relationType": "References"
493
+ },
494
+ {
495
+ "relatedIdentifier": "https://doi.org/10.1242/dev.091314",
496
+ "relatedIdentifierType": "DOI",
497
+ "relationType": "References"
498
+ },
499
+ {
500
+ "relatedIdentifier": "https://doi.org/10.1371/journal.pgen.1002997",
501
+ "relatedIdentifierType": "DOI",
502
+ "relationType": "References"
503
+ },
504
+ {
505
+ "relatedIdentifier": "https://doi.org/10.1038/msb.2010.25",
506
+ "relatedIdentifierType": "DOI",
507
+ "relationType": "References"
508
+ },
509
+ {
510
+ "relatedIdentifier": "https://doi.org/10.1016/j.biosystems.2012.07.004",
511
+ "relatedIdentifierType": "DOI",
512
+ "relationType": "References"
513
+ },
514
+ {
515
+ "relatedIdentifier": "https://doi.org/10.1016/j.pbi.2005.11.013",
516
+ "relatedIdentifierType": "DOI",
517
+ "relationType": "References"
518
+ },
519
+ {
520
+ "relatedIdentifier": "https://doi.org/10.1105/tpc.110.076083",
521
+ "relatedIdentifierType": "DOI",
522
+ "relationType": "References"
523
+ },
524
+ {
525
+ "relatedIdentifier": "https://doi.org/10.1073/pnas.0808444105",
526
+ "relatedIdentifierType": "DOI",
527
+ "relationType": "References"
528
+ },
529
+ {
530
+ "relatedIdentifier": "https://doi.org/10.1016/0092-8674(89)90900-8",
531
+ "relatedIdentifierType": "DOI",
532
+ "relationType": "References"
533
+ },
534
+ {
535
+ "relatedIdentifier": "https://doi.org/10.1126/science.1066609",
536
+ "relatedIdentifierType": "DOI",
537
+ "relationType": "References"
538
+ },
539
+ {
540
+ "relatedIdentifier": "https://doi.org/10.1104/pp.104.040212",
541
+ "relatedIdentifierType": "DOI",
542
+ "relationType": "References"
543
+ },
544
+ {
545
+ "relatedIdentifier": "https://doi.org/10.1038/nbt1206-1565",
546
+ "relatedIdentifierType": "DOI",
547
+ "relationType": "References"
548
+ },
549
+ {
550
+ "relatedIdentifier": "https://doi.org/10.1073/pnas.77.3.1516",
551
+ "relatedIdentifierType": "DOI",
552
+ "relationType": "References"
553
+ },
554
+ {
555
+ "relatedIdentifier": "https://doi.org/10.1093/bioinformatics/btq046",
556
+ "relatedIdentifierType": "DOI",
557
+ "relationType": "References"
558
+ },
559
+ {
560
+ "relatedIdentifier": "https://doi.org/10.1105/tpc.111.084020",
561
+ "relatedIdentifierType": "DOI",
562
+ "relationType": "References"
563
+ },
564
+ {
565
+ "relatedIdentifier": "https://doi.org/10.5061/dryad.b835k",
566
+ "relatedIdentifierType": "DOI",
567
+ "relationType": "References"
568
+ },
569
+ {
570
+ "relatedIdentifier": "https://doi.org/10.1016/j.cub.2008.02.070",
571
+ "relatedIdentifierType": "DOI",
572
+ "relationType": "References"
573
+ },
574
+ {
575
+ "relatedIdentifier": "https://doi.org/10.1111/j.1469-8137.2010.03236.x",
576
+ "relatedIdentifierType": "DOI",
577
+ "relationType": "References"
578
+ },
579
+ {
580
+ "relatedIdentifier": "https://doi.org/10.1007/s00138-011-0345-9",
581
+ "relatedIdentifierType": "DOI",
582
+ "relationType": "References"
583
+ },
584
+ {
585
+ "relatedIdentifier": "https://doi.org/10.1016/j.cell.2012.02.048",
586
+ "relatedIdentifierType": "DOI",
587
+ "relationType": "References"
588
+ },
589
+ {
590
+ "relatedIdentifier": "https://doi.org/10.1038/ncb2764",
591
+ "relatedIdentifierType": "DOI",
592
+ "relationType": "References"
593
+ }
594
+ ],
595
+ "schemaVersion": "http://datacite.org/schema/kernel-4",
596
+ "agency": "Crossref",
597
+ "state": "findable"
598
+ }
397
599
  ```
398
600
 
399
601
  Convert Crossref to BibTeX:
400
602
 
401
- ```
603
+ ```sh
402
604
  commonmeta https://doi.org/10.7554/elife.01567 -t bibtex
403
605
 
404
606
  @article{https://doi.org/10.7554/elife.01567,
@@ -413,7 +615,7 @@ commonmeta https://doi.org/10.7554/elife.01567 -t bibtex
413
615
 
414
616
 
415
617
 
416
- Convert DataCite JSON to schema.org/JSON-LD:
618
+ Convert DataCite to schema.org/JSON-LD:
417
619
 
418
620
  ```sh
419
621
  commonmeta 10.5061/DRYAD.8515
data/commonmeta.gemspec CHANGED
@@ -28,7 +28,6 @@ Gem::Specification.new do |s|
28
28
  s.add_dependency 'edtf', '~> 3.0', '>= 3.0.4'
29
29
  s.add_dependency 'gender_detector', '~> 2.0'
30
30
  s.add_dependency 'http', '~> 5.1', '>= 5.1.1'
31
- s.add_dependency 'iso8601', '~> 0.9.1'
32
31
  s.add_dependency 'json-ld-preloaded', '~> 3.2', '>= 3.2.2'
33
32
  s.add_dependency 'jsonlint', '~> 0.3.0'
34
33
  s.add_dependency 'json_schemer', '~> 0.2.23'
@@ -35,7 +35,7 @@ module Commonmeta
35
35
  ni['nameIdentifierScheme'] == 'ORCID'
36
36
  end
37
37
  id = id['nameIdentifier'] if id.present?
38
- # Crossref metadata
38
+ # Crossref metadata
39
39
  elsif id.nil? && author['ORCID'].present?
40
40
  id = author.fetch('ORCID')
41
41
  end
@@ -32,7 +32,7 @@ module Commonmeta
32
32
  id = normalize_id(options[:doi] || meta.fetch('doi',
33
33
  nil) || Array.wrap(meta.fetch('identifiers', nil)).find do |i|
34
34
  i['type'] == 'doi'
35
- end.fetch('value', nil))
35
+ end.to_h.fetch('value', nil))
36
36
  url = normalize_id(meta.fetch('repository-code', nil))
37
37
  creators = cff_creators(Array.wrap(meta.fetch('authors', nil)))
38
38
 
@@ -1053,10 +1053,10 @@ module Commonmeta
1053
1053
  end
1054
1054
 
1055
1055
  # parsing of incomplete iso8601 timestamps such as 2015-04 is broken
1056
- # in standard library
1056
+ # in standard library, so we use the edtf gem
1057
1057
  # return nil if invalid iso8601 timestamp
1058
1058
  def get_datetime_from_iso8601(iso8601_time)
1059
- ISO8601::DateTime.new(iso8601_time).to_time.utc
1059
+ Date.edtf(iso8601_time).to_time.utc
1060
1060
  rescue StandardError
1061
1061
  nil
1062
1062
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Commonmeta
4
- VERSION = '3.0.1'
4
+ VERSION = '3.0.2'
5
5
  end
data/lib/commonmeta.rb CHANGED
@@ -12,7 +12,6 @@ require 'json/ld'
12
12
  require 'rdf/turtle'
13
13
  require 'rdf/rdfxml'
14
14
  require 'logger'
15
- require 'iso8601'
16
15
  require 'jsonlint'
17
16
  require 'gender_detector'
18
17
  require 'citeproc/ruby'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commonmeta-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
@@ -186,20 +186,6 @@ dependencies:
186
186
  - - ">="
187
187
  - !ruby/object:Gem::Version
188
188
  version: 5.1.1
189
- - !ruby/object:Gem::Dependency
190
- name: iso8601
191
- requirement: !ruby/object:Gem::Requirement
192
- requirements:
193
- - - "~>"
194
- - !ruby/object:Gem::Version
195
- version: 0.9.1
196
- type: :runtime
197
- prerelease: false
198
- version_requirements: !ruby/object:Gem::Requirement
199
- requirements:
200
- - - "~>"
201
- - !ruby/object:Gem::Version
202
- version: 0.9.1
203
189
  - !ruby/object:Gem::Dependency
204
190
  name: json-ld-preloaded
205
191
  requirement: !ruby/object:Gem::Requirement