bolognese 1.6.11 → 1.6.12

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: 14bb7a2089ea4fda869141d7c461fe60fdb2021f7eeee1f5951cfcbe703301ca
4
- data.tar.gz: cc45d98bb6e32587e98ac5406b16194a28b5cd217339be9c5b544e8ad2ddf09d
3
+ metadata.gz: c15833a959ce325ba131b2a0e0223cab0f5fa1146261be403d973fa4a4fa1106
4
+ data.tar.gz: d9c6f41c15f6b4ef19c1867e8c325d1321d34fbf3458e0ebd76869424fdfb166
5
5
  SHA512:
6
- metadata.gz: 98b724dc7bb0804288c99ed7aac834685c61d35ca9072381c57f4df3a67099af84b4fe0c691b54f1c05793a6f0798f52a39f333b7e4bc59a8aadc2d28a0730f3
7
- data.tar.gz: 2eda80fd5fa33b6eb5642ed9a481ef8d72e645d6b64289b579fbc39794ee5f2c0930df0750a6a8e8fad3545b77a53197e5b87a7300e79c051c5a01c6ac283fc8
6
+ metadata.gz: 68287f6b86134328c2e87db64c51f0d9cd2438f13c196e6745a8c4ac6dc554f5b3aaa342876506ebfafd96538f303e0e62e65a4811faa39c2fbf525c44bfd18a
7
+ data.tar.gz: 76446fa76402b465a3538c258f0967a6a7dac7db96806dbf26e2e40fbe60fa5287106addc6490b0a8c48b28cfb1282f191dd8e49681459528cac92994536fff6
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bolognese (1.6.11)
4
+ bolognese (1.6.12)
5
5
  activesupport (>= 4.2.5)
6
6
  benchmark_methods (~> 0.7)
7
7
  bibtex-ruby (>= 5.1.0)
@@ -11,13 +11,13 @@ 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 (= 0.17.0)
14
+ faraday (~> 0.17.3)
15
15
  gender_detector (~> 0.1.2)
16
16
  iso8601 (~> 0.9.1)
17
17
  json-ld (~> 3.1, >= 3.1.4)
18
18
  jsonlint (~> 0.3.0)
19
19
  loofah (~> 2.0, >= 2.0.3)
20
- maremma (>= 4.3, < 5)
20
+ maremma (>= 4.7, < 5)
21
21
  namae (~> 1.0)
22
22
  nokogiri (~> 1.10.4)
23
23
  oj (~> 3.10)
@@ -64,11 +64,11 @@ GEM
64
64
  edtf (3.0.5)
65
65
  activesupport (>= 3.0, < 7.0)
66
66
  excon (0.71.1)
67
- faraday (0.17.0)
67
+ faraday (0.17.3)
68
68
  multipart-post (>= 1.2, < 3)
69
69
  faraday-encoding (0.0.5)
70
70
  faraday
71
- faraday_middleware (0.13.1)
71
+ faraday_middleware (0.14.0)
72
72
  faraday (>= 0.7.4, < 1.0)
73
73
  gender_detector (0.1.2)
74
74
  unicode_utils (>= 1.3.0)
@@ -98,23 +98,23 @@ GEM
98
98
  loofah (2.6.0)
99
99
  crass (~> 1.0.2)
100
100
  nokogiri (>= 1.5.9)
101
- maremma (4.7)
101
+ maremma (4.7.1)
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 (= 0.17.0)
106
+ faraday (~> 0.17.3)
107
107
  faraday-encoding (~> 0.0.4)
108
- faraday_middleware (~> 0.13.1)
108
+ faraday_middleware (~> 0.14.0)
109
109
  nokogiri (~> 1.10.4)
110
110
  oj (>= 2.8.3)
111
111
  oj_mimic_json (~> 1.0, >= 1.0.1)
112
112
  mini_portile2 (2.4.0)
113
113
  minitest (5.14.1)
114
- multi_json (1.14.1)
114
+ multi_json (1.15.0)
115
115
  multipart-post (2.1.1)
116
116
  namae (1.0.1)
117
- nokogiri (1.10.9)
117
+ nokogiri (1.10.10)
118
118
  mini_portile2 (~> 2.4.0)
119
119
  oj (3.10.6)
120
120
  oj_mimic_json (1.0.1)
@@ -133,7 +133,7 @@ GEM
133
133
  link_header (~> 0.0, >= 0.0.8)
134
134
  rdf-aggregate-repo (3.1.0)
135
135
  rdf (~> 3.1)
136
- rdf-rdfa (3.1.1)
136
+ rdf-rdfa (3.1.2)
137
137
  haml (~> 5.1)
138
138
  htmlentities (~> 4.3)
139
139
  rdf (~> 3.1, >= 3.1.2)
@@ -148,7 +148,7 @@ GEM
148
148
  rdf-turtle (3.1.1)
149
149
  ebnf (~> 1.2)
150
150
  rdf (~> 3.1, >= 3.1.2)
151
- rdf-vocab (3.1.5)
151
+ rdf-vocab (3.1.7)
152
152
  rdf (~> 3.1, >= 3.1.2)
153
153
  rdf-xsd (3.1.0)
154
154
  rdf (~> 3.1)
@@ -16,8 +16,8 @@ Gem::Specification.new do |s|
16
16
  s.required_ruby_version = '~> 2.3'
17
17
 
18
18
  # Declare dependencies here, rather than in the Gemfile
19
- s.add_dependency 'maremma', '>= 4.3', '< 5'
20
- s.add_dependency 'faraday', "0.17.0"
19
+ s.add_dependency 'maremma', '>= 4.7', '< 5'
20
+ s.add_dependency 'faraday', '~> 0.17.3'
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'
@@ -153,7 +153,7 @@ module Bolognese
153
153
  "language" => language,
154
154
  "author" => author,
155
155
  "contributor" => to_citeproc(contributors),
156
- "issued" => get_date(dates, "Issued") ? get_date_parts(get_date(dates, "Issued")) : nil,
156
+ "issued" => get_date(dates, "Issued") ? get_date_parts(get_date(dates, "Issued")) : get_date_parts(publication_year),
157
157
  "submitted" => Array.wrap(dates).find { |d| d["dateType"] == "Submitted" }.to_h.fetch("__content__", nil),
158
158
  "abstract" => parse_attributes(descriptions, content: "description", first: true),
159
159
  "container-title" => container_title,
@@ -128,6 +128,14 @@ module Bolognese
128
128
  dates << { "date" => meta.fetch("dateModified"), "dateType" => "Updated" } if Date.edtf(meta.fetch("dateModified", nil)).present?
129
129
  publication_year = meta.fetch("datePublished")[0..3] if meta.fetch("datePublished", nil).present?
130
130
 
131
+ if meta.fetch("inLanguage", nil).is_a?(String)
132
+ language = meta.fetch("inLanguage")
133
+ elsif meta.fetch("inLanguage", nil).is_a?(Object)
134
+ language = meta.dig("inLanguage", 'alternateName') || meta.dig("inLanguage", 'name')
135
+ else
136
+ language = nil
137
+ end
138
+
131
139
  state = meta.present? || read_options.present? ? "findable" : "not_found"
132
140
  geo_locations = Array.wrap(meta.fetch("spatialCoverage", nil)).map do |gl|
133
141
  if gl.dig("geo", "box")
@@ -136,7 +144,7 @@ module Bolognese
136
144
  "westBoundLongitude" => w,
137
145
  "eastBoundLongitude" => e,
138
146
  "southBoundLatitude" => s,
139
- "northBoundLatitude" => n
147
+ "northBoundLatitude" => n,
140
148
  }.compact.presence
141
149
  else
142
150
  geo_location_box = nil
@@ -179,6 +187,7 @@ module Bolognese
179
187
  "rights_list" => rights_list,
180
188
  "version_info" => meta.fetch("version", nil).to_s.presence,
181
189
  "subjects" => subjects,
190
+ "language" => language,
182
191
  "state" => state,
183
192
  "schema_version" => meta.fetch("schemaVersion", nil).to_s.presence,
184
193
  "funding_references" => funding_references,
@@ -1,3 +1,3 @@
1
1
  module Bolognese
2
- VERSION = "1.6.11"
2
+ VERSION = "1.6.12"
3
3
  end
@@ -17,7 +17,7 @@ module Bolognese
17
17
  "description" => parse_attributes(descriptions, content: "description", first: true),
18
18
  "version" => version_info,
19
19
  "tags" => subjects.present? ? Array.wrap(subjects).map { |k| parse_attributes(k, content: "subject", first: true) } : nil,
20
- "datePublished" => get_date(dates, "Issued"),
20
+ "datePublished" => get_date(dates, "Issued") || publication_year,
21
21
  "dateModified" => get_date(dates, "Updated"),
22
22
  "publisher" => publisher,
23
23
  "license" => Array.wrap(rights_list).map { |l| l["rightsUri"] }.compact.unwrap,
@@ -121,7 +121,7 @@ module Bolognese
121
121
  end
122
122
 
123
123
  def date
124
- get_date_parts(date_published)
124
+ get_date(dates, "Issued") ? get_date_parts(get_date(dates, "Issued")) : get_date_parts(publication_year)
125
125
  end
126
126
 
127
127
  def publication_type
@@ -21,7 +21,7 @@ module Bolognese
21
21
  "contentSize" => Array.wrap(sizes).unwrap,
22
22
  "encodingFormat" => Array.wrap(formats).unwrap,
23
23
  "dateCreated" => get_date(dates, "Created"),
24
- "datePublished" => get_date(dates, "Issued"),
24
+ "datePublished" => get_date(dates, "Issued") || publication_year,
25
25
  "dateModified" => get_date(dates, "Updated"),
26
26
  "pageStart" => container.to_h["firstPage"],
27
27
  "pageEnd" => container.to_h["lastPage"],
@@ -24,6 +24,11 @@
24
24
  "description": "Eating your own dog food is a slang term to describe that an organization should itself use the products and services it provides. For DataCite this means that we should use DOIs with appropriate metadata and strategies for long-term preservation for...",
25
25
  "license": "https://creativecommons.org/licenses/by/4.0/",
26
26
  "image": "https://blog.datacite.org/images/2016/12/230785.jpg",
27
+ "inLanguage": {
28
+ "@type": "Language",
29
+ "alternateName": "en",
30
+ "name": "English"
31
+ },
27
32
  "encoding": {
28
33
  "@type": "MediaObject",
29
34
  "@id": "https://blog.datacite.org/eating-your-own-dog-food/eating-your-own-dog-food.xml",
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.datacite.org/dois/10.34747/g6yb-3412
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (compatible; Maremma/4.7.1; 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
+ - Sat, 11 Jul 2020 10:15:22 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
+ - 7648137b-5c3a-409c-b2a8-ece2d2dc81c5
35
+ Etag:
36
+ - W/"428b4daf1127c41e29e332a03d2f46c2"
37
+ X-Runtime:
38
+ - '1.399490'
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.34747/g6yb-3412","type":"dois","attributes":{"doi":"10.34747/g6yb-3412","prefix":"10.34747","suffix":"g6yb-3412","identifiers":[],"alternateIdentifiers":[],"creators":[{"name":"Clark,
46
+ Dav","nameType":"Personal","givenName":"Dav","familyName":"Clark","affiliation":[],"nameIdentifiers":[{"schemeUri":"https://orcid.org","nameIdentifier":"https://orcid.org/0000-0002-3982-4416","nameIdentifierScheme":"ORCID"}]}],"titles":[{"lang":null,"title":"Exploring
47
+ the \"Many analysts, one dataset\" project from COS","titleType":null}],"publisher":"Gigantum,
48
+ Inc.","container":{},"publicationYear":2019,"subjects":[],"contributors":[],"dates":[],"language":null,"types":{"resourceType":"Gigantum
49
+ Project","resourceTypeGeneral":"InteractiveResource"},"relatedIdentifiers":[],"sizes":[],"formats":[],"version":null,"rightsList":[],"descriptions":[],"geoLocations":[],"fundingReferences":[],"xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuMzQ3NDcvRzZZQi0zNDEyPC9pZGVudGlmaWVyPgogIDxjcmVhdG9ycz4KICAgIDxjcmVhdG9yPgogICAgICA8Y3JlYXRvck5hbWUgbmFtZVR5cGU9IlBlcnNvbmFsIj5DbGFyaywgRGF2PC9jcmVhdG9yTmFtZT4KICAgICAgPGdpdmVuTmFtZT5EYXY8L2dpdmVuTmFtZT4KICAgICAgPGZhbWlseU5hbWU+Q2xhcms8L2ZhbWlseU5hbWU+CiAgICAgIDxuYW1lSWRlbnRpZmllciBuYW1lSWRlbnRpZmllclNjaGVtZT0iT1JDSUQiIHNjaGVtZVVSST0iaHR0cHM6Ly9vcmNpZC5vcmciPmh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi0zOTgyLTQ0MTY8L25hbWVJZGVudGlmaWVyPgogICAgPC9jcmVhdG9yPgogIDwvY3JlYXRvcnM+CiAgPHRpdGxlcz4KICAgIDx0aXRsZT5FeHBsb3JpbmcgdGhlICJNYW55IGFuYWx5c3RzLCBvbmUgZGF0YXNldCIgcHJvamVjdCBmcm9tIENPUzwvdGl0bGU+CiAgPC90aXRsZXM+CiAgPHB1Ymxpc2hlcj5HaWdhbnR1bSwgSW5jLjwvcHVibGlzaGVyPgogIDxwdWJsaWNhdGlvblllYXI+MjAxOTwvcHVibGljYXRpb25ZZWFyPgogIDxyZXNvdXJjZVR5cGUgcmVzb3VyY2VUeXBlR2VuZXJhbD0iSW50ZXJhY3RpdmVSZXNvdXJjZSI+R2lnYW50dW0gUHJvamVjdDwvcmVzb3VyY2VUeXBlPgogIDxzaXplcy8+CiAgPGZvcm1hdHMvPgogIDx2ZXJzaW9uLz4KPC9yZXNvdXJjZT4K","url":"https://gigantum.com/tinydav/football-skin-tone","contentUrl":null,"metadataVersion":2,"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-03-20T19:48:26.000Z","registered":"2020-03-20T19:49:25.000Z","published":"2019","updated":"2020-07-11T09:44:36.000Z"},"relationships":{"client":{"data":{"id":"gigantum.gigantum","type":"clients"}},"media":{"data":{"id":"10.34747/g6yb-3412","type":"media"}},"references":{"data":[]},"citations":{"data":[]},"parts":{"data":[]},"partOf":{"data":[]},"versions":{"data":[]},"versionOf":{"data":[]}}}}'
50
+ http_version:
51
+ recorded_at: Sat, 11 Jul 2020 10:15:22 GMT
52
+ 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.34747/g6yb-3412
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (compatible; Maremma/4.7.1; 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
+ - Sat, 11 Jul 2020 10:13:34 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
+ Etag:
34
+ - W/"428b4daf1127c41e29e332a03d2f46c2"
35
+ X-Runtime:
36
+ - '0.350807'
37
+ X-Request-Id:
38
+ - bd8c497b-5d91-46c7-ad9f-d6d787d9a549
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.34747/g6yb-3412","type":"dois","attributes":{"doi":"10.34747/g6yb-3412","prefix":"10.34747","suffix":"g6yb-3412","identifiers":[],"alternateIdentifiers":[],"creators":[{"name":"Clark,
46
+ Dav","nameType":"Personal","givenName":"Dav","familyName":"Clark","affiliation":[],"nameIdentifiers":[{"schemeUri":"https://orcid.org","nameIdentifier":"https://orcid.org/0000-0002-3982-4416","nameIdentifierScheme":"ORCID"}]}],"titles":[{"lang":null,"title":"Exploring
47
+ the \"Many analysts, one dataset\" project from COS","titleType":null}],"publisher":"Gigantum,
48
+ Inc.","container":{},"publicationYear":2019,"subjects":[],"contributors":[],"dates":[],"language":null,"types":{"resourceType":"Gigantum
49
+ Project","resourceTypeGeneral":"InteractiveResource"},"relatedIdentifiers":[],"sizes":[],"formats":[],"version":null,"rightsList":[],"descriptions":[],"geoLocations":[],"fundingReferences":[],"xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuMzQ3NDcvRzZZQi0zNDEyPC9pZGVudGlmaWVyPgogIDxjcmVhdG9ycz4KICAgIDxjcmVhdG9yPgogICAgICA8Y3JlYXRvck5hbWUgbmFtZVR5cGU9IlBlcnNvbmFsIj5DbGFyaywgRGF2PC9jcmVhdG9yTmFtZT4KICAgICAgPGdpdmVuTmFtZT5EYXY8L2dpdmVuTmFtZT4KICAgICAgPGZhbWlseU5hbWU+Q2xhcms8L2ZhbWlseU5hbWU+CiAgICAgIDxuYW1lSWRlbnRpZmllciBuYW1lSWRlbnRpZmllclNjaGVtZT0iT1JDSUQiIHNjaGVtZVVSST0iaHR0cHM6Ly9vcmNpZC5vcmciPmh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi0zOTgyLTQ0MTY8L25hbWVJZGVudGlmaWVyPgogICAgPC9jcmVhdG9yPgogIDwvY3JlYXRvcnM+CiAgPHRpdGxlcz4KICAgIDx0aXRsZT5FeHBsb3JpbmcgdGhlICJNYW55IGFuYWx5c3RzLCBvbmUgZGF0YXNldCIgcHJvamVjdCBmcm9tIENPUzwvdGl0bGU+CiAgPC90aXRsZXM+CiAgPHB1Ymxpc2hlcj5HaWdhbnR1bSwgSW5jLjwvcHVibGlzaGVyPgogIDxwdWJsaWNhdGlvblllYXI+MjAxOTwvcHVibGljYXRpb25ZZWFyPgogIDxyZXNvdXJjZVR5cGUgcmVzb3VyY2VUeXBlR2VuZXJhbD0iSW50ZXJhY3RpdmVSZXNvdXJjZSI+R2lnYW50dW0gUHJvamVjdDwvcmVzb3VyY2VUeXBlPgogIDxzaXplcy8+CiAgPGZvcm1hdHMvPgogIDx2ZXJzaW9uLz4KPC9yZXNvdXJjZT4K","url":"https://gigantum.com/tinydav/football-skin-tone","contentUrl":null,"metadataVersion":2,"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-03-20T19:48:26.000Z","registered":"2020-03-20T19:49:25.000Z","published":"2019","updated":"2020-07-11T09:44:36.000Z"},"relationships":{"client":{"data":{"id":"gigantum.gigantum","type":"clients"}},"media":{"data":{"id":"10.34747/g6yb-3412","type":"media"}},"references":{"data":[]},"citations":{"data":[]},"parts":{"data":[]},"partOf":{"data":[]},"versions":{"data":[]},"versionOf":{"data":[]}}}}'
50
+ http_version:
51
+ recorded_at: Sat, 11 Jul 2020 10:13:34 GMT
52
+ 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.34747/g6yb-3412
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (compatible; Maremma/4.7.1; 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
+ - Sat, 11 Jul 2020 10:24:59 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
+ Etag:
34
+ - W/"428b4daf1127c41e29e332a03d2f46c2"
35
+ X-Runtime:
36
+ - '0.825431'
37
+ X-Request-Id:
38
+ - 2068e42a-4388-41a2-b3e8-5761b8273211
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.34747/g6yb-3412","type":"dois","attributes":{"doi":"10.34747/g6yb-3412","prefix":"10.34747","suffix":"g6yb-3412","identifiers":[],"alternateIdentifiers":[],"creators":[{"name":"Clark,
46
+ Dav","nameType":"Personal","givenName":"Dav","familyName":"Clark","affiliation":[],"nameIdentifiers":[{"schemeUri":"https://orcid.org","nameIdentifier":"https://orcid.org/0000-0002-3982-4416","nameIdentifierScheme":"ORCID"}]}],"titles":[{"lang":null,"title":"Exploring
47
+ the \"Many analysts, one dataset\" project from COS","titleType":null}],"publisher":"Gigantum,
48
+ Inc.","container":{},"publicationYear":2019,"subjects":[],"contributors":[],"dates":[],"language":null,"types":{"resourceType":"Gigantum
49
+ Project","resourceTypeGeneral":"InteractiveResource"},"relatedIdentifiers":[],"sizes":[],"formats":[],"version":null,"rightsList":[],"descriptions":[],"geoLocations":[],"fundingReferences":[],"xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuMzQ3NDcvRzZZQi0zNDEyPC9pZGVudGlmaWVyPgogIDxjcmVhdG9ycz4KICAgIDxjcmVhdG9yPgogICAgICA8Y3JlYXRvck5hbWUgbmFtZVR5cGU9IlBlcnNvbmFsIj5DbGFyaywgRGF2PC9jcmVhdG9yTmFtZT4KICAgICAgPGdpdmVuTmFtZT5EYXY8L2dpdmVuTmFtZT4KICAgICAgPGZhbWlseU5hbWU+Q2xhcms8L2ZhbWlseU5hbWU+CiAgICAgIDxuYW1lSWRlbnRpZmllciBuYW1lSWRlbnRpZmllclNjaGVtZT0iT1JDSUQiIHNjaGVtZVVSST0iaHR0cHM6Ly9vcmNpZC5vcmciPmh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi0zOTgyLTQ0MTY8L25hbWVJZGVudGlmaWVyPgogICAgPC9jcmVhdG9yPgogIDwvY3JlYXRvcnM+CiAgPHRpdGxlcz4KICAgIDx0aXRsZT5FeHBsb3JpbmcgdGhlICJNYW55IGFuYWx5c3RzLCBvbmUgZGF0YXNldCIgcHJvamVjdCBmcm9tIENPUzwvdGl0bGU+CiAgPC90aXRsZXM+CiAgPHB1Ymxpc2hlcj5HaWdhbnR1bSwgSW5jLjwvcHVibGlzaGVyPgogIDxwdWJsaWNhdGlvblllYXI+MjAxOTwvcHVibGljYXRpb25ZZWFyPgogIDxyZXNvdXJjZVR5cGUgcmVzb3VyY2VUeXBlR2VuZXJhbD0iSW50ZXJhY3RpdmVSZXNvdXJjZSI+R2lnYW50dW0gUHJvamVjdDwvcmVzb3VyY2VUeXBlPgogIDxzaXplcy8+CiAgPGZvcm1hdHMvPgogIDx2ZXJzaW9uLz4KPC9yZXNvdXJjZT4K","url":"https://gigantum.com/tinydav/football-skin-tone","contentUrl":null,"metadataVersion":2,"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-03-20T19:48:26.000Z","registered":"2020-03-20T19:49:25.000Z","published":"2019","updated":"2020-07-11T09:44:36.000Z"},"relationships":{"client":{"data":{"id":"gigantum.gigantum","type":"clients"}},"media":{"data":{"id":"10.34747/g6yb-3412","type":"media"}},"references":{"data":[]},"citations":{"data":[]},"parts":{"data":[]},"partOf":{"data":[]},"versions":{"data":[]},"versionOf":{"data":[]}}}}'
50
+ http_version:
51
+ recorded_at: Sat, 11 Jul 2020 10:24:59 GMT
52
+ 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.34747/g6yb-3412
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (compatible; Maremma/4.7.1; 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
+ - Sat, 11 Jul 2020 10:17:43 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
+ Etag:
34
+ - W/"428b4daf1127c41e29e332a03d2f46c2"
35
+ X-Runtime:
36
+ - '0.764455'
37
+ X-Request-Id:
38
+ - f7078933-5bd6-4ab1-8fe8-1debdab355fb
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.34747/g6yb-3412","type":"dois","attributes":{"doi":"10.34747/g6yb-3412","prefix":"10.34747","suffix":"g6yb-3412","identifiers":[],"alternateIdentifiers":[],"creators":[{"name":"Clark,
46
+ Dav","nameType":"Personal","givenName":"Dav","familyName":"Clark","affiliation":[],"nameIdentifiers":[{"schemeUri":"https://orcid.org","nameIdentifier":"https://orcid.org/0000-0002-3982-4416","nameIdentifierScheme":"ORCID"}]}],"titles":[{"lang":null,"title":"Exploring
47
+ the \"Many analysts, one dataset\" project from COS","titleType":null}],"publisher":"Gigantum,
48
+ Inc.","container":{},"publicationYear":2019,"subjects":[],"contributors":[],"dates":[],"language":null,"types":{"resourceType":"Gigantum
49
+ Project","resourceTypeGeneral":"InteractiveResource"},"relatedIdentifiers":[],"sizes":[],"formats":[],"version":null,"rightsList":[],"descriptions":[],"geoLocations":[],"fundingReferences":[],"xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuMzQ3NDcvRzZZQi0zNDEyPC9pZGVudGlmaWVyPgogIDxjcmVhdG9ycz4KICAgIDxjcmVhdG9yPgogICAgICA8Y3JlYXRvck5hbWUgbmFtZVR5cGU9IlBlcnNvbmFsIj5DbGFyaywgRGF2PC9jcmVhdG9yTmFtZT4KICAgICAgPGdpdmVuTmFtZT5EYXY8L2dpdmVuTmFtZT4KICAgICAgPGZhbWlseU5hbWU+Q2xhcms8L2ZhbWlseU5hbWU+CiAgICAgIDxuYW1lSWRlbnRpZmllciBuYW1lSWRlbnRpZmllclNjaGVtZT0iT1JDSUQiIHNjaGVtZVVSST0iaHR0cHM6Ly9vcmNpZC5vcmciPmh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi0zOTgyLTQ0MTY8L25hbWVJZGVudGlmaWVyPgogICAgPC9jcmVhdG9yPgogIDwvY3JlYXRvcnM+CiAgPHRpdGxlcz4KICAgIDx0aXRsZT5FeHBsb3JpbmcgdGhlICJNYW55IGFuYWx5c3RzLCBvbmUgZGF0YXNldCIgcHJvamVjdCBmcm9tIENPUzwvdGl0bGU+CiAgPC90aXRsZXM+CiAgPHB1Ymxpc2hlcj5HaWdhbnR1bSwgSW5jLjwvcHVibGlzaGVyPgogIDxwdWJsaWNhdGlvblllYXI+MjAxOTwvcHVibGljYXRpb25ZZWFyPgogIDxyZXNvdXJjZVR5cGUgcmVzb3VyY2VUeXBlR2VuZXJhbD0iSW50ZXJhY3RpdmVSZXNvdXJjZSI+R2lnYW50dW0gUHJvamVjdDwvcmVzb3VyY2VUeXBlPgogIDxzaXplcy8+CiAgPGZvcm1hdHMvPgogIDx2ZXJzaW9uLz4KPC9yZXNvdXJjZT4K","url":"https://gigantum.com/tinydav/football-skin-tone","contentUrl":null,"metadataVersion":2,"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-03-20T19:48:26.000Z","registered":"2020-03-20T19:49:25.000Z","published":"2019","updated":"2020-07-11T09:44:36.000Z"},"relationships":{"client":{"data":{"id":"gigantum.gigantum","type":"clients"}},"media":{"data":{"id":"10.34747/g6yb-3412","type":"media"}},"references":{"data":[]},"citations":{"data":[]},"parts":{"data":[]},"partOf":{"data":[]},"versions":{"data":[]},"versionOf":{"data":[]}}}}'
50
+ http_version:
51
+ recorded_at: Sat, 11 Jul 2020 10:17:43 GMT
52
+ recorded_with: VCR 3.0.3
@@ -66,6 +66,8 @@ describe Bolognese::Metadata, vcr: true do
66
66
  input = "https://www.zenodo.org/record/1196821"
67
67
  subject = Bolognese::Metadata.new(input: input, from: "schema_org")
68
68
  expect(subject.valid?).to be false
69
+
70
+ expect(subject.language).to eq("eng")
69
71
  expect(subject.errors).to eq("49:0: ERROR: Element '{http://datacite.org/schema/kernel-4}publisher': [facet 'minLength'] The value has a length of '0'; this underruns the allowed minimum length of '1'.")
70
72
  expect(subject.identifiers).to eq([{"identifier"=>"https://doi.org/10.5281/zenodo.1196821", "identifierType"=>"DOI"}])
71
73
  expect(subject.doi).to eq("10.5281/zenodo.1196821")
@@ -154,6 +156,7 @@ describe Bolognese::Metadata, vcr: true do
154
156
  input = fixture_path + 'schema_org.json'
155
157
  subject = Bolognese::Metadata.new(input: input)
156
158
  expect(subject.valid?).to be true
159
+ expect(subject.language).to eq("en")
157
160
  expect(subject.identifiers).to eq([{"identifier"=>"https://doi.org/10.5438/4k3m-nyvg", "identifierType"=>"DOI"}])
158
161
  expect(subject.url).to eq("https://blog.datacite.org/eating-your-own-dog-food")
159
162
  expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"post-weblog", "resourceTypeGeneral"=>"Text", "ris"=>"GEN", "schemaOrg"=>"BlogPosting")
@@ -247,6 +250,7 @@ describe Bolognese::Metadata, vcr: true do
247
250
  subject = Bolognese::Metadata.new(input: input)
248
251
 
249
252
  expect(subject.valid?).to be true
253
+ expect(subject.language).to eq("en")
250
254
  expect(subject.identifiers).to eq([{"identifier"=>"https://doi.org/10.1594/pangaea.842237", "identifierType"=>"DOI"}])
251
255
  expect(subject.types).to eq("bibtex"=>"misc", "citeproc"=>"dataset", "resourceTypeGeneral"=>"Dataset", "ris"=>"DATA", "schemaOrg"=>"Dataset")
252
256
  expect(subject.creators.length).to eq(2)
@@ -40,5 +40,13 @@ describe Bolognese::Metadata, vcr: true do
40
40
  expect(subject.locale).to eq("en-US")
41
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
42
  end
43
+
44
+ it "interactive resource without dates" do
45
+ input = "https://doi.org/10.34747/g6yb-3412"
46
+ subject = Bolognese::Metadata.new(input: input, from: "datacite")
47
+ expect(subject.style).to eq("apa")
48
+ expect(subject.locale).to eq("en-US")
49
+ expect(subject.citation).to eq("Clark, D. (2019). <i>Exploring the \"Many analysts, one dataset\" project from COS</i>. Gigantum, Inc. https://doi.org/10.34747/g6yb-3412")
50
+ end
43
51
  end
44
52
  end
@@ -264,5 +264,14 @@ describe Bolognese::Metadata, vcr: true do
264
264
  {"literal"=>"The Genome Denmark Consortium"}])
265
265
  expect(json["container-title"]).to eq("GigaScience")
266
266
  end
267
+
268
+ it "interactive resource without dates" do
269
+ input = "https://doi.org/10.34747/g6yb-3412"
270
+ subject = Bolognese::Metadata.new(input: input, from: "datacite")
271
+ json = JSON.parse(subject.citeproc)
272
+ expect(json["type"]).to eq("article")
273
+ expect(json["DOI"]).to eq("10.34747/g6yb-3412")
274
+ expect(json["issued"]).to eq("date-parts"=>[[2019]])
275
+ end
267
276
  end
268
277
  end
@@ -158,6 +158,20 @@ describe Bolognese::Metadata, vcr: true do
158
158
  expect(jats.dig("day")).to eq("20")
159
159
  expect(jats.dig("pub_id")).to eq("pub_id_type"=>"doi", "__content__"=>"10.5438/4k3m-nyvg")
160
160
  end
161
+
162
+ it "interactive resource without dates" do
163
+ input = "https://doi.org/10.34747/g6yb-3412"
164
+ subject = Bolognese::Metadata.new(input: input, from: "datacite")
165
+ jats = Maremma.from_xml(subject.jats).fetch("element_citation", {})
166
+ expect(jats.dig("publication_type")).to be_nil
167
+ expect(jats.dig("source")).to eq("Exploring the \"Many analysts, one dataset\" project from COS")
168
+ expect(jats.dig("publisher_name")).to eq("Gigantum, Inc.")
169
+ expect(jats.dig("person_group", "name")).to eq("given_names"=>"Dav", "surname"=>"Clark")
170
+ expect(jats.dig("year")).to eq("__content__"=>"2019", "iso_8601_date"=>"2019")
171
+ expect(jats.dig("month")).to be_nil
172
+ expect(jats.dig("day")).to be_nil
173
+ expect(jats.dig("pub_id")).to eq("pub_id_type"=>"doi", "__content__"=>"10.34747/g6yb-3412")
174
+ end
161
175
  end
162
176
 
163
177
  context "change metadata as datacite xml" do
@@ -368,5 +368,14 @@ describe Bolognese::Metadata, vcr: true do
368
368
  expect(json["funder"]).to eq("@id"=>"https://doi.org/10.13039/100000050", "@type"=>"Organization", "name"=>"National Heart, Lung, and Blood Institute (NHLBI)")
369
369
  expect(json["provider"]).to eq("@type"=>"Organization", "name"=>"DataCite")
370
370
  end
371
+
372
+ it "interactive resource without dates" do
373
+ input = "https://doi.org/10.34747/g6yb-3412"
374
+ subject = Bolognese::Metadata.new(input: input, from: "datacite")
375
+ json = JSON.parse(subject.schema_org)
376
+ expect(json["@id"]).to eq("https://doi.org/10.34747/g6yb-3412")
377
+ expect(json["@type"]).to eq("CreativeWork")
378
+ expect(json["datePublished"]).to eq("2019")
379
+ end
371
380
  end
372
381
  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.11
4
+ version: 1.6.12
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-07-01 00:00:00.000000000 Z
11
+ date: 2020-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maremma
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.3'
19
+ version: '4.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '5'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '4.3'
29
+ version: '4.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '5'
@@ -34,16 +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: 0.17.0
39
+ version: 0.17.3
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - '='
44
+ - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: 0.17.0
46
+ version: 0.17.3
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: nokogiri
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -1130,11 +1130,13 @@ files:
1130
1130
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Dataset.yml
1131
1131
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Journal_article.yml
1132
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/interactive_resource_without_dates.yml
1133
1134
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/software_w/version.yml
1134
1135
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting.yml
1135
1136
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting_schema_org.yml
1136
1137
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Dataset.yml
1137
1138
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/container_title.yml
1139
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/interactive_resource_without_dates.yml
1138
1140
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/journal_article.yml
1139
1141
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/keywords_subject_scheme.yml
1140
1142
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/maremma.yml
@@ -1176,6 +1178,7 @@ files:
1176
1178
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/Dataset_in_schema_4_0.yml
1177
1179
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/Text_pass-thru.yml
1178
1180
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/book_chapter.yml
1181
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/interactive_resource_without_dates.yml
1179
1182
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/maremma.yml
1180
1183
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_ORCID_ID.yml
1181
1184
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_data_citation.yml
@@ -1203,6 +1206,7 @@ files:
1203
1206
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/alternate_identifiers.yml
1204
1207
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/data_catalog.yml
1205
1208
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/geo_location_box.yml
1209
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/interactive_resource_without_dates.yml
1206
1210
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/journal_article.yml
1207
1211
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/maremma_schema_org_JSON.yml
1208
1212
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/series_information.yml