bolognese 1.6.5 → 1.6.10

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: 4a576209bfe96feeeb1e6495da845b4e6526eb2b45304ca136abda3e71f21540
4
- data.tar.gz: 10efc05b05f546cabdec118f38c39027ba4a0fb6c52cc03f28f75b3d5127243b
3
+ metadata.gz: 7587e889005dfc54745f8159ad04ee1d301dbace34b81ce46df75d3244988446
4
+ data.tar.gz: 49a9ecf9265f23855bbe348343e50a8ff38e87929287ec2d7af52c34d9775cdb
5
5
  SHA512:
6
- metadata.gz: 7e0d9bc3bd09820071226ced2a898eca038282873a67b2b2be22024cc6abf205d428a57e2a01f119dc27aa8a21bee30654c0dd1cc36eab5872de78b482c5b405
7
- data.tar.gz: 0333ac4f5981ddaa39904a4729c8553f0d67add5a10395b2f32f0d64b39ad58feed240e2ce6009841dc64f514879a31a7a00a64712f3f5bfbfaf161cfde37120
6
+ metadata.gz: 68575504503ab0c3ec6e38164da0c43c1a52d29a76ba048f8320cf1b0b33261c43cac64e18f49195baac0798c4baee1ea7393dbd59f05744413b42ef78e7bc39
7
+ data.tar.gz: ea1bc0f124b11d17bc1b941a94aef32befe128b8c8ce6ef8c1d96b5985ce1732612ec6179ef6df05808d9110fdcd5f47e4b89f91f5b314ed8a9672a908fcaf01
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bolognese (1.6.5)
4
+ bolognese (1.6.10)
5
5
  activesupport (>= 4.2.5)
6
6
  benchmark_methods (~> 0.7)
7
7
  bibtex-ruby (>= 5.1.0)
@@ -11,7 +11,7 @@ PATH
11
11
  concurrent-ruby (~> 1.1, >= 1.1.5)
12
12
  csl-styles (~> 1.0, >= 1.0.1.8)
13
13
  edtf (~> 3.0, >= 3.0.4)
14
- faraday (~> 1.0, >= 1.0.1)
14
+ faraday (= 0.17.0)
15
15
  gender_detector (~> 0.1.2)
16
16
  iso8601 (~> 0.9.1)
17
17
  json-ld (~> 3.1, >= 3.1.4)
@@ -56,7 +56,7 @@ GEM
56
56
  namae (~> 1.0)
57
57
  csl-styles (1.0.1.10)
58
58
  csl (~> 1.0)
59
- diff-lcs (1.3)
59
+ diff-lcs (1.4.3)
60
60
  docile (1.3.2)
61
61
  ebnf (1.2.0)
62
62
  rdf (~> 3.1)
@@ -64,12 +64,12 @@ GEM
64
64
  edtf (3.0.5)
65
65
  activesupport (>= 3.0, < 7.0)
66
66
  excon (0.71.1)
67
- faraday (1.0.1)
67
+ faraday (0.17.0)
68
68
  multipart-post (>= 1.2, < 3)
69
69
  faraday-encoding (0.0.5)
70
70
  faraday
71
- faraday_middleware (1.0.0)
72
- faraday (~> 1.0)
71
+ faraday_middleware (0.13.1)
72
+ faraday (>= 0.7.4, < 1.0)
73
73
  gender_detector (0.1.2)
74
74
  unicode_utils (>= 1.3.0)
75
75
  haml (5.1.2)
@@ -98,14 +98,14 @@ GEM
98
98
  loofah (2.6.0)
99
99
  crass (~> 1.0.2)
100
100
  nokogiri (>= 1.5.9)
101
- maremma (4.8)
101
+ maremma (4.7)
102
102
  activesupport (>= 4.2.5)
103
103
  addressable (>= 2.3.6)
104
104
  builder (~> 3.2, >= 3.2.2)
105
105
  excon (~> 0.71.0)
106
- faraday (~> 1.0, >= 1.0.1)
106
+ faraday (= 0.17.0)
107
107
  faraday-encoding (~> 0.0.4)
108
- faraday_middleware (~> 1.0)
108
+ faraday_middleware (~> 0.13.1)
109
109
  nokogiri (~> 1.10.4)
110
110
  oj (>= 2.8.3)
111
111
  oj_mimic_json (~> 1.0, >= 1.0.1)
@@ -187,7 +187,7 @@ GEM
187
187
  addressable (>= 2.3.6)
188
188
  crack (>= 0.3.2)
189
189
  hashdiff (>= 0.4.0, < 2.0.0)
190
- zeitwerk (2.3.0)
190
+ zeitwerk (2.3.1)
191
191
 
192
192
  PLATFORMS
193
193
  ruby
@@ -15,9 +15,9 @@ Gem::Specification.new do |s|
15
15
  s.license = 'MIT'
16
16
  s.required_ruby_version = '~> 2.3'
17
17
 
18
- # Declary dependencies here, rather than in the Gemfile
18
+ # Declare dependencies here, rather than in the Gemfile
19
19
  s.add_dependency 'maremma', '>= 4.3', '< 5'
20
- s.add_dependency 'faraday', '~> 1.0', '>= 1.0.1'
20
+ s.add_dependency 'faraday', "0.17.0"
21
21
  s.add_dependency 'nokogiri', '~> 1.10.4'
22
22
  s.add_dependency 'loofah', '~> 2.0', '>= 2.0.3'
23
23
  s.add_dependency 'builder', '~> 3.2', '>= 3.2.2'
@@ -140,8 +140,14 @@ module Bolognese
140
140
  author = to_citeproc(creators)
141
141
  end
142
142
 
143
+ if types["resourceTypeGeneral"] == "Software" && version_info.present?
144
+ type = "book"
145
+ else
146
+ type = types["citeproc"]
147
+ end
148
+
143
149
  {
144
- "type" => types["citeproc"],
150
+ "type" => type,
145
151
  "id" => normalize_doi(doi),
146
152
  "categories" => Array.wrap(subjects).map { |k| parse_attributes(k, content: "subject", first: true) }.presence,
147
153
  "language" => language,
@@ -1105,7 +1105,7 @@ module Bolognese
1105
1105
  {
1106
1106
  "rights" => license["name"],
1107
1107
  "rightsUri" => license["seeAlso"].first,
1108
- "rightsIdentifier" => license["licenseId"],
1108
+ "rightsIdentifier" => license["licenseId"].downcase,
1109
1109
  "rightsIdentifierScheme" => "SPDX",
1110
1110
  "schemeUri" => "https://spdx.org/licenses/" }.compact
1111
1111
  else
@@ -1115,21 +1115,21 @@ module Bolognese
1115
1115
 
1116
1116
  def hsh_to_spdx(hsh)
1117
1117
  spdx = JSON.load(File.read(File.expand_path('../../../resources/spdx/licenses.json', __FILE__))).fetch("licenses")
1118
- license = spdx.find { |l| l["licenseId"] == hsh["rightsIdentifier"] || l["seeAlso"].first == normalize_cc_url(hsh["rightsURI"]) || l["name"] == hsh["rights"] || l["seeAlso"].first == normalize_cc_url(hsh["rights"]) }
1118
+ license = spdx.find { |l| l["licenseId"].casecmp?(hsh["rightsIdentifier"]) || l["seeAlso"].first == normalize_cc_url(hsh["rightsURI"]) || l["name"] == hsh["rights"] || l["seeAlso"].first == normalize_cc_url(hsh["rights"]) }
1119
1119
 
1120
1120
  if license
1121
1121
  {
1122
1122
  "rights" => license["name"],
1123
1123
  "rightsUri" => license["seeAlso"].first,
1124
- "rightsIdentifier" => license["licenseId"],
1124
+ "rightsIdentifier" => license["licenseId"].downcase,
1125
1125
  "rightsIdentifierScheme" => "SPDX",
1126
1126
  "schemeUri" => "https://spdx.org/licenses/",
1127
1127
  "lang" => hsh["lang"] }.compact
1128
1128
  else
1129
1129
  {
1130
- "rights" => hsh["__content__"],
1131
- "rightsUri" => hsh["rightsURI"],
1132
- "rightsIdentifier" => hsh["rightsIdentifier"],
1130
+ "rights" => hsh["__content__"] || hsh["rights"],
1131
+ "rightsUri" => hsh["rightsURI"] || hsh["rightsUri"],
1132
+ "rightsIdentifier" => hsh["rightsIdentifier"].present? ? hsh["rightsIdentifier"].downcase : nil,
1133
1133
  "rightsIdentifierScheme" => hsh["rightsIdentifierScheme"],
1134
1134
  "schemeUri" => hsh["schemeUri"],
1135
1135
  "lang" => hsh["lang"] }.compact
@@ -1177,11 +1177,11 @@ module Bolognese
1177
1177
  def hsh_to_fos(hsh)
1178
1178
  # first find subject in Fields of Science (OECD)
1179
1179
  fos = JSON.load(File.read(File.expand_path('../../../resources/oecd/fos-mappings.json', __FILE__))).fetch("fosFields")
1180
- subject = fos.find { |l| l["fosLabel"] == hsh["__content__"] || "FOS: " + l["fosLabel"] == hsh["__content__"] }
1180
+ subject = fos.find { |l| l["fosLabel"] == hsh["__content__"] || "FOS: " + l["fosLabel"] == hsh["__content__"] || l["fosLabel"] == hsh["subject"]}
1181
1181
 
1182
1182
  if subject
1183
1183
  return [{
1184
- "subject" => sanitize(hsh["__content__"]),
1184
+ "subject" => sanitize(hsh["__content__"] || hsh["subject"]),
1185
1185
  "subjectScheme" => hsh["subjectScheme"],
1186
1186
  "schemeUri" => hsh["schemeURI"],
1187
1187
  "valueUri" => hsh["valueURI"],
@@ -1200,19 +1200,19 @@ module Bolognese
1200
1200
 
1201
1201
  # try to extract forId
1202
1202
  if hsh["subjectScheme"] == "FOR"
1203
- for_id = hsh["__content__"].split(" ").first
1203
+ for_id = hsh["__content__"].split(" ").first || hsh["subject"].split(" ").first
1204
1204
  for_id = for_id.rjust(6, "0")
1205
1205
 
1206
1206
  subject = for_fields.find { |l| l["forId"] == for_id } ||
1207
1207
  for_disciplines.find { |l| l["forId"] == for_id[0..3] }
1208
1208
  else
1209
- subject = for_fields.find { |l| l["forLabel"] == hsh["__content__"] } ||
1210
- for_disciplines.find { |l| l["forLabel"] == hsh["__content__"] }
1209
+ subject = for_fields.find { |l| l["forLabel"] == hsh["__content__"] || l["forLabel"] == hsh["subject"] } ||
1210
+ for_disciplines.find { |l| l["forLabel"] == hsh["__content__"] || l["forLabel"] == hsh["subject"] }
1211
1211
  end
1212
1212
 
1213
1213
  if subject
1214
1214
  [{
1215
- "subject" => sanitize(hsh["__content__"]),
1215
+ "subject" => sanitize(hsh["__content__"] || hsh["subject"]),
1216
1216
  "subjectScheme" => hsh["subjectScheme"],
1217
1217
  "schemeUri" => hsh["schemeURI"],
1218
1218
  "valueUri" => hsh["valueURI"],
@@ -1224,7 +1224,7 @@ module Bolognese
1224
1224
  }]
1225
1225
  else
1226
1226
  [{
1227
- "subject" => sanitize(hsh["__content__"]),
1227
+ "subject" => sanitize(hsh["__content__"] || hsh["subject"]),
1228
1228
  "subjectScheme" => hsh["subjectScheme"],
1229
1229
  "schemeUri" => hsh["schemeURI"],
1230
1230
  "valueUri" => hsh["valueURI"],
@@ -1,3 +1,3 @@
1
1
  module Bolognese
2
- VERSION = "1.6.5"
2
+ VERSION = "1.6.10"
3
3
  end
@@ -160,7 +160,7 @@ describe Bolognese::Metadata, vcr: true do
160
160
  xml = Nokogiri::XML::Builder.new(:encoding => 'UTF-8') { |xml| subject.insert_rights_list(xml) }.to_xml
161
161
  response = Maremma.from_xml(xml)
162
162
  expect(response.dig("rightsList", "rights")).to eq("__content__" => "Creative Commons Zero v1.0 Universal",
163
- "rightsIdentifier" => "CC0-1.0",
163
+ "rightsIdentifier" => "cc0-1.0",
164
164
  "rightsIdentifierScheme" => "SPDX",
165
165
  "rightsURI" => "https://creativecommons.org/publicdomain/zero/1.0/legalcode",
166
166
  "schemeURI" => "https://spdx.org/licenses/")
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.crossref.org/works/10.1101/097196/transform/application/vnd.crossref.unixsd+xml
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/xml
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ Link:
20
+ - !binary |-
21
+ PGh0dHA6Ly9keC5kb2kub3JnLzEwLjExMDEvMDk3MTk2PjsgcmVsPSJjYW5vbmljYWwiLCA8aHR0cHM6Ly9zeW5kaWNhdGlvbi5oaWdod2lyZS5vcmcvY29udGVudC9kb2kvMTAuMTEwMS8wOTcxOTY+OyB2ZXJzaW9uPSJ2b3IiOyByZWw9Iml0ZW0iLCA8aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDMtMTQxOS0yNDA1PjsgdGl0bGU9Ik1hcnRpbiBGZW5uZXIiOyByZWw9ImF1dGhvciIsIDxodHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy0xMzA0LTE5Mzk+OyB0aXRsZT0iTWVyY8OoIENyb3NhcyI7IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAxLTUyMTItNzA1Mj47IHRpdGxlPSJKZWZmcmV5IEdyZXRoZSI7IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAyLTkzNzctMDc5Nz47IHRpdGxlPSJEYXZpZCBLZW5uZWR5IjsgcmVsPSJhdXRob3IiLCA8aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDEtODQ3OS0wMjYyPjsgdGl0bGU9Ikhlbm5pbmcgSGVybWpha29iIjsgcmVsPSJhdXRob3IiLCA8aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDEtOTg1My01NjY4PjsgdGl0bGU9IlBoaWxpcHBlIFJvY2NhLVNlcnJhIjsgcmVsPSJhdXRob3IiLCA8aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDItMjE4OC0yNTcwPjsgdGl0bGU9Ikd1c3Rhdm8gRHVyYW5kIjsgcmVsPSJhdXRob3IiLCA8aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDItMTczMS01MzQ2PjsgdGl0bGU9IlJvYmluIEJlcmpvbiI7IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAxLTgyNDktNzM4OD47IHRpdGxlPSJTZWJhc3RpYW4gS2FyY2hlciI7IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAyLTg0MDYtMzg3MT47IHRpdGxlPSJNYXJ5YW5uIE1hcnRvbmUiOyByZWw9ImF1dGhvciIsIDxodHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy00MDYwLTczNjA+OyB0aXRsZT0iVGltb3RoeSBDbGFyayI7IHJlbD0iYXV0aG9yIg==
22
+ Access-Control-Allow-Origin:
23
+ - "*"
24
+ Access-Control-Allow-Headers:
25
+ - X-Requested-With
26
+ Content-Length:
27
+ - '16202'
28
+ Server:
29
+ - http-kit
30
+ Date:
31
+ - Wed, 01 Jul 2020 02:59:51 GMT
32
+ X-Rate-Limit-Limit:
33
+ - '50'
34
+ X-Rate-Limit-Interval:
35
+ - 1s
36
+ Connection:
37
+ - close
38
+ body:
39
+ encoding: ASCII-8BIT
40
+ string: !binary |-
41
+ PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLT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aWJ1dG9ycz4NCiAgICAgICAgICAgICAgICA8cGVyc29uX25hbWUgY29udHJpYnV0b3Jfcm9sZT0iYXV0aG9yIiBzZXF1ZW5jZT0iZmlyc3QiPg0KICAgICAgICAgICAgICAgICAgPGdpdmVuX25hbWU+TWFydGluPC9naXZlbl9uYW1lPg0KICAgICAgICAgICAgICAgICAgPHN1cm5hbWU+RmVubmVyPC9zdXJuYW1lPg0KICAgICAgICAgICAgICAgICAgPE9SQ0lEPmh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAzLTE0MTktMjQwNTwvT1JDSUQ+DQogICAgICAgICAgICAgICAgPC9wZXJzb25fbmFtZT4NCiAgICAgICAgICAgICAgICA8cGVyc29uX25hbWUgY29udHJpYnV0b3Jfcm9sZT0iYXV0aG9yIiBzZXF1ZW5jZT0iYWRkaXRpb25hbCI+DQogICAgICAgICAgICAgICAgICA8Z2l2ZW5fbmFtZT5NZXJjw6g8L2dpdmVuX25hbWU+DQogICAgICAgICAgICAgICAgICA8c3VybmFtZT5Dcm9zYXM8L3N1cm5hbWU+DQogICAgICAgICAgICAgICAgICA8T1JDSUQ+aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDMtMTMwNC0xOTM5PC9PUkNJRD4NCiAgICAgICAgICAgICAgICA8L3BlcnNvbl9uYW1lPg0KICAgICAgICAgICAgICAgIDxwZXJzb25fbmFtZSBjb250cmlidXRvcl9yb2xlPSJhdXRob3IiIHNlcXVlbmNlPSJhZGRpdGlvbmFsIj4NCiAgICAgICAgICAgICAgICAgIDxnaXZlbl9uYW1lPkplZmZyZXk8L2dpdmVuX25hbWU+DQogICAgICAgICAgICAgICAgICA8c3VybmFtZT5HcmV0aGU8L3N1cm5hbWU+DQogICAgICAgICAgICAgICAgICA8T1JDSUQ+aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDEtNTIxMi03MDUyPC9PUkNJRD4NCiAgICAgICAgICAgICAgICA8L3BlcnNvbl9uYW1lPg0KICAgICAgICAgICAgICAgIDxwZXJzb25fbmFtZSBjb250cmlidXRvcl9yb2xlPSJhdXRob3IiIHNlcXVlbmNlPSJhZGRpdGlvbmFsIj4NCiAgICAgICAgICAgICAgICAgIDxnaXZlbl9uYW1lPkRhdmlkPC9naXZlbl9uYW1lPg0KICAgICAgICAgICAgICAgICAgPHN1cm5hbWU+S2VubmVkeTwvc3VybmFtZT4NCiAgICAgICAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMi05Mzc3LTA3OTc8L09SQ0lEPg0KICAgICAgICAgICAgICAgIDwvcGVyc29uX25hbWU+DQogICAgICAgICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImFkZGl0aW9uYWwiPg0KICAgICAgICAgICAgICAgICAgPGdpdmVuX25hbWU+SGVubmluZzwvZ2l2ZW5fbmFtZT4NCiAgICAgICAgICAgICAgICAgIDxzdXJuYW1lPkhlcm1qYWtvYjwvc3VybmFtZT4NCiAgICAgICAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMS04NDc5LTAyNjI8L09SQ0lEPg0KICAgICAgICAgICAgICAgIDwvcGVyc29uX25hbWU+DQogICAgICAgICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImFkZGl0aW9uYWwiPg0KICAgICAgICAgICAgICAgICAgPGdpdmVuX25hbWU+UGhpbGlwcGU8L2dpdmVuX25hbWU+DQogICAgICAgICAgICAgICAgICA8c3VybmFtZT5Sb2NjYS1TZXJyYTwvc3VybmFtZT4NCiAgICAgICAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMS05ODUzLTU2Njg8L09SQ0lEPg0KICAgICAgICAgICAgICAgIDwvcGVyc29uX25hbWU+DQogICAgICAgICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImFkZGl0aW9uYWwiPg0KICAgICAgICAgICAgICAgICAgPGdpdmVuX25hbWU+R3VzdGF2bzwvZ2l2ZW5fbmFtZT4NCiAgICAgICAgICAgICAgICAgIDxzdXJuYW1lPkR1cmFuZDwvc3VybmFtZT4NCiAgICAgICAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMi0yMTg4LTI1NzA8L09SQ0lEPg0KICAgICAgICAgICAgICAgIDwvcGVyc29uX25hbWU+DQogICAgICAgICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImFkZGl0aW9uYWwiPg0KICAgICAgICAgICAgICAgICAgPGdpdmVuX25hbWU+Um9iaW48L2dpdmVuX25hbWU+DQogICAgICAgICAgICAgICAgICA8c3VybmFtZT5CZXJqb248L3N1cm5hbWU+DQogICAgICAgICAgICAgICAgICA8T1JDSUQ+aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDItMTczMS01MzQ2PC9PUkNJRD4NCiAgICAgICAgICAgICAgICA8L3BlcnNvbl9uYW1lPg0KICAgICAgICAgICAgICAgIDxwZXJzb25fbmFtZSBjb250cmlidXRvcl9yb2xlPSJhdXRob3IiIHNlcXVlbmNlPSJhZGRpdGlvbmFsIj4NCiAgICAgICAgICAgICAgICAgIDxnaXZlbl9uYW1lPlNlYmFzdGlhbjwvZ2l2ZW5fbmFtZT4NCiAgICAgICAgICAgICAgICAgIDxzdXJuYW1lPkthcmNoZXI8L3N1cm5hbWU+DQogICAgICAgICAgICAgICAgICA8T1JDSUQ+aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDEtODI0OS03Mzg4PC9PUkNJRD4NCiAgICAgICAgICAgICAgICA8L3BlcnNvbl9uYW1lPg0KICAgICAgICAgICAgICAgIDxwZXJzb25fbmFtZSBjb250cmlidXRvcl9yb2xlPSJhdXRob3IiIHNlcXVlbmNlPSJhZGRpdGlvbmFsIj4NCiAgICAgICAgICAgICAgICAgIDxnaXZlbl9uYW1lPk1hcnlhbm48L2dpdmVuX25hbWU+DQogICAgICAgICAgICAgICAgICA8c3VybmFtZT5NYXJ0b25lPC9zdXJuYW1lPg0KICAgICAgICAgICAgICAgICAgPE9SQ0lEPmh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAyLTg0MDYtMzg3MTwvT1JDSUQ+DQogICAgICAgICAgICAgICAgPC9wZXJzb25fbmFtZT4NCiAgICAgICAgICAgICAgICA8cGVyc29uX25hbWUgY29udHJpYnV0b3Jfcm9sZT0iYXV0aG9yIiBzZXF1ZW5jZT0iYWRkaXRpb25hbCI+DQogICAgICAgICAgICAgICAgICA8Z2l2ZW5fbmFtZT5UaW1vdGh5PC9naXZlbl9uYW1lPg0KICAgICAgICAgICAgICAgICAgPHN1cm5hbWU+Q2xhcms8L3N1cm5hbWU+DQogICAgICAgICAgICAgICAgICA8T1JDSUQ+aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDMtNDA2MC03MzYwPC9PUkNJRD4NCiAgICAgICAgICAgICAgICA8L3BlcnNvbl9uYW1lPg0KICAgICAgICAgICAgICA8L2NvbnRyaWJ1dG9ycz4NCiAgICAgICAgICAgICAgPHRpdGxlcz4NCiAgICAgICAgICAgICAgICA8dGl0bGU+QSBEYXRhIENpdGF0aW9uIFJvYWRtYXAgZm9yIFNjaG9sYXJseSBEYXRhIFJlcG9zaXRvcmllczwvdGl0bGU+DQogICAgICAgICAgICAgIDwvdGl0bGVzPg0KICAgICAgICAgICAgICA8cG9zdGVkX2RhdGU+DQogICAgICAgICAgICAgICAgPG1vbnRoPjEyPC9tb250aD4NCiAgICAgICAgICAgICAgICA8ZGF5PjI4PC9kYXk+DQogICAgICAgICAgICAgICAgPHllYXI+MjAxNjwveWVhcj4NCiAgICAgICAgICAgICAgPC9wb3N0ZWRfZGF0ZT4NCiAgICAgICAgICAgICAgPGFjY2VwdGFuY2VfZGF0ZT4NCiAgICAgICAgICAgICAgICA8bW9udGg+MTA8L21vbnRoPg0KICAgICAgICAgICAgICAgIDxkYXk+MDk8L2RheT4NCiAgICAgICAgICAgICAgICA8eWVhcj4yMDE3PC95ZWFyPg0KICAgICAgICAgICAgICA8L2FjY2VwdGFuY2VfZGF0ZT4NCiAgICAgICAgICAgICAgPGluc3RpdHV0aW9uPg0KICAgICAgICAgICAgICAgIDxpbnN0aXR1dGlvbl9uYW1lPmJpb1J4aXY8L2luc3RpdHV0aW9uX25hbWU+DQogICAgICAgICAgICAgIDwvaW5zdGl0dXRpb24+DQogICAgICAgICAgICAgIDxpdGVtX251bWJlciBpdGVtX251bWJlcl90eXBlPSJwaXNhIj5iaW9yeGl2OzA5NzE5NnYyPC9pdGVtX251bWJlcj4NCiAgICAgICAgICAgICAgPGphdHM6YWJzdHJhY3QgeG1sbnM6amF0cz0iaHR0cDovL3d3dy5uY2JpLm5sbS5uaWguZ292L0pBVFMxIj4NCiAgICAgICAgICAgICAgICA8amF0czp0aXRsZT5BYnN0cmFjdDwvamF0czp0aXRsZT4NCiAgICAgICAgICAgICAgICA8amF0czpwPg0KICAgICAgICAgICAgICAgICAgVGhpcyBhcnRpY2xlIHByZXNlbnRzIGEgcHJhY3RpY2FsIHJvYWRtYXAgZm9yIHNjaG9sYXJseSBkYXRhIHJlcG9zaXRvcmllcyB0byBpbXBsZW1lbnQgZGF0YSBjaXRhdGlvbiBpbiBhY2NvcmRhbmNlIHdpdGggdGhlIEpvaW50IERlY2xhcmF0aW9uIG9mIERhdGEgQ2l0YXRpb24gUHJpbmNpcGxlcywgYSBzeW5vcHNpcyBhbmQgaGFybW9uaXphdGlvbiBvZiB0aGUgcmVjb21tZW5kYXRpb25zIG9mIG1ham9yIHNjaWVuY2UgcG9saWN5IGJvZGllcy4gVGhlIHJvYWRtYXAgd2FzIGRldmVsb3BlZCBieSB0aGUgUmVwb3N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KICAgICAgICAgICAgICAgIDxyZWxhdGVkX2l0ZW0+DQogICAgICAgICAgICAgICAgICA8aW50cmFfd29ya19yZWxhdGlvbiByZWxhdGlvbnNoaXAtdHlwZT0iaXNQcmVwcmludE9mIiBpZGVudGlmaWVyLXR5cGU9ImRvaSI+MTAuMTAzOC9zNDE1OTctMDE5LTAwMzEtODwvaW50cmFfd29ya19yZWxhdGlvbj4NCiAgICAgICAgICAgICAgICA8L3JlbGF0ZWRfaXRlbT4NCiAgICAgICAgICAgICAgPC9wcm9ncmFtPg0KICAgICAgICAgICAgICA8ZG9pX2RhdGE+DQogICAgICAgICAgICAgICAgPGRvaT4xMC4xMTAxLzA5NzE5NjwvZG9pPg0KICAgICAgICAgICAgICAgIDx0aW1lc3RhbXA+MjAxOTA3MTYxMzM4MTI4NDAwMDwvdGltZXN0YW1wPg0KICAgICAgICAgICAgICAgIDxyZXNvdXJjZT5odHRwOi8vYmlvcnhpdi5vcmcvbG9va3VwL2RvaS8xMC4xMTAxLzA5NzE5NjwvcmVzb3VyY2U+DQogICAgICAgICAgICAgICAgPGNvbGxlY3Rpb24gcHJvcGVydHk9ImNyYXdsZXItYmFzZWQiPg0KICAgICAgICAgICAgICAgICAgPGl0ZW0gY3Jhd2xlcj0iaVBhcmFkaWdtcyI+DQogICAgICAgICAgICAgICAgICAgIDxyZXNvdXJjZT5odHRwczovL3N5bmRpY2F0aW9uLmhpZ2h3aXJlLm9yZy9jb250ZW50L2RvaS8xMC4xMTAxLzA5NzE5NjwvcmVzb3VyY2U+DQogICAgICAgICAgICAgICAgICA8L2l0ZW0+DQogICAgICAgICAgICAgICAgPC9jb2xsZWN0aW9uPg0KICAgICAgICAgICAgICA8L2RvaV9kYXRhPg0KICAgICAgICAgICAgICA8Y2l0YXRpb25fbGlzdD4NCiAgICAgICAgICAgICAgICA8Y2l0YXRpb24ga2V5PSIyMDE5MDcxNjEzMzgxMjg0MDAwXzA5NzE5NnYyLjEiPg0KICAgICAgICAgICAgICAgICAgP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0aW9uPlZhbiBkZSBTb21wZWwsIEguICwgJmFtcDsgTmVsc29uLCBNLiBMLiAoMjAxNSkuIFJlbWluaXNjaW5nIEFib3V0IDE1IFllYXJzIG9mIEludGVyb3BlcmFiaWxpdHkgRWZmb3J0cy4gRC1MaWIgTWFnYXppbmUsIDIxKDExLzEyKS4gaHR0cHM6Ly9kb2kub3JnLzEwLjEwNDUvbm92ZW1iZXIyMDE1LXZhbmRlc29tcGVsPC91bnN0cnVjdHVyZWRfY2l0YXRpb24+DQogICAgICAgICAgICAgICAgPC9jaXRhdGlvbj4NCiAgICAgICAgICAgICAgPC9jaXRhdGlvbl9saXN0Pg0KICAgICAgICAgICAgPC9wb3N0ZWRfY29udGVudD4NCiAgICAgICAgICA8L2Nyb3NzcmVmPg0KICAgICAgICA8L2RvaV9yZWNvcmQ+DQogICAgICA8L3F1ZXJ5Pg0KICAgIDwvYm9keT4NCiAgPC9xdWVyeV9yZXN1bHQ+DQo8L2Nyb3NzcmVmX3Jlc3VsdD4=
42
+ http_version:
43
+ recorded_at: Wed, 01 Jul 2020 02:59:51 GMT
44
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.datacite.org/dois/10.5281/zenodo.2598836
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (compatible; Maremma/4.8; 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: OK
18
+ headers:
19
+ Date:
20
+ - Tue, 23 Jun 2020 20:15:32 GMT
21
+ Content-Type:
22
+ - application/json; charset=utf-8
23
+ Connection:
24
+ - keep-alive
25
+ Status:
26
+ - 200 OK
27
+ X-Anonymous-Consumer:
28
+ - 'true'
29
+ Cache-Control:
30
+ - max-age=0, private, must-revalidate
31
+ Vary:
32
+ - Accept-Encoding, Origin
33
+ X-Request-Id:
34
+ - c3c8d01b-f2f5-47b3-94be-708f587f12ad
35
+ Etag:
36
+ - W/"eef90050e859855e481905772350de2a"
37
+ X-Runtime:
38
+ - '0.254035'
39
+ X-Powered-By:
40
+ - Phusion Passenger 6.0.5
41
+ Server:
42
+ - nginx/1.14.0 + Phusion Passenger 6.0.5
43
+ body:
44
+ encoding: ASCII-8BIT
45
+ string: '{"data":{"id":"10.5281/zenodo.2598836","type":"dois","attributes":{"doi":"10.5281/zenodo.2598836","prefix":"10.5281","suffix":"zenodo.2598836","identifiers":[{"identifier":"https://doi.org/10.5281/zenodo.2598836","identifierType":"DOI"},{"identifier":"https://zenodo.org/record/2598836","identifierType":"URL"}],"alternateIdentifiers":[{"alternateIdentifierType":"URL","alternateIdentifier":"https://zenodo.org/record/2598836"}],"creators":[{"name":"Lab
46
+ For Exosphere And Near Space Environment Studies","affiliation":[]}],"titles":[{"title":"lenses-lab/LYAO_RT-2018JA026426:
47
+ Original Release"}],"publisher":"Zenodo","container":{},"publicationYear":2019,"subjects":[],"contributors":[],"dates":[{"date":"2019-03-20","dateType":"Issued"}],"language":null,"types":{"ris":"COMP","bibtex":"misc","citeproc":"article","schemaOrg":"SoftwareSourceCode","resourceTypeGeneral":"Software"},"relatedIdentifiers":[{"relationType":"IsSupplementTo","relatedIdentifier":"https://github.com/lenses-lab/LYAO_RT-2018JA026426/tree/1.0.0","relatedIdentifierType":"URL"},{"relationType":"IsVersionOf","relatedIdentifier":"10.5281/zenodo.2598835","relatedIdentifierType":"DOI"}],"sizes":[],"formats":[],"version":"1.0.0","rightsList":[{"rights":"Open
48
+ Access","rightsUri":"info:eu-repo/semantics/openAccess"}],"descriptions":[{"description":"Original
49
+ executables used by Gallant et al. for JGR publication 2018JA026426.","descriptionType":"Abstract"}],"geoLocations":[],"fundingReferences":[],"xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHJlc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VyVHlwZT0idXJsIj5odHRwczovL3plbm9kby5vcmcvcmVjb3JkLzI1OTg4MzY8L2FsdGVybmF0ZUlkZW50aWZpZXI+CiAgPC9hbHRlcm5hdGVJZGVudGlmaWVycz4KICA8cmVsYXRlZElkZW50aWZpZXJzPgogICAgPHJlbGF0ZWRJZGVudGlmaWVyIHJlbGF0ZWRJZGVudGlmaWVyVHlwZT0iVVJMIiByZWxhdGlvblR5cGU9IklzU3VwcGxlbWVudFRvIj5odHRwczovL2dpdGh1Yi5jb20vbGVuc2VzLWxhYi9MWUFPX1JULTIwMThKQTAyNjQyNi90cmVlLzEuMC4wPC9yZWxhdGVkSWRlbnRpZmllcj4KICAgIDxyZWxhdGVkSWRlbnRpZmllciByZWxhdGVkSWRlbnRpZmllclR5cGU9IkRPSSIgcmVsYXRpb25UeXBlPSJJc1ZlcnNpb25PZiI+MTAuNTI4MS96ZW5vZG8uMjU5ODgzNTwvcmVsYXRlZElkZW50aWZpZXI+CiAgPC9yZWxhdGVkSWRlbnRpZmllcnM+CiAgPHZlcnNpb24+MS4wLjA8L3ZlcnNpb24+CiAgPHJpZ2h0c0xpc3Q+CiAgICA8cmlnaHRzIHJpZ2h0c1VSST0iaW5mbzpldS1yZXBvL3NlbWFudGljcy9vcGVuQWNjZXNzIj5PcGVuIEFjY2VzczwvcmlnaHRzPgogIDwvcmlnaHRzTGlzdD4KICA8ZGVzY3JpcHRpb25zPgogICAgPGRlc2NyaXB0aW9uIGRlc2NyaXB0aW9uVHlwZT0iQWJzdHJhY3QiPiZsdDtwJmd0O09yaWdpbmFsIGV4ZWN1dGFibGVzIHVzZWQgYnkgR2FsbGFudCBldCBhbC4gZm9yIEpHUiBwdWJsaWNhdGlvbiAyMDE4SkEwMjY0MjYuJmx0Oy9wJmd0OzwvZGVzY3JpcHRpb24+CiAgPC9kZXNjcmlwdGlvbnM+CjwvcmVzb3VyY2U+","url":"https://zenodo.org/record/2598836","contentUrl":null,"metadataVersion":0,"schemaVersion":"http://datacite.org/schema/kernel-4","source":"mds","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":"2019-03-20T02:32:02.000Z","registered":"2019-03-20T02:32:02.000Z","published":"2019","updated":"2019-08-02T22:04:29.000Z"},"relationships":{"client":{"data":{"id":"cern.zenodo","type":"clients"}},"media":{"data":{"id":"10.5281/zenodo.2598836","type":"media"}},"references":{"data":[]},"citations":{"data":[]},"parts":{"data":[]},"partOf":{"data":[]},"versions":{"data":[]},"versionOf":{"data":[]}}}}'
50
+ http_version:
51
+ recorded_at: Tue, 23 Jun 2020 20:15:32 GMT
52
+ recorded_with: VCR 3.0.3
@@ -36,7 +36,7 @@ describe Bolognese::Metadata, vcr: true do
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
38
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 3.0 Unported",
39
- "rightsIdentifier"=>"CC-BY-3.0",
39
+ "rightsIdentifier"=>"cc-by-3.0",
40
40
  "rightsIdentifierScheme"=>"SPDX",
41
41
  "rightsUri"=>"https://creativecommons.org/licenses/by/3.0/legalcode",
42
42
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -37,7 +37,7 @@ describe Bolognese::Metadata, vcr: true do
37
37
  expect(subject.publication_year).to eq("2017")
38
38
  expect(subject.publisher).to eq("DataCite")
39
39
  expect(subject.rights_list).to eq([{"rights"=>"MIT License",
40
- "rightsIdentifier"=>"MIT",
40
+ "rightsIdentifier"=>"mit",
41
41
  "rightsIdentifierScheme"=>"SPDX",
42
42
  "rightsUri"=>"https://opensource.org/licenses/MIT",
43
43
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -78,7 +78,7 @@ describe Bolognese::Metadata, vcr: true do
78
78
  expect(subject.publication_year).to eq("2016")
79
79
  expect(subject.publisher).to eq("https://cran.r-project.org")
80
80
  expect(subject.rights_list).to eq([{"rights"=>"Apache License 2.0",
81
- "rightsIdentifier"=>"Apache-2.0",
81
+ "rightsIdentifier"=>"apache-2.0",
82
82
  "rightsIdentifierScheme"=>"SPDX",
83
83
  "rightsUri"=>"http://www.apache.org/licenses/LICENSE-2.0",
84
84
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -107,7 +107,7 @@ describe Bolognese::Metadata, vcr: true do
107
107
  expect(subject.publication_year).to eq("2017")
108
108
  expect(subject.publisher).to eq("DataCite")
109
109
  expect(subject.rights_list).to eq([{"rights"=>"MIT License",
110
- "rightsIdentifier"=>"MIT",
110
+ "rightsIdentifier"=>"mit",
111
111
  "rightsIdentifierScheme"=>"SPDX",
112
112
  "rightsUri"=>"https://opensource.org/licenses/MIT",
113
113
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -129,7 +129,7 @@ describe Bolognese::Metadata, vcr: true do
129
129
  expect(subject.publication_year).to eq("2018")
130
130
  expect(subject.publisher).to eq("DataCite")
131
131
  expect(subject.rights_list).to eq([{"rights"=>"MIT License",
132
- "rightsIdentifier"=>"MIT",
132
+ "rightsIdentifier"=>"mit",
133
133
  "rightsIdentifierScheme"=>"SPDX",
134
134
  "rightsUri"=>"https://opensource.org/licenses/MIT",
135
135
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -24,7 +24,7 @@ describe Bolognese::Metadata, vcr: true do
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
26
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 3.0 Unported",
27
- "rightsIdentifier"=>"CC-BY-3.0",
27
+ "rightsIdentifier"=>"cc-by-3.0",
28
28
  "rightsIdentifierScheme"=>"SPDX",
29
29
  "rightsUri"=>"https://creativecommons.org/licenses/by/3.0/legalcode",
30
30
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -61,7 +61,7 @@ describe Bolognese::Metadata, vcr: true do
61
61
  expect(subject.contributors).to eq("contributorType"=>"Editor", "familyName"=>"Janbon", "givenName"=>"Guilhem", "name"=>"Janbon, Guilhem", "nameType"=>"Personal")
62
62
  expect(subject.titles).to eq([{"title"=>"Triose Phosphate Isomerase Deficiency Is Caused by Altered Dimerization–Not Catalytic Inactivity–of the Mutant Enzymes"}])
63
63
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 4.0 International",
64
- "rightsIdentifier"=>"CC-BY-4.0",
64
+ "rightsIdentifier"=>"cc-by-4.0",
65
65
  "rightsIdentifierScheme"=>"SPDX",
66
66
  "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode",
67
67
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -86,7 +86,7 @@ describe Bolognese::Metadata, vcr: true do
86
86
  expect(subject.creators.first).to eq("familyName"=>"Fortes", "givenName"=>"Ana Margarida", "name"=>"Fortes, Ana Margarida", "nameType"=>"Personal")
87
87
  expect(subject.titles).to eq([{"title"=>"Transcriptional Modulation of Polyamine Metabolism in Fruit Species Under Abiotic and Biotic Stress"}])
88
88
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 4.0 International",
89
- "rightsIdentifier"=>"CC-BY-4.0",
89
+ "rightsIdentifier"=>"cc-by-4.0",
90
90
  "rightsIdentifierScheme"=>"SPDX",
91
91
  "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode",
92
92
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -205,7 +205,7 @@ describe Bolognese::Metadata, vcr: true do
205
205
  expect(subject.creators.length).to eq(7)
206
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"}])
207
207
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 3.0 Unported",
208
- "rightsIdentifier"=>"CC-BY-3.0",
208
+ "rightsIdentifier"=>"cc-by-3.0",
209
209
  "rightsIdentifierScheme"=>"SPDX",
210
210
  "rightsUri"=>"https://creativecommons.org/licenses/by/3.0/legalcode",
211
211
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -32,7 +32,7 @@ describe Bolognese::Metadata, vcr: true do
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
34
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Zero v1.0 Universal",
35
- "rightsIdentifier"=>"CC0-1.0",
35
+ "rightsIdentifier"=>"cc0-1.0",
36
36
  "rightsIdentifierScheme"=>"SPDX",
37
37
  "rightsUri"=>"https://creativecommons.org/publicdomain/zero/1.0/legalcode",
38
38
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -125,7 +125,7 @@ describe Bolognese::Metadata, vcr: true do
125
125
  {"identifier"=>
126
126
  "https://schema.datacite.org/meta/kernel-4.2/example/datacite-example-full-v4.2.xml",
127
127
  "identifierType"=>"URL"}])
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/"}])
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/"}])
129
129
  expect(subject.publication_year).to eq("2014")
130
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"=>
131
131
  [{"affiliationIdentifier"=>"https://ror.org/03yrm5c26",
@@ -199,7 +199,7 @@ describe Bolognese::Metadata, vcr: true do
199
199
  expect(subject.descriptions.first["description"]).to start_with("This tools are used to analyse the data produced by the Crosssover Experiment")
200
200
  expect(subject.rights_list).to eq([{"rights"=>
201
201
  "Creative Commons Attribution Non Commercial Share Alike 4.0 International",
202
- "rightsIdentifier"=>"CC-BY-NC-SA-4.0",
202
+ "rightsIdentifier"=>"cc-by-nc-sa-4.0",
203
203
  "rightsIdentifierScheme"=>"SPDX",
204
204
  "rightsUri"=>"https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode",
205
205
  "schemeUri"=>"https://spdx.org/licenses/"},
@@ -229,7 +229,7 @@ describe Bolognese::Metadata, vcr: true do
229
229
  expect(subject.titles).to eq([{"title"=>"RAIN v1"}])
230
230
  expect(subject.descriptions.first["description"]).to start_with("<b>RAIN: RNA–protein Association and Interaction Networks")
231
231
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 4.0 International",
232
- "rightsIdentifier"=>"CC-BY-4.0",
232
+ "rightsIdentifier"=>"cc-by-4.0",
233
233
  "rightsIdentifierScheme"=>"SPDX",
234
234
  "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode",
235
235
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -264,7 +264,7 @@ describe Bolognese::Metadata, vcr: true do
264
264
  expect(subject.titles).to eq([{"title"=>"Drosophila melanogaster African Wings"}])
265
265
  expect(subject.descriptions.first["description"]).to start_with("These are raw wing images from <i>Drosophila melanogaster</i>")
266
266
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 4.0 International",
267
- "rightsIdentifier"=>"CC-BY-4.0",
267
+ "rightsIdentifier"=>"cc-by-4.0",
268
268
  "rightsIdentifierScheme"=>"SPDX",
269
269
  "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode",
270
270
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -704,7 +704,7 @@ describe Bolognese::Metadata, vcr: true do
704
704
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"10.5272/oldertestpub", "relatedIdentifierType"=>"DOI", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Text")
705
705
  expect(subject.rights_list).to eq([{"lang"=>"eng",
706
706
  "rights"=>"Creative Commons Attribution No Derivatives 2.0 Generic",
707
- "rightsIdentifier"=>"CC-BY-ND-2.0",
707
+ "rightsIdentifier"=>"cc-by-nd-2.0",
708
708
  "rightsIdentifierScheme"=>"SPDX",
709
709
  "rightsUri"=>"https://creativecommons.org/licenses/by-nd/2.0/legalcode",
710
710
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -733,7 +733,7 @@ describe Bolognese::Metadata, vcr: true do
733
733
  expect(subject.related_identifiers.length).to eq(1)
734
734
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"10.5272/oldertestpub", "relatedIdentifierType"=>"DOI", "relationType"=>"IsPartOf")
735
735
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution No Derivatives 2.0 Generic",
736
- "rightsIdentifier"=>"CC-BY-ND-2.0",
736
+ "rightsIdentifier"=>"cc-by-nd-2.0",
737
737
  "rightsIdentifierScheme"=>"SPDX",
738
738
  "rightsUri"=>"https://creativecommons.org/licenses/by-nd/2.0/legalcode",
739
739
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -762,7 +762,7 @@ describe Bolognese::Metadata, vcr: true do
762
762
  expect(subject.related_identifiers.length).to eq(4)
763
763
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"19478877", "relatedIdentifierType"=>"PMID", "relationType"=>"IsReferencedBy")
764
764
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Zero v1.0 Universal",
765
- "rightsIdentifier"=>"CC0-1.0",
765
+ "rightsIdentifier"=>"cc0-1.0",
766
766
  "rightsIdentifierScheme"=>"SPDX",
767
767
  "rightsUri"=>"https://creativecommons.org/publicdomain/zero/1.0/legalcode",
768
768
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -791,7 +791,7 @@ describe Bolognese::Metadata, vcr: true do
791
791
  expect(subject.related_identifiers.length).to eq(1)
792
792
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"10.5272/oldertestpub", "relatedIdentifierType"=>"DOI", "relationType"=>"IsPartOf")
793
793
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution No Derivatives 2.0 Generic",
794
- "rightsIdentifier"=>"CC-BY-ND-2.0",
794
+ "rightsIdentifier"=>"cc-by-nd-2.0",
795
795
  "rightsIdentifierScheme"=>"SPDX",
796
796
  "rightsUri"=>"https://creativecommons.org/licenses/by-nd/2.0/legalcode",
797
797
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -848,7 +848,7 @@ describe Bolognese::Metadata, vcr: true do
848
848
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"10.5272/oldertestpub", "relatedIdentifierType"=>"DOI", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Text")
849
849
  expect(subject.rights_list).to eq([{"lang"=>"eng",
850
850
  "rights"=>"Creative Commons Attribution No Derivatives 2.0 Generic",
851
- "rightsIdentifier"=>"CC-BY-ND-2.0",
851
+ "rightsIdentifier"=>"cc-by-nd-2.0",
852
852
  "rightsIdentifierScheme"=>"SPDX",
853
853
  "rightsUri"=>"https://creativecommons.org/licenses/by-nd/2.0/legalcode",
854
854
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -512,25 +512,25 @@ describe Bolognese::Metadata, vcr: true do
512
512
  it "name_to_spdx exists" do
513
513
  name = "Creative Commons Attribution 4.0 International"
514
514
  response = subject.name_to_spdx(name)
515
- expect(response).to eq({"rights"=>"Creative Commons Attribution 4.0 International", "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode", "rightsIdentifier"=>"CC-BY-4.0", "rightsIdentifierScheme"=>"SPDX", "schemeUri"=>"https://spdx.org/licenses/"})
515
+ expect(response).to eq({"rights"=>"Creative Commons Attribution 4.0 International", "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode", "rightsIdentifier"=>"cc-by-4.0", "rightsIdentifierScheme"=>"SPDX", "schemeUri"=>"https://spdx.org/licenses/"})
516
516
  end
517
517
 
518
518
  it "name_to_spdx id" do
519
519
  name = "CC-BY-4.0"
520
520
  response = subject.name_to_spdx(name)
521
- expect(response).to eq({"rights"=>"Creative Commons Attribution 4.0 International", "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode", "rightsIdentifier"=>"CC-BY-4.0", "rightsIdentifierScheme"=>"SPDX", "schemeUri"=>"https://spdx.org/licenses/"})
521
+ expect(response).to eq({"rights"=>"Creative Commons Attribution 4.0 International", "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode", "rightsIdentifier"=>"cc-by-4.0", "rightsIdentifierScheme"=>"SPDX", "schemeUri"=>"https://spdx.org/licenses/"})
522
522
  end
523
523
 
524
524
  it "hsh_to_spdx id" do
525
- hsh = { "rightsIdentifier" => "CC-BY-4.0" }
525
+ hsh = { "rightsIdentifier" => "cc-by-4.0" }
526
526
  response = subject.hsh_to_spdx(hsh)
527
- expect(response).to eq({"rights"=>"Creative Commons Attribution 4.0 International", "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode", "rightsIdentifier"=>"CC-BY-4.0", "rightsIdentifierScheme"=>"SPDX", "schemeUri"=>"https://spdx.org/licenses/"})
527
+ expect(response).to eq({"rights"=>"Creative Commons Attribution 4.0 International", "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode", "rightsIdentifier"=>"cc-by-4.0", "rightsIdentifierScheme"=>"SPDX", "schemeUri"=>"https://spdx.org/licenses/"})
528
528
  end
529
529
 
530
530
  it "hsh_to_spdx url" do
531
531
  hsh = { "rightsURI" => "http://creativecommons.org/licenses/by-nc/4.0/legalcode" }
532
532
  response = subject.hsh_to_spdx(hsh)
533
- expect(response).to eq("rights"=>"Creative Commons Attribution Non Commercial 4.0 International", "rightsUri"=>"https://creativecommons.org/licenses/by-nc/4.0/legalcode", "rightsIdentifier"=>"CC-BY-NC-4.0", "rightsIdentifierScheme"=>"SPDX", "schemeUri"=>"https://spdx.org/licenses/")
533
+ expect(response).to eq("rights"=>"Creative Commons Attribution Non Commercial 4.0 International", "rightsUri"=>"https://creativecommons.org/licenses/by-nc/4.0/legalcode", "rightsIdentifier"=>"cc-by-nc-4.0", "rightsIdentifierScheme"=>"SPDX", "schemeUri"=>"https://spdx.org/licenses/")
534
534
  end
535
535
 
536
536
  it "hsh_to_spdx not found" do
@@ -32,5 +32,13 @@ describe Bolognese::Metadata, vcr: true do
32
32
  subject = Bolognese::Metadata.new(input: input, from: "crossref")
33
33
  expect(subject.citation).to eq("Alexander Kohls, &amp; Salvatore Mele. (2018). Converting the Literature of a Scientific Field to Open Access through Global Collaboration: The Experience of SCOAP3 in Particle Physics. <i>Publications</i>, <i>6</i>(2), 15. https://doi.org/10.3390/publications6020015")
34
34
  end
35
+
36
+ it "software w/version" do
37
+ input = "https://doi.org/10.5281/zenodo.2598836"
38
+ subject = Bolognese::Metadata.new(input: input, from: "datacite")
39
+ expect(subject.style).to eq("apa")
40
+ expect(subject.locale).to eq("en-US")
41
+ expect(subject.citation).to eq("Lab For Exosphere And Near Space Environment Studies. (2019). <i>lenses-lab/LYAO_RT-2018JA026426: Original Release</i> (Version 1.0.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.2598836")
42
+ end
35
43
  end
36
44
  end
@@ -101,7 +101,7 @@ describe Bolognese::Metadata, vcr: true do
101
101
  input = "https://doi.org/10.5281/zenodo.2598836"
102
102
  subject = Bolognese::Metadata.new(input: input, from: "datacite")
103
103
  json = JSON.parse(subject.citeproc)
104
- expect(json["type"]).to eq("article")
104
+ expect(json["type"]).to eq("book")
105
105
  expect(json["DOI"]).to eq("10.5281/zenodo.2598836")
106
106
  expect(json["version"]).to eq("1.0.0")
107
107
  expect(json["copyright"]).to eq("Open Access")
@@ -111,7 +111,7 @@ describe Bolognese::Metadata, vcr: true do
111
111
  input = fixture_path + "datacite_software_version.json"
112
112
  subject = Bolognese::Metadata.new(input: input, from: "datacite_json")
113
113
  json = JSON.parse(subject.citeproc)
114
- expect(json["type"]).to eq("article")
114
+ expect(json["type"]).to eq("book")
115
115
  expect(json["DOI"]).to eq("10.5281/ZENODO.2598836")
116
116
  expect(json["version"]).to eq("1.0.0")
117
117
  expect(json["copyright"]).to eq("Open Access")
@@ -15,7 +15,7 @@ describe Bolognese::Metadata, vcr: true do
15
15
  expect(crosscite.fetch("related_identifiers").first).to eq("relatedIdentifier"=>"2050-084X", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection")
16
16
  expect(crosscite.fetch("related_identifiers").last).to eq("relatedIdentifier"=>"10.1038/ncb2764", "relatedIdentifierType"=>"DOI", "relationType"=>"References")
17
17
  expect(crosscite.fetch("rights_list")).to eq([{"rights"=>"Creative Commons Attribution 3.0 Unported",
18
- "rightsIdentifier"=>"CC-BY-3.0",
18
+ "rightsIdentifier"=>"cc-by-3.0",
19
19
  "rightsIdentifierScheme"=>"SPDX",
20
20
  "rightsUri"=>"https://creativecommons.org/licenses/by/3.0/legalcode",
21
21
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -14,7 +14,7 @@ describe Bolognese::Metadata, vcr: true do
14
14
  expect(datacite.fetch("relatedIdentifiers").length).to eq(27)
15
15
  expect(datacite.fetch("relatedIdentifiers").first).to eq("relatedIdentifier"=>"2050-084X", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection")
16
16
  expect(datacite.fetch("rightsList")).to eq([{"rights"=>"Creative Commons Attribution 3.0 Unported",
17
- "rightsIdentifier"=>"CC-BY-3.0",
17
+ "rightsIdentifier"=>"cc-by-3.0",
18
18
  "rightsIdentifierScheme"=>"SPDX",
19
19
  "rightsUri"=>"https://creativecommons.org/licenses/by/3.0/legalcode",
20
20
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -14,7 +14,7 @@ describe Bolognese::Metadata, vcr: true do
14
14
  expect(datacite.dig("relatedIdentifiers", "relatedIdentifier").length).to eq(27)
15
15
  expect(datacite.dig("relatedIdentifiers", "relatedIdentifier").first).to eq("relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "__content__"=>"2050-084X", "resourceTypeGeneral"=>"Collection")
16
16
  expect(datacite.dig("relatedIdentifiers", "relatedIdentifier")[1]).to eq("relatedIdentifierType"=>"DOI", "relationType"=>"References", "__content__"=>"10.1038/nature02100")
17
- expect(datacite.dig("rightsList", "rights")).to eq("rightsURI"=>"https://creativecommons.org/licenses/by/3.0/legalcode", "rightsIdentifier"=>"CC-BY-3.0", "rightsIdentifierScheme"=>"SPDX", "schemeURI"=>"https://spdx.org/licenses/", "__content__"=>"Creative Commons Attribution 3.0 Unported")
17
+ expect(datacite.dig("rightsList", "rights")).to eq("rightsURI"=>"https://creativecommons.org/licenses/by/3.0/legalcode", "rightsIdentifier"=>"cc-by-3.0", "rightsIdentifierScheme"=>"SPDX", "schemeURI"=>"https://spdx.org/licenses/", "__content__"=>"Creative Commons Attribution 3.0 Unported")
18
18
  expect(datacite.dig("fundingReferences", "fundingReference").count).to eq(4)
19
19
  expect(datacite.dig("fundingReferences", "fundingReference").last).to eq("funderName"=>"University of Lausanne", "funderIdentifier" => {"funderIdentifierType"=>"Crossref Funder ID", "__content__"=>"https://doi.org/10.13039/501100006390"})
20
20
  end
@@ -161,7 +161,7 @@ describe Bolognese::Metadata, vcr: true do
161
161
  expect(subject.creators.first).to eq("nameType"=>"Personal", "familyName" => "Paglione", "givenName" => "Laura", "nameIdentifiers" => [{"nameIdentifier"=>"https://orcid.org/0000-0003-3188-6273", "nameIdentifierScheme"=>"ORCID", "schemeUri"=>"https://orcid.org"}], "name" => "Paglione, Laura", "affiliation" => [])
162
162
  expect(subject.titles).to eq([{"title"=>"Recommendation of: ORCID Works Metadata Working Group"}])
163
163
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Zero v1.0 Universal",
164
- "rightsIdentifier"=>"CC0-1.0",
164
+ "rightsIdentifier"=>"cc0-1.0",
165
165
  "rightsIdentifierScheme"=>"SPDX",
166
166
  "rightsUri"=>"https://creativecommons.org/publicdomain/zero/1.0/legalcode",
167
167
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -187,7 +187,7 @@ describe Bolognese::Metadata, vcr: true do
187
187
  expect(subject.creators.first).to eq("nameType" => "Personal", "familyName" => "Paglione", "givenName" => "Laura", "name" => "Paglione, Laura", "nameIdentifiers" => [{"nameIdentifier"=>"https://orcid.org/0000-0003-3188-6273", "nameIdentifierScheme"=>"ORCID", "schemeUri"=>"https://orcid.org"}],"affiliation" => [])
188
188
  expect(subject.titles).to eq([{"title"=>"Recommendation of: ORCID Works Metadata Working Group"}])
189
189
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Zero v1.0 Universal",
190
- "rightsIdentifier"=>"CC0-1.0",
190
+ "rightsIdentifier"=>"cc0-1.0",
191
191
  "rightsIdentifierScheme"=>"SPDX",
192
192
  "rightsUri"=>"https://creativecommons.org/publicdomain/zero/1.0/legalcode",
193
193
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -216,7 +216,7 @@ describe Bolognese::Metadata, vcr: true do
216
216
  "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.",
217
217
  "identifierType"=>"citation"}])
218
218
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Zero v1.0 Universal",
219
- "rightsIdentifier"=>"CC0-1.0",
219
+ "rightsIdentifier"=>"cc0-1.0",
220
220
  "rightsIdentifierScheme"=>"SPDX",
221
221
  "rightsUri"=>"https://creativecommons.org/publicdomain/zero/1.0/legalcode",
222
222
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -243,7 +243,7 @@ describe Bolognese::Metadata, vcr: true do
243
243
  expect(subject.titles).to eq([{"title"=>"Southern Sierra Critical Zone Observatory (SSCZO), Providence Creek meteorological data, soil moisture and temperature, snow depth and air temperature"}])
244
244
  expect(subject.identifiers).to eq([{"identifier"=>"https://doi.org/10.6071/z7wc73", "identifierType"=>"DOI"}])
245
245
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 4.0 International",
246
- "rightsIdentifier"=>"CC-BY-4.0",
246
+ "rightsIdentifier"=>"cc-by-4.0",
247
247
  "rightsIdentifierScheme"=>"SPDX",
248
248
  "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode",
249
249
  "schemeUri"=>"https://spdx.org/licenses/"}])
@@ -306,7 +306,7 @@ describe Bolognese::Metadata, vcr: true do
306
306
  expect(datacite.dig("relatedIdentifiers", "relatedIdentifier").length).to eq(27)
307
307
  expect(datacite.dig("relatedIdentifiers", "relatedIdentifier").first).to eq("__content__"=>"2050-084X", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection")
308
308
  expect(datacite.dig("relatedIdentifiers", "relatedIdentifier")[1]).to eq("relatedIdentifierType"=>"DOI", "relationType"=>"References", "__content__"=>"10.1038/nature02100")
309
- expect(datacite.dig("rightsList", "rights")).to eq("rightsURI"=>"https://creativecommons.org/licenses/by/3.0/legalcode", "rightsIdentifier"=>"CC-BY-3.0", "rightsIdentifierScheme"=>"SPDX", "schemeURI"=>"https://spdx.org/licenses/", "__content__"=>"Creative Commons Attribution 3.0 Unported")
309
+ expect(datacite.dig("rightsList", "rights")).to eq("rightsURI"=>"https://creativecommons.org/licenses/by/3.0/legalcode", "rightsIdentifier"=>"cc-by-3.0", "rightsIdentifierScheme"=>"SPDX", "schemeURI"=>"https://spdx.org/licenses/", "__content__"=>"Creative Commons Attribution 3.0 Unported")
310
310
  expect(datacite.dig("fundingReferences", "fundingReference").count).to eq(4)
311
311
  expect(datacite.dig("fundingReferences", "fundingReference").last).to eq("funderName"=>"University of Lausanne", "funderIdentifier" => {"funderIdentifierType"=>"Crossref Funder ID", "__content__"=>"https://doi.org/10.13039/501100006390"})
312
312
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bolognese
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.5
4
+ version: 1.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-19 00:00:00.000000000 Z
11
+ date: 2020-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maremma
@@ -34,22 +34,16 @@ dependencies:
34
34
  name: faraday
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - '='
38
38
  - !ruby/object:Gem::Version
39
- version: '1.0'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 1.0.1
39
+ version: 0.17.0
43
40
  type: :runtime
44
41
  prerelease: false
45
42
  version_requirements: !ruby/object:Gem::Requirement
46
43
  requirements:
47
- - - "~>"
44
+ - - '='
48
45
  - !ruby/object:Gem::Version
49
- version: '1.0'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 1.0.1
46
+ version: 0.17.0
53
47
  - !ruby/object:Gem::Dependency
54
48
  name: nokogiri
55
49
  requirement: !ruby/object:Gem::Requirement
@@ -1089,6 +1083,7 @@ files:
1089
1083
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_only_keep_specific_tags.yml
1090
1084
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_remove_a_tags.yml
1091
1085
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_id.yml
1086
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_id_lowercase.yml
1092
1087
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_not_found.yml
1093
1088
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_url.yml
1094
1089
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/name_to_spdx_exists.yml
@@ -1135,6 +1130,7 @@ files:
1135
1130
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Dataset.yml
1136
1131
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Journal_article.yml
1137
1132
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Missing_author.yml
1133
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/software_w/version.yml
1138
1134
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting.yml
1139
1135
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting_schema_org.yml
1140
1136
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Dataset.yml