bolognese 1.6.2 → 1.6.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +18 -13
  3. data/bolognese.gemspec +4 -4
  4. data/lib/bolognese/datacite_utils.rb +9 -3
  5. data/lib/bolognese/metadata.rb +6 -8
  6. data/lib/bolognese/metadata_utils.rb +10 -3
  7. data/lib/bolognese/readers/bibtex_reader.rb +2 -1
  8. data/lib/bolognese/readers/citeproc_reader.rb +2 -2
  9. data/lib/bolognese/readers/codemeta_reader.rb +3 -3
  10. data/lib/bolognese/readers/crossref_reader.rb +2 -2
  11. data/lib/bolognese/readers/datacite_reader.rb +3 -3
  12. data/lib/bolognese/readers/npm_reader.rb +1 -1
  13. data/lib/bolognese/readers/schema_org_reader.rb +4 -5
  14. data/lib/bolognese/utils.rb +89 -9
  15. data/lib/bolognese/version.rb +1 -1
  16. data/lib/bolognese/writers/bibtex_writer.rb +2 -1
  17. data/lib/bolognese/writers/codemeta_writer.rb +3 -2
  18. data/lib/bolognese/writers/jats_writer.rb +2 -2
  19. data/lib/bolognese/writers/schema_org_writer.rb +1 -1
  20. data/resources/spdx/licenses.json +5297 -0
  21. data/spec/datacite_utils_spec.rb +5 -1
  22. data/spec/fixtures/datacite-example-affiliation.xml +1 -1
  23. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/not_found.yml +44 -0
  24. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/with_trailing_slash.yml +44 -0
  25. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/with_trailing_slash_and_to_https.yml +44 -0
  26. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/to_https.yml +44 -0
  27. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash_and_to_https.yml +44 -0
  28. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_id.yml +44 -0
  29. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_not_found.yml +44 -0
  30. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_url.yml +44 -0
  31. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/name_to_spdx_exists.yml +44 -0
  32. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/name_to_spdx_id.yml +44 -0
  33. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/name_to_spdx_not_found.yml +44 -0
  34. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/url_to_https/http.yml +44 -0
  35. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/url_to_https/uri.yml +44 -0
  36. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/url_to_https/with_trailing_slash.yml +44 -0
  37. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/software_w/version.yml +52 -0
  38. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding.yml +58 -10
  39. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding_OpenAIRE.yml +65 -28
  40. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_Cyark.yml +98 -0
  41. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_IsSupplementTo.yml +58 -10
  42. data/spec/readers/bibtex_reader_spec.rb +5 -1
  43. data/spec/readers/codemeta_reader_spec.rb +21 -1
  44. data/spec/readers/crossref_reader_spec.rb +21 -5
  45. data/spec/readers/datacite_json_reader_spec.rb +1 -1
  46. data/spec/readers/datacite_reader_spec.rb +51 -11
  47. data/spec/readers/npm_reader_spec.rb +3 -3
  48. data/spec/readers/schema_org_reader_spec.rb +2 -2
  49. data/spec/utils_spec.rb +58 -0
  50. data/spec/writers/bibtex_writer_spec.rb +6 -0
  51. data/spec/writers/citation_writer_spec.rb +8 -0
  52. data/spec/writers/citeproc_writer_spec.rb +12 -2
  53. data/spec/writers/crosscite_writer_spec.rb +5 -1
  54. data/spec/writers/datacite_json_writer_spec.rb +5 -1
  55. data/spec/writers/datacite_writer_spec.rb +22 -7
  56. data/spec/writers/schema_org_writer_spec.rb +29 -3
  57. metadata +31 -8
@@ -0,0 +1,98 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://doi.org/ra/10.26301
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (compatible; Maremma/4.7; mailto:info@datacite.org)
12
+ Accept:
13
+ - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: ''
18
+ headers:
19
+ Date:
20
+ - Fri, 19 Jun 2020 11:53:16 GMT
21
+ Content-Type:
22
+ - application/json;charset=UTF-8
23
+ Connection:
24
+ - keep-alive
25
+ Set-Cookie:
26
+ - __cfduid=d026feabfb6d44e3a8e04eea7f4c19e621592567596; expires=Sun, 19-Jul-20
27
+ 11:53:16 GMT; path=/; domain=.doi.org; HttpOnly; SameSite=Lax; Secure
28
+ Cf-Cache-Status:
29
+ - DYNAMIC
30
+ Cf-Request-Id:
31
+ - 036e061ebd0000d721c099d200000001
32
+ Expect-Ct:
33
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
34
+ Strict-Transport-Security:
35
+ - max-age=31536000; includeSubDomains; preload
36
+ Server:
37
+ - cloudflare
38
+ Cf-Ray:
39
+ - 5a5d0c779d69d721-FRA
40
+ body:
41
+ encoding: ASCII-8BIT
42
+ string: |-
43
+ [
44
+ {
45
+ "DOI": "10.26301",
46
+ "RA": "DataCite"
47
+ }
48
+ ]
49
+ http_version:
50
+ recorded_at: Fri, 19 Jun 2020 11:53:16 GMT
51
+ - request:
52
+ method: get
53
+ uri: https://api.datacite.org/dois/10.26301/jgf3-jm06
54
+ body:
55
+ encoding: US-ASCII
56
+ string: ''
57
+ headers:
58
+ User-Agent:
59
+ - Mozilla/5.0 (compatible; Maremma/4.7; mailto:info@datacite.org)
60
+ Accept:
61
+ - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
62
+ response:
63
+ status:
64
+ code: 200
65
+ message: OK
66
+ headers:
67
+ Date:
68
+ - Fri, 19 Jun 2020 11:53:17 GMT
69
+ Content-Type:
70
+ - application/json; charset=utf-8
71
+ Connection:
72
+ - keep-alive
73
+ Status:
74
+ - 200 OK
75
+ X-Anonymous-Consumer:
76
+ - 'true'
77
+ Cache-Control:
78
+ - max-age=0, private, must-revalidate
79
+ Vary:
80
+ - Accept-Encoding, Origin
81
+ Etag:
82
+ - W/"486760ea0302b1535d436c1c05598ae3"
83
+ X-Runtime:
84
+ - '0.619532'
85
+ X-Request-Id:
86
+ - a6c829c4-ed51-49bc-937a-fefe4f60a573
87
+ X-Powered-By:
88
+ - Phusion Passenger 6.0.5
89
+ Server:
90
+ - nginx/1.14.0 + Phusion Passenger 6.0.5
91
+ body:
92
+ encoding: ASCII-8BIT
93
+ string: '{"data":{"id":"10.26301/jgf3-jm06","type":"dois","attributes":{"doi":"10.26301/jgf3-jm06","prefix":"10.26301","suffix":"jgf3-jm06","identifiers":[],"alternateIdentifiers":[],"creators":[{"name":"CyArk","nameType":"Organizational","givenName":null,"familyName":null,"affiliation":[],"nameIdentifiers":[]}],"titles":[{"lang":null,"title":"Chan
94
+ Chan - Rivero","titleType":null}],"publisher":"Open Heritage 3D","container":{},"publicationYear":2020,"subjects":[],"contributors":[],"dates":[],"language":null,"types":{"resourceType":"3D
95
+ Data","resourceTypeGeneral":"Dataset"},"relatedIdentifiers":[],"sizes":[],"formats":[],"version":null,"rightsList":[],"descriptions":[],"geoLocations":[],"fundingReferences":[],"xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuMjYzMDEvSkdGMy1KTTA2PC9pZGVudGlmaWVyPgogIDxjcmVhdG9ycz4KICAgIDxjcmVhdG9yPgogICAgICA8Y3JlYXRvck5hbWUgbmFtZVR5cGU9Ik9yZ2FuaXphdGlvbmFsIj5DeUFyazwvY3JlYXRvck5hbWU+CiAgICA8L2NyZWF0b3I+CiAgPC9jcmVhdG9ycz4KICA8dGl0bGVzPgogICAgPHRpdGxlPkNoYW4gQ2hhbiAtIFJpdmVybzwvdGl0bGU+CiAgPC90aXRsZXM+CiAgPHB1Ymxpc2hlcj5PcGVuIEhlcml0YWdlIDNEPC9wdWJsaXNoZXI+CiAgPHB1YmxpY2F0aW9uWWVhcj4yMDIwPC9wdWJsaWNhdGlvblllYXI+CiAgPHJlc291cmNlVHlwZSByZXNvdXJjZVR5cGVHZW5lcmFsPSJEYXRhc2V0Ij4zRCBEYXRhPC9yZXNvdXJjZVR5cGU+CiAgPHZlcnNpb24vPgo8L3Jlc291cmNlPgo=","url":"https://openheritage3d.org/project.php?id=jgf3-jm06","contentUrl":null,"metadataVersion":0,"schemaVersion":"http://datacite.org/schema/kernel-4","source":"fabricaForm","isActive":true,"state":"findable","reason":null,"viewCount":0,"viewsOverTime":[],"downloadCount":0,"downloadsOverTime":[],"referenceCount":0,"citationCount":0,"citationsOverTime":[],"partCount":0,"partOfCount":0,"versionCount":0,"versionOfCount":0,"created":"2020-02-11T18:32:33.000Z","registered":"2020-02-11T18:32:33.000Z","published":"2020","updated":"2020-06-13T00:07:19.000Z"},"relationships":{"client":{"data":{"id":"cyark.oh","type":"clients"}},"media":{"data":{"id":"10.26301/jgf3-jm06","type":"media"}},"references":{"data":[]},"citations":{"data":[]},"parts":{"data":[]},"partOf":{"data":[]},"versions":{"data":[]},"versionOf":{"data":[]}}}}'
96
+ http_version:
97
+ recorded_at: Fri, 19 Jun 2020 11:53:17 GMT
98
+ recorded_with: VCR 3.0.3
@@ -1,5 +1,53 @@
1
1
  ---
2
2
  http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://doi.org/ra/10.5517
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (compatible; Maremma/4.7; mailto:info@datacite.org)
12
+ Accept:
13
+ - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: ''
18
+ headers:
19
+ Date:
20
+ - Fri, 19 Jun 2020 11:54:09 GMT
21
+ Content-Type:
22
+ - application/json;charset=UTF-8
23
+ Connection:
24
+ - keep-alive
25
+ Set-Cookie:
26
+ - __cfduid=d2721b2e66a989b796e9ce5c2a6a0579f1592567648; expires=Sun, 19-Jul-20
27
+ 11:54:08 GMT; path=/; domain=.doi.org; HttpOnly; SameSite=Lax; Secure
28
+ Cf-Cache-Status:
29
+ - DYNAMIC
30
+ Cf-Request-Id:
31
+ - 036e06eacf0000c27c4a188200000001
32
+ Expect-Ct:
33
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
34
+ Strict-Transport-Security:
35
+ - max-age=31536000; includeSubDomains; preload
36
+ Server:
37
+ - cloudflare
38
+ Cf-Ray:
39
+ - 5a5d0dbe1d96c27c-FRA
40
+ body:
41
+ encoding: ASCII-8BIT
42
+ string: |-
43
+ [
44
+ {
45
+ "DOI": "10.5517",
46
+ "RA": "DataCite"
47
+ }
48
+ ]
49
+ http_version:
50
+ recorded_at: Fri, 19 Jun 2020 11:54:09 GMT
3
51
  - request:
4
52
  method: get
5
53
  uri: https://api.datacite.org/dois/10.5517/cc8h01s
@@ -8,7 +56,7 @@ http_interactions:
8
56
  string: ''
9
57
  headers:
10
58
  User-Agent:
11
- - Mozilla/5.0 (compatible; Maremma/4.2.1; mailto:info@datacite.org)
59
+ - Mozilla/5.0 (compatible; Maremma/4.7; mailto:info@datacite.org)
12
60
  Accept:
13
61
  - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
14
62
  response:
@@ -17,7 +65,7 @@ http_interactions:
17
65
  message: OK
18
66
  headers:
19
67
  Date:
20
- - Wed, 03 Jul 2019 19:25:15 GMT
68
+ - Fri, 19 Jun 2020 11:54:09 GMT
21
69
  Content-Type:
22
70
  - application/json; charset=utf-8
23
71
  Connection:
@@ -30,20 +78,20 @@ http_interactions:
30
78
  - max-age=0, private, must-revalidate
31
79
  Vary:
32
80
  - Accept-Encoding, Origin
33
- X-Request-Id:
34
- - f7df7b8f-cc7e-483d-8461-80c50bb81c52
35
81
  Etag:
36
- - W/"058961737ac10259968291b254c8021f"
82
+ - W/"159e106ae0801c71dc525cf8770210e1"
37
83
  X-Runtime:
38
- - '0.024242'
84
+ - '0.275978'
85
+ X-Request-Id:
86
+ - 451ebe51-cf1f-423e-b533-a8311d0f0764
39
87
  X-Powered-By:
40
- - Phusion Passenger 6.0.2
88
+ - Phusion Passenger 6.0.5
41
89
  Server:
42
- - nginx/1.15.8 + Phusion Passenger 6.0.2
90
+ - nginx/1.14.0 + Phusion Passenger 6.0.5
43
91
  body:
44
92
  encoding: ASCII-8BIT
45
93
  string: !binary |-
46
- eyJkYXRhIjp7ImlkIjoiMTAuNTUxNy9jYzhoMDFzIiwidHlwZSI6ImRvaXMiLCJhdHRyaWJ1dGVzIjp7ImRvaSI6IjEwLjU1MTc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Q291bnQiOjAsInBhcnRPZkNvdW50IjowLCJ2ZXJzaW9uQ291bnQiOjAsInZlcnNpb25PZkNvdW50IjowLCJjcmVhdGVkIjoiMjAxNC0wMy0xOFQyMzoyMTo0OS4wMDBaIiwicmVnaXN0ZXJlZCI6IjIwMTQtMDMtMThUMjM6MjE6NTAuMDAwWiIsInB1Ymxpc2hlZCI6IjIwMDQiLCJ1cGRhdGVkIjoiMjAxOS0wOC0wMlQwMzoyMzoxNy4wMDBaIn0sInJlbGF0aW9uc2hpcHMiOnsiY2xpZW50Ijp7ImRhdGEiOnsiaWQiOiJjY2RjLmNzZCIsInR5cGUiOiJjbGllbnRzIn19LCJtZWRpYSI6eyJkYXRhIjp7ImlkIjoiMTAuNTUxNy9jYzhoMDFzIiwidHlwZSI6Im1lZGlhIn19LCJyZWZlcmVuY2VzIjp7ImRhdGEiOltdfSwiY2l0YXRpb25zIjp7ImRhdGEiOltdfSwicGFydHMiOnsiZGF0YSI6W119LCJwYXJ0T2YiOnsiZGF0YSI6W119LCJ2ZXJzaW9ucyI6eyJkYXRhIjpbXX0sInZlcnNpb25PZiI6eyJkYXRhIjpbXX19fX0=
47
95
  http_version:
48
- recorded_at: Wed, 03 Jul 2019 19:25:15 GMT
96
+ recorded_at: Fri, 19 Jun 2020 11:54:09 GMT
49
97
  recorded_with: VCR 3.0.3
@@ -35,7 +35,11 @@ describe Bolognese::Metadata, vcr: true do
35
35
  expect(subject.creators.first).to eq("familyName"=>"Sankar", "givenName"=>"Martial", "name"=>"Sankar, Martial", "nameType"=>"Personal")
36
36
  expect(subject.titles).to eq([{"title"=>"Automated quantitative histology reveals vascular morphodynamics during Arabidopsis hypocotyl secondary growth"}])
37
37
  expect(subject.descriptions.first["description"]).to start_with("Among various advantages, their small size makes model organisms preferred subjects of investigation.")
38
- expect(subject.rights_list.first["rightsUri"]).to eq("http://creativecommons.org/licenses/by/3.0/")
38
+ expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 3.0 Unported",
39
+ "rightsIdentifier"=>"CC-BY-3.0",
40
+ "rightsIdentifierScheme"=>"SPDX",
41
+ "rightsUri"=>"https://creativecommons.org/licenses/by/3.0/legalcode",
42
+ "schemeUri"=>"https://spdx.org/licenses/"}])
39
43
  expect(subject.dates).to eq([{"date"=>"2014", "dateType"=>"Issued"}])
40
44
  expect(subject.publication_year).to eq("2014")
41
45
  expect(subject.related_identifiers).to eq([{"relatedIdentifier"=>"2050-084X", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "title"=>"eLife", "type"=>"Periodical"}])
@@ -36,6 +36,11 @@ describe Bolognese::Metadata, vcr: true do
36
36
  expect(subject.dates).to eq([{"date"=>"2017-02-24", "dateType"=>"Issued"}, {"date"=>"2015-11-28", "dateType"=>"Created"}, {"date"=>"2017-02-24", "dateType"=>"Updated"}])
37
37
  expect(subject.publication_year).to eq("2017")
38
38
  expect(subject.publisher).to eq("DataCite")
39
+ expect(subject.rights_list).to eq([{"rights"=>"MIT License",
40
+ "rightsIdentifier"=>"MIT",
41
+ "rightsIdentifierScheme"=>"SPDX",
42
+ "rightsUri"=>"https://opensource.org/licenses/MIT",
43
+ "schemeUri"=>"https://spdx.org/licenses/"}])
39
44
  end
40
45
 
41
46
  it "rdataone" do
@@ -68,10 +73,15 @@ describe Bolognese::Metadata, vcr: true do
68
73
  expect(subject.titles).to eq([{"title"=>"R Interface to the DataONE REST API"}])
69
74
  expect(subject.descriptions.first["description"]).to start_with("Provides read and write access to data and metadata")
70
75
  expect(subject.subjects).to eq([{"subject"=>"data sharing"}, {"subject"=>"data repository"}, {"subject"=>"DataONE"}])
71
- expect(subject.version).to eq("2.0.0")
76
+ expect(subject.version_info).to eq("2.0.0")
72
77
  expect(subject.dates).to eq([{"date"=>"2016-05-27", "dateType"=>"Issued"}, {"date"=>"2016-05-27", "dateType"=>"Created"}, {"date"=>"2016-05-27", "dateType"=>"Updated"}])
73
78
  expect(subject.publication_year).to eq("2016")
74
79
  expect(subject.publisher).to eq("https://cran.r-project.org")
80
+ expect(subject.rights_list).to eq([{"rights"=>"Apache License 2.0",
81
+ "rightsIdentifier"=>"Apache-2.0",
82
+ "rightsIdentifierScheme"=>"SPDX",
83
+ "rightsUri"=>"http://www.apache.org/licenses/LICENSE-2.0",
84
+ "schemeUri"=>"https://spdx.org/licenses/"}])
75
85
  end
76
86
 
77
87
  it "maremma" do
@@ -96,6 +106,11 @@ describe Bolognese::Metadata, vcr: true do
96
106
  expect(subject.dates).to eq([{"date"=>"2017-02-24", "dateType"=>"Issued"}, {"date"=>"2015-11-28", "dateType"=>"Created"}, {"date"=>"2017-02-24", "dateType"=>"Updated"}])
97
107
  expect(subject.publication_year).to eq("2017")
98
108
  expect(subject.publisher).to eq("DataCite")
109
+ expect(subject.rights_list).to eq([{"rights"=>"MIT License",
110
+ "rightsIdentifier"=>"MIT",
111
+ "rightsIdentifierScheme"=>"SPDX",
112
+ "rightsUri"=>"https://opensource.org/licenses/MIT",
113
+ "schemeUri"=>"https://spdx.org/licenses/"}])
99
114
  end
100
115
 
101
116
  it "metadata_reports" do
@@ -113,6 +128,11 @@ describe Bolognese::Metadata, vcr: true do
113
128
  expect(subject.dates).to eq([{"date"=>"2018-05-17", "dateType"=>"Issued"}, {"date"=>"2018-03-09", "dateType"=>"Created"}, {"date"=>"2018-05-17", "dateType"=>"Updated"}])
114
129
  expect(subject.publication_year).to eq("2018")
115
130
  expect(subject.publisher).to eq("DataCite")
131
+ expect(subject.rights_list).to eq([{"rights"=>"MIT License",
132
+ "rightsIdentifier"=>"MIT",
133
+ "rightsIdentifierScheme"=>"SPDX",
134
+ "rightsUri"=>"https://opensource.org/licenses/MIT",
135
+ "schemeUri"=>"https://spdx.org/licenses/"}])
116
136
  end
117
137
  end
118
138
  end
@@ -23,7 +23,11 @@ describe Bolognese::Metadata, vcr: true do
23
23
  expect(subject.url).to eq("https://elifesciences.org/articles/01567")
24
24
  expect(subject.creators.length).to eq(5)
25
25
  expect(subject.creators.first).to eq("nameType"=>"Personal", "name"=>"Sankar, Martial", "givenName"=>"Martial", "familyName"=>"Sankar", "affiliation" => [{"name"=>"Department of Plant Molecular Biology, University of Lausanne, Lausanne, Switzerland"}])
26
- expect(subject.rights_list).to eq([{"rightsUri"=>"http://creativecommons.org/licenses/by/3.0"}])
26
+ expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 3.0 Unported",
27
+ "rightsIdentifier"=>"CC-BY-3.0",
28
+ "rightsIdentifierScheme"=>"SPDX",
29
+ "rightsUri"=>"https://creativecommons.org/licenses/by/3.0/legalcode",
30
+ "schemeUri"=>"https://spdx.org/licenses/"}])
27
31
  expect(subject.titles).to eq([{"title"=>"Automated quantitative histology reveals vascular morphodynamics during Arabidopsis hypocotyl secondary growth"}])
28
32
  expect(subject.dates).to eq([{"date"=>"2014-02-11", "dateType"=>"Issued"}, {"date"=>"2018-08-23T13:41:49Z", "dateType"=>"Updated"}])
29
33
  expect(subject.publication_year).to eq("2014")
@@ -56,7 +60,11 @@ describe Bolognese::Metadata, vcr: true do
56
60
  expect(subject.creators.first).to eq("nameType"=>"Personal", "name"=>"Ralser, Markus", "givenName"=>"Markus", "familyName"=>"Ralser")
57
61
  expect(subject.contributors).to eq("contributorType"=>"Editor", "familyName"=>"Janbon", "givenName"=>"Guilhem", "name"=>"Janbon, Guilhem", "nameType"=>"Personal")
58
62
  expect(subject.titles).to eq([{"title"=>"Triose Phosphate Isomerase Deficiency Is Caused by Altered Dimerization–Not Catalytic Inactivity–of the Mutant Enzymes"}])
59
- expect(subject.rights_list).to eq([{"rightsUri"=>"http://creativecommons.org/licenses/by/4.0"}])
63
+ expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 4.0 International",
64
+ "rightsIdentifier"=>"CC-BY-4.0",
65
+ "rightsIdentifierScheme"=>"SPDX",
66
+ "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode",
67
+ "schemeUri"=>"https://spdx.org/licenses/"}])
60
68
  expect(subject.dates).to eq([{"date"=>"2006-12-20", "dateType"=>"Issued"}, {"date"=>"2019-04-23T08:33:24Z", "dateType"=>"Updated"}])
61
69
  expect(subject.publication_year).to eq("2006")
62
70
  expect(subject.publisher).to eq("Public Library of Science (PLoS)")
@@ -77,7 +85,11 @@ describe Bolognese::Metadata, vcr: true do
77
85
  expect(subject.creators.length).to eq(4)
78
86
  expect(subject.creators.first).to eq("familyName"=>"Fortes", "givenName"=>"Ana Margarida", "name"=>"Fortes, Ana Margarida", "nameType"=>"Personal")
79
87
  expect(subject.titles).to eq([{"title"=>"Transcriptional Modulation of Polyamine Metabolism in Fruit Species Under Abiotic and Biotic Stress"}])
80
- expect(subject.rights_list).to eq([{"rightsUri"=>"https://creativecommons.org/licenses/by/4.0"}])
88
+ expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 4.0 International",
89
+ "rightsIdentifier"=>"CC-BY-4.0",
90
+ "rightsIdentifierScheme"=>"SPDX",
91
+ "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode",
92
+ "schemeUri"=>"https://spdx.org/licenses/"}])
81
93
  expect(subject.dates).to eq([{"date"=>"2019-07-02", "dateType"=>"Issued"}, {"date"=>"2019-07-02T11:08:31Z", "dateType"=>"Updated"}])
82
94
  expect(subject.publication_year).to eq("2019")
83
95
  expect(subject.publisher).to eq("Frontiers Media SA")
@@ -192,7 +204,11 @@ describe Bolognese::Metadata, vcr: true do
192
204
  expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"article-journal", "resourceType"=>"JournalArticle", "resourceTypeGeneral"=>"Text", "ris"=>"JOUR", "schemaOrg"=>"ScholarlyArticle")
193
205
  expect(subject.creators.length).to eq(7)
194
206
  expect(subject.creators[2]).to eq("nameType"=>"Personal", "nameIdentifiers" => [{"nameIdentifier"=>"https://orcid.org/0000-0003-2043-4925", "nameIdentifierScheme"=>"ORCID", "schemeUri"=>"https://orcid.org"}], "name"=>"Hernandez, Beatriz", "givenName"=>"Beatriz", "familyName"=>"Hernandez", "affiliation" => [{"name"=>"War Related Illness and Injury Study Center (WRIISC) and Mental Illness Research Education and Clinical Center (MIRECC), Department of Veterans Affairs, Palo Alto, CA 94304, USA"}, {"name"=>"Department of Psychiatry and Behavioral Sciences, Stanford University School of Medicine, Stanford, CA 94304, USA"}])
195
- expect(subject.rights_list).to eq([{"rightsUri"=>"http://creativecommons.org/licenses/by/3.0"}])
207
+ expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 3.0 Unported",
208
+ "rightsIdentifier"=>"CC-BY-3.0",
209
+ "rightsIdentifierScheme"=>"SPDX",
210
+ "rightsUri"=>"https://creativecommons.org/licenses/by/3.0/legalcode",
211
+ "schemeUri"=>"https://spdx.org/licenses/"}])
196
212
  expect(subject.titles).to eq([{"title"=>"Delineating a Retesting Zone Using Receiver Operating Characteristic Analysis on Serial QuantiFERON Tuberculosis Test Results in US Healthcare Workers"}])
197
213
  expect(subject.dates).to eq([{"date"=>"2012", "dateType"=>"Issued"}, {"date"=>"2016-08-02T18:42:41Z", "dateType"=>"Updated"}])
198
214
  expect(subject.publication_year).to eq("2012")
@@ -547,7 +563,7 @@ describe Bolognese::Metadata, vcr: true do
547
563
  expect(subject.creators.length).to eq(3)
548
564
  expect(subject.creators.first).to eq("nameType"=>"Personal", "nameIdentifiers" => [{"nameIdentifier"=>"https://orcid.org/0000-0002-4156-3761", "nameIdentifierScheme"=>"ORCID", "schemeUri"=>"https://orcid.org"}], "name"=>"Dissmeyer, Nico", "givenName"=>"Nico", "familyName"=>"Dissmeyer", "affiliation" => [{"name"=>"Independent Junior Research Group on Protein Recognition and Degradation; Leibniz Institute of Plant Biochemistry (IPB); Weinberg 3 Halle (Saale) D-06120 Germany"}, {"name"=>"ScienceCampus Halle - Plant-based Bioeconomy; Betty-Heimann-Strasse 3 Halle (Saale) D-06120 Germany"}])
549
565
  expect(subject.titles).to eq([{"title"=>"Life and death of proteins after protease cleavage: protein degradation by the N-end rule pathway"}])
550
- expect(subject.rights_list).to eq([{"rightsUri"=>"http://doi.wiley.com/10.1002/tdm_license_1.1"}, {"rightsUri"=>"http://onlinelibrary.wiley.com/termsAndConditions"}])
566
+ expect(subject.rights_list).to eq([{"rightsUri"=>"http://doi.wiley.com/10.1002/tdm_license_1.1"}, {"rightsUri"=>"http://onlinelibrary.wiley.com/termsAndConditions#vor"}])
551
567
  expect(subject.dates).to eq([{"date"=>"2018-05", "dateType"=>"Issued"}, {"date"=>"2018-08-07T05:52:14Z", "dateType"=>"Updated"}])
552
568
  expect(subject.publication_year).to eq("2018")
553
569
  expect(subject.publisher).to eq("Wiley")
@@ -69,7 +69,7 @@ describe Bolognese::Metadata, vcr: true do
69
69
  expect(subject.identifiers).to eq([{"identifier"=>"https://doi.org/10.5281/zenodo.28518", "identifierType"=>"DOI"}, {"identifier"=>"https://zenodo.org/record/28518", "identifierType"=>"URL"}])
70
70
  expect(subject.dates).to eq([{"date"=>"2015-08-19", "dateType"=>"Issued"}])
71
71
  expect(subject.publication_year).to eq("2015")
72
- expect(subject.version).to eq("v0.3.2")
72
+ expect(subject.version_info).to eq("v0.3.2")
73
73
  expect(subject.datacite).to include("<version>v0.3.2</version>")
74
74
  expect(subject.related_identifiers.length).to eq(2)
75
75
  expect(subject.related_identifiers.first).to eq("relatedIdentifier"=>"https://github.com/jakevdp/supersmoother/tree/v0.3.2", "relatedIdentifierType"=>"URL", "relationType"=>"IsSupplementTo")
@@ -31,7 +31,11 @@ describe Bolognese::Metadata, vcr: true do
31
31
  {"identifier"=>
32
32
  "Ollomo B, Durand P, Prugnolle F, Douzery EJP, Arnathau C, Nkoghe D, Leroy E, Renaud F (2009) A new malaria agent in African hominids. PLoS Pathogens 5(5): e1000446.",
33
33
  "identifierType"=>"citation"}])
34
- expect(subject.rights_list).to eq([{"rightsUri"=>"http://creativecommons.org/publicdomain/zero/1.0"}])
34
+ expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Zero v1.0 Universal",
35
+ "rightsIdentifier"=>"CC0-1.0",
36
+ "rightsIdentifierScheme"=>"SPDX",
37
+ "rightsUri"=>"https://creativecommons.org/publicdomain/zero/1.0/legalcode",
38
+ "schemeUri"=>"https://spdx.org/licenses/"}])
35
39
  expect(subject.publication_year).to eq("2011")
36
40
  expect(subject.related_identifiers.length).to eq(6)
37
41
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"19478877", "relatedIdentifierType"=>"PMID", "relationType"=>"IsSupplementTo")
@@ -121,7 +125,7 @@ describe Bolognese::Metadata, vcr: true do
121
125
  {"identifier"=>
122
126
  "https://schema.datacite.org/meta/kernel-4.2/example/datacite-example-full-v4.2.xml",
123
127
  "identifierType"=>"URL"}])
124
- expect(subject.rights_list).to eq([{"lang"=>"en-US", "rightsUri"=>"http://creativecommons.org/publicdomain/zero/1.0"}])
128
+ expect(subject.rights_list).to eq([{"lang"=>"en-US", "rights"=>"Creative Commons Zero v1.0 Universal", "rightsIdentifier"=>"CC0-1.0", "rightsIdentifierScheme"=>"SPDX", "rightsUri"=>"https://creativecommons.org/publicdomain/zero/1.0/legalcode", "schemeUri"=>"https://spdx.org/licenses/"}])
125
129
  expect(subject.publication_year).to eq("2014")
126
130
  expect(subject.contributors).to eq([{"name"=>"Starr, Joan", "givenName"=>"Joan", "familyName"=>"Starr", "nameIdentifiers"=>[{"nameIdentifier"=>"https://orcid.org/0000-0002-7285-027X", "schemeUri"=>"https://orcid.org", "nameIdentifierScheme"=>"ORCID"}], "affiliation"=>
127
131
  [{"affiliationIdentifier"=>"https://ror.org/03yrm5c26",
@@ -193,7 +197,13 @@ describe Bolognese::Metadata, vcr: true do
193
197
  expect(subject.creators).to eq([{"nameType"=>"Personal", "name"=>"Garza, Kristian", "givenName"=>"Kristian", "familyName"=>"Garza", "nameIdentifiers" => [], "affiliation" => []}])
194
198
  expect(subject.titles).to eq([{"title"=>"Analysis Tools For Crossover Experiment Of Ui Using Choice Architecture"}])
195
199
  expect(subject.descriptions.first["description"]).to start_with("This tools are used to analyse the data produced by the Crosssover Experiment")
196
- expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution-NonCommercial-ShareAlike", "rightsUri"=>"https://creativecommons.org/licenses/by-nc-sa/4.0"},{"rights"=>"Open Access", "rightsUri"=>"info:eu-repo/semantics/openAccess"}])
200
+ expect(subject.rights_list).to eq([{"rights"=>
201
+ "Creative Commons Attribution Non Commercial Share Alike 4.0 International",
202
+ "rightsIdentifier"=>"CC-BY-NC-SA-4.0",
203
+ "rightsIdentifierScheme"=>"SPDX",
204
+ "rightsUri"=>"https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode",
205
+ "schemeUri"=>"https://spdx.org/licenses/"},
206
+ {"rights"=>"Open Access", "rightsUri"=>"info:eu-repo/semantics/openAccess"}])
197
207
  expect(subject.dates).to eq([{"date"=>"2016-03-27", "dateType"=>"Issued"}])
198
208
  expect(subject.publication_year).to eq("2016")
199
209
  expect(subject.related_identifiers.length).to eq(1)
@@ -218,7 +228,11 @@ describe Bolognese::Metadata, vcr: true do
218
228
  expect(subject.creators.first).to eq("nameType"=>"Personal", "nameIdentifiers" => [{"nameIdentifier"=>"https://orcid.org/0000-0002-2410-9671", "nameIdentifierScheme"=>"ORCID", "schemeUri"=>"https://orcid.org"}], "name"=>"Junge, Alexander", "givenName"=>"Alexander", "familyName"=>"Junge", "affiliation" => [])
219
229
  expect(subject.titles).to eq([{"title"=>"RAIN v1"}])
220
230
  expect(subject.descriptions.first["description"]).to start_with("<b>RAIN: RNA–protein Association and Interaction Networks")
221
- expect(subject.rights_list).to eq([{"rightsUri"=>"https://creativecommons.org/licenses/by/4.0", "rights"=>"CC-BY"}])
231
+ expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 4.0 International",
232
+ "rightsIdentifier"=>"CC-BY-4.0",
233
+ "rightsIdentifierScheme"=>"SPDX",
234
+ "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode",
235
+ "schemeUri"=>"https://spdx.org/licenses/"}])
222
236
  expect(subject.dates).to eq([{"date"=>"2016-11-16", "dateType"=>"Created"}, {"date"=>"2016-11-16", "dateType"=>"Updated"}, {"date"=>"2016", "dateType"=>"Issued"}])
223
237
  expect(subject.publication_year).to eq("2016")
224
238
  expect(subject.related_identifiers.length).to eq(1)
@@ -249,7 +263,11 @@ describe Bolognese::Metadata, vcr: true do
249
263
  "nameIdentifiers" => [{"nameIdentifier"=>"https://orcid.org/0000-0002-2874-287X", "nameIdentifierScheme"=>"ORCID", "schemeUri"=>"https://orcid.org"}], "affiliation" => [])
250
264
  expect(subject.titles).to eq([{"title"=>"Drosophila melanogaster African Wings"}])
251
265
  expect(subject.descriptions.first["description"]).to start_with("These are raw wing images from <i>Drosophila melanogaster</i>")
252
- expect(subject.rights_list).to eq([{"rights"=>"CC BY 4.0", "rightsUri"=>"https://creativecommons.org/licenses/by/4.0"}])
266
+ expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 4.0 International",
267
+ "rightsIdentifier"=>"CC-BY-4.0",
268
+ "rightsIdentifierScheme"=>"SPDX",
269
+ "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode",
270
+ "schemeUri"=>"https://spdx.org/licenses/"}])
253
271
  expect(subject.dates).to eq([{"date"=>"2015-06-14", "dateType"=>"Created"},
254
272
  {"date"=>"2018-03-17", "dateType"=>"Updated"},
255
273
  {"date"=>"2015", "dateType"=>"Issued"}])
@@ -684,7 +702,12 @@ describe Bolognese::Metadata, vcr: true do
684
702
  expect(subject.publication_year).to eq("2010")
685
703
  expect(subject.related_identifiers.length).to eq(1)
686
704
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"10.5272/oldertestpub", "relatedIdentifierType"=>"DOI", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Text")
687
- expect(subject.rights_list).to eq([{"lang"=>"eng", "rightsUri"=>"http://creativecommons.org/licenses/by-nd/2.0", "rights"=>"Creative Commons Attribution-NoDerivs 2.0 Generic"}])
705
+ expect(subject.rights_list).to eq([{"lang"=>"eng",
706
+ "rights"=>"Creative Commons Attribution No Derivatives 2.0 Generic",
707
+ "rightsIdentifier"=>"CC-BY-ND-2.0",
708
+ "rightsIdentifierScheme"=>"SPDX",
709
+ "rightsUri"=>"https://creativecommons.org/licenses/by-nd/2.0/legalcode",
710
+ "schemeUri"=>"https://spdx.org/licenses/"}])
688
711
  expect(subject.publisher).to eq("Springer")
689
712
  expect(subject.agency).to eq("DataCite")
690
713
  expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-4")
@@ -709,7 +732,11 @@ describe Bolognese::Metadata, vcr: true do
709
732
  expect(subject.publication_year).to eq("2010")
710
733
  expect(subject.related_identifiers.length).to eq(1)
711
734
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"10.5272/oldertestpub", "relatedIdentifierType"=>"DOI", "relationType"=>"IsPartOf")
712
- expect(subject.rights_list).to eq([{"rightsUri"=>"http://creativecommons.org/licenses/by-nd/2.0", "rights"=>"Creative Commons Attribution-NoDerivs 2.0 Generic"}])
735
+ expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution No Derivatives 2.0 Generic",
736
+ "rightsIdentifier"=>"CC-BY-ND-2.0",
737
+ "rightsIdentifierScheme"=>"SPDX",
738
+ "rightsUri"=>"https://creativecommons.org/licenses/by-nd/2.0/legalcode",
739
+ "schemeUri"=>"https://spdx.org/licenses/"}])
713
740
  expect(subject.publisher).to eq("Springer")
714
741
  expect(subject.agency).to eq("DataCite")
715
742
  expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-4.0")
@@ -734,7 +761,11 @@ describe Bolognese::Metadata, vcr: true do
734
761
  expect(subject.publication_year).to eq("2011")
735
762
  expect(subject.related_identifiers.length).to eq(4)
736
763
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"19478877", "relatedIdentifierType"=>"PMID", "relationType"=>"IsReferencedBy")
737
- expect(subject.rights_list).to eq([{"rightsUri"=>"http://creativecommons.org/publicdomain/zero/1.0"}])
764
+ expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Zero v1.0 Universal",
765
+ "rightsIdentifier"=>"CC0-1.0",
766
+ "rightsIdentifierScheme"=>"SPDX",
767
+ "rightsUri"=>"https://creativecommons.org/publicdomain/zero/1.0/legalcode",
768
+ "schemeUri"=>"https://spdx.org/licenses/"}])
738
769
  expect(subject.publisher).to eq("Dryad Digital Repository")
739
770
  expect(subject.agency).to eq("DataCite")
740
771
  expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-3")
@@ -759,7 +790,11 @@ describe Bolognese::Metadata, vcr: true do
759
790
  expect(subject.publication_year).to eq("2010")
760
791
  expect(subject.related_identifiers.length).to eq(1)
761
792
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"10.5272/oldertestpub", "relatedIdentifierType"=>"DOI", "relationType"=>"IsPartOf")
762
- expect(subject.rights_list).to eq([{"rightsUri"=>"http://creativecommons.org/licenses/by-nd/2.0", "rights"=>"Creative Commons Attribution-NoDerivs 2.0 Generic"}])
793
+ expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution No Derivatives 2.0 Generic",
794
+ "rightsIdentifier"=>"CC-BY-ND-2.0",
795
+ "rightsIdentifierScheme"=>"SPDX",
796
+ "rightsUri"=>"https://creativecommons.org/licenses/by-nd/2.0/legalcode",
797
+ "schemeUri"=>"https://spdx.org/licenses/"}])
763
798
  expect(subject.publisher).to eq("Springer")
764
799
  expect(subject.agency).to eq("DataCite")
765
800
  expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-3.0")
@@ -811,7 +846,12 @@ describe Bolognese::Metadata, vcr: true do
811
846
  expect(subject.publication_year).to eq("2010")
812
847
  expect(subject.related_identifiers.length).to eq(1)
813
848
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"10.5272/oldertestpub", "relatedIdentifierType"=>"DOI", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Text")
814
- expect(subject.rights_list).to eq([{"lang"=>"eng", "rightsUri"=>"http://creativecommons.org/licenses/by-nd/2.0", "rights"=>"Creative Commons Attribution-NoDerivs 2.0 Generic"}])
849
+ expect(subject.rights_list).to eq([{"lang"=>"eng",
850
+ "rights"=>"Creative Commons Attribution No Derivatives 2.0 Generic",
851
+ "rightsIdentifier"=>"CC-BY-ND-2.0",
852
+ "rightsIdentifierScheme"=>"SPDX",
853
+ "rightsUri"=>"https://creativecommons.org/licenses/by-nd/2.0/legalcode",
854
+ "schemeUri"=>"https://spdx.org/licenses/"}])
815
855
  expect(subject.publisher).to eq("Springer")
816
856
  expect(subject.agency).to eq("DataCite")
817
857
  end
@@ -967,7 +1007,7 @@ describe Bolognese::Metadata, vcr: true do
967
1007
  "nameIdentifiers"=> [{"nameIdentifier"=>"https://orcid.org/0000-0002-8743-4455", "nameIdentifierScheme"=>"ORCID", "schemeUri"=>"https://orcid.org"}],
968
1008
  "affiliation"=>[{"name"=>"Royal Netherlands Meteorological Institute (KNMI)"}]}])
969
1009
  expect(subject.titles).to eq([{"title"=>"Multi-Sensor Reanalysis (MSR) of total ozone, version 2"}])
970
- expect(subject.version).to eq("2")
1010
+ expect(subject.version_info).to eq("2")
971
1011
  expect(subject.dates).to eq([{"date"=>"2014-04-25", "dateType"=>"Available"}, {"date"=>"2015", "dateType"=>"Issued"}])
972
1012
  expect(subject.publication_year).to eq("2015")
973
1013
  expect(subject.publisher).to eq("Royal Netherlands Meteorological Institute (KNMI)")