bolognese 1.2.19 → 1.2.20

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: 66ac095c39c433daa5225252285eaa72cd6340f4b4baa212ffff1279a009af94
4
- data.tar.gz: a18bfd6121ef3d3683d4bec46af60902589a3be573244adf1736dc896f37ce96
3
+ metadata.gz: '089ff55ba23a38642bcce0d24a91d2dd0b82d01633f86a95a114bcc65a7b5d18'
4
+ data.tar.gz: 198d86ecee8b25ff8261cc6d0275294efb71faf507cf38fcfcdfa7a792886235
5
5
  SHA512:
6
- metadata.gz: f8f6100f1649ab618344a0c1a37e1227ced3696a247977a35010c35d993af957ac9724dac8f2a181183965cc9b895090554f69019b6a3a727b501db5d5ba8d3d
7
- data.tar.gz: 48865dcbec24999f1bf507e299fe7a46cffd551da064f3017decdcf786818d55d05fc04af3342e3f2b2c94ca1fa1f671e026346d2dca3c7945547499d13cb1bf
6
+ metadata.gz: 3500ff5752f24ab00c55e05e57e976a9221ab4515e9198bffb1f48868fcf38b372af4739aa8d7e184526d80ce045b5a4b3d4aacdf339cf99e4f497f2bf8bf07f
7
+ data.tar.gz: 46fe1859e10f14120629bccd2b4e5ef4482a2adebb760445ce2cf8d24eb9cbc311c2e70abdf669302e8da7ac0d65c6dd011f8ba0222e5211e0dd7c25f5a4bb49
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bolognese (1.2.19)
4
+ bolognese (1.2.20)
5
5
  activesupport (>= 4.2.5, < 6)
6
6
  benchmark_methods (~> 0.7)
7
7
  bibtex-ruby (~> 4.1)
@@ -55,11 +55,11 @@ module Bolognese
55
55
  bibliographic_metadata = meta.dig("crossref", "conference", "conference_paper").to_h
56
56
  when "journal"
57
57
  journal_metadata = meta.dig("crossref", "journal", "journal_metadata") || {}
58
- bibliographic_metadata = meta.dig("crossref", "journal", "journal_article").to_h
59
- program_metadata = bibliographic_metadata.dig("crossmark", "custom_metadata", "program") || bibliographic_metadata.dig("program")
60
58
  journal_issue = meta.dig("crossref", "journal", "journal_issue") || {}
61
59
  journal_article = meta.dig("crossref", "journal", "journal_article") || {}
62
-
60
+ bibliographic_metadata = journal_article.presence || journal_issue.presence || journal_metadata
61
+ program_metadata = bibliographic_metadata.dig("crossmark", "custom_metadata", "program") || bibliographic_metadata.dig("program")
62
+
63
63
  resource_type = if journal_article.present?
64
64
  "journal_article"
65
65
  elsif journal_issue.present?
@@ -117,7 +117,7 @@ module Bolognese
117
117
 
118
118
  related_identifiers = Array.wrap(crossref_is_part_of(journal_metadata)) + Array.wrap(crossref_references(bibliographic_metadata))
119
119
  container = if journal_metadata.present? || book_metadata.present?
120
- issn = parse_attributes(journal_metadata.to_h.fetch("issn", nil), first: true)
120
+ issn = normalize_issn(journal_metadata.to_h.fetch("issn", nil))
121
121
 
122
122
  { "type" => "Journal",
123
123
  "identifier" => issn,
@@ -128,7 +128,7 @@ module Bolognese
128
128
  "firstPage" => bibliographic_metadata.dig("pages", "first_page"),
129
129
  "lastPage" => bibliographic_metadata.dig("pages", "last_page") }.compact
130
130
  elsif book_series_metadata.to_h.fetch("series_metadata", nil).present?
131
- issn = book_series_metadata.dig("series_metadata", "issn")
131
+ issn = normalize_issn(book_series_metadata.dig("series_metadata", "issn"))
132
132
 
133
133
  { "type" => "Book Series",
134
134
  "identifier" => issn,
@@ -274,7 +274,7 @@ module Bolognese
274
274
 
275
275
  def crossref_is_part_of(model_metadata)
276
276
  if model_metadata.present? && model_metadata.fetch("issn", nil).present?
277
- { "relatedIdentifier" => parse_attributes(model_metadata.fetch("issn", nil), first: true),
277
+ { "relatedIdentifier" => normalize_issn(model_metadata.fetch("issn", nil)),
278
278
  "relationType" => "IsPartOf",
279
279
  "relatedIdentifierType" => "ISSN",
280
280
  "resourceTypeGeneral" => "Collection" }.compact
@@ -492,6 +492,32 @@ module Bolognese
492
492
  end.unwrap
493
493
  end
494
494
 
495
+ # pick electronic issn if there are multiple
496
+ # format issn as xxxx-xxxx
497
+ def normalize_issn(input, options={})
498
+ content = options[:content] || "__content__"
499
+
500
+ issn = if input.blank?
501
+ nil
502
+ elsif input.is_a?(String) && options[:content].nil?
503
+ input
504
+ elsif input.is_a?(Hash)
505
+ input.fetch(content, nil)
506
+ elsif input.is_a?(Array)
507
+ a = input.find { |a| a["media_type"] == "electronic" } || input.first
508
+ a.fetch(content, nil)
509
+ end
510
+
511
+ case issn.to_s.length
512
+ when 9
513
+ issn
514
+ when 8
515
+ issn[0..3] + "-" + issn[4..7]
516
+ else
517
+ nil
518
+ end
519
+ end
520
+
495
521
  # find Creative Commons or OSI license in licenses array, normalize url and name
496
522
  def normalize_licenses(licenses)
497
523
  standard_licenses = Array.wrap(licenses).map { |l| URI.parse(l["url"]) }.select { |li| li.host && li.host[/(creativecommons.org|opensource.org)$/] }
@@ -1,3 +1,3 @@
1
1
  module Bolognese
2
- VERSION = "1.2.19"
2
+ VERSION = "1.2.20"
3
3
  end
@@ -0,0 +1,116 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://doi.org/ra/10.6002
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (compatible; Maremma/4.2.6; 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
+ - Sun, 07 Jul 2019 14:32:03 GMT
21
+ Content-Type:
22
+ - application/json;charset=UTF-8
23
+ Content-Length:
24
+ - '54'
25
+ Connection:
26
+ - keep-alive
27
+ Set-Cookie:
28
+ - __cfduid=d7ae2181ce42d1bea57fe3ea1252cd2191562509923; expires=Mon, 06-Jul-20
29
+ 14:32:03 GMT; path=/; domain=.doi.org; HttpOnly
30
+ Expect-Ct:
31
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
32
+ Server:
33
+ - cloudflare
34
+ Cf-Ray:
35
+ - 4f2a868bbeeec2b8-FRA
36
+ body:
37
+ encoding: ASCII-8BIT
38
+ string: |-
39
+ [
40
+ {
41
+ "DOI": "10.6002",
42
+ "RA": "Crossref"
43
+ }
44
+ ]
45
+ http_version:
46
+ recorded_at: Sun, 07 Jul 2019 14:32:03 GMT
47
+ - request:
48
+ method: get
49
+ uri: https://api.crossref.org/works/10.6002/ect.2015.0371/transform/application/vnd.crossref.unixsd+xml
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ''
53
+ headers:
54
+ User-Agent:
55
+ - Mozilla/5.0 (compatible; Maremma/4.2.6; mailto:info@datacite.org)
56
+ Accept:
57
+ - text/xml
58
+ response:
59
+ status:
60
+ code: 200
61
+ message: OK
62
+ headers:
63
+ Link:
64
+ - <http://dx.doi.org/10.6002/ect.2015.0371>; rel="canonical"
65
+ Access-Control-Allow-Origin:
66
+ - "*"
67
+ Access-Control-Allow-Headers:
68
+ - X-Requested-With
69
+ Content-Length:
70
+ - '2615'
71
+ Server:
72
+ - http-kit
73
+ Date:
74
+ - Sun, 07 Jul 2019 14:32:03 GMT
75
+ X-Rate-Limit-Limit:
76
+ - '50'
77
+ X-Rate-Limit-Interval:
78
+ - 1s
79
+ Connection:
80
+ - close
81
+ body:
82
+ encoding: ASCII-8BIT
83
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<crossref_result xmlns=\"http://www.crossref.org/qrschema/3.0\"
84
+ version=\"3.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.crossref.org/qrschema/3.0
85
+ http://www.crossref.org/schemas/crossref_query_output3.0.xsd\">\r\n <query_result>\r\n
86
+ \ <head>\r\n <doi_batch_id>none</doi_batch_id>\r\n </head>\r\n <body>\r\n
87
+ \ <query status=\"resolved\">\r\n <doi type=\"journal_issue\">10.6002/ect.2015.0371</doi>\r\n
88
+ \ <crm-item name=\"publisher-name\" type=\"string\">Baskent University</crm-item>\r\n
89
+ \ <crm-item name=\"prefix-name\" type=\"string\">Baskent University
90
+ Publishers</crm-item>\r\n <crm-item name=\"member-id\" type=\"number\">4021</crm-item>\r\n
91
+ \ <crm-item name=\"citation-id\" type=\"number\">83601521</crm-item>\r\n
92
+ \ <crm-item name=\"journal-id\" type=\"number\">160826</crm-item>\r\n
93
+ \ <crm-item name=\"deposit-timestamp\" type=\"number\">201810030427</crm-item>\r\n
94
+ \ <crm-item name=\"owner-prefix\" type=\"string\">10.6002</crm-item>\r\n
95
+ \ <crm-item name=\"last-update\" type=\"date\">2018-10-03T12:09:12Z</crm-item>\r\n
96
+ \ <crm-item name=\"citedby-count\" type=\"number\">1</crm-item>\r\n
97
+ \ <doi_record>\r\n <crossref xmlns=\"http://www.crossref.org/xschema/1.1\"
98
+ xsi:schemaLocation=\"http://www.crossref.org/xschema/1.1 http://doi.crossref.org/schemas/unixref1.1.xsd\">\r\n
99
+ \ <journal>\r\n <journal_metadata>\r\n <full_title>Experimental
100
+ and Clinical Transplantation</full_title>\r\n <abbrev_title>Exp
101
+ Clin Transplant</abbrev_title>\r\n <issn media_type=\"print\">13040855</issn>\r\n
102
+ \ <issn media_type=\"electronic\">21468427</issn>\r\n <doi_data>\r\n
103
+ \ <doi>10.6002/ect</doi>\r\n <resource>http://www.ectrx.org/</resource>\r\n
104
+ \ </doi_data>\r\n </journal_metadata>\r\n <journal_issue>\r\n
105
+ \ <publication_date media_type=\"print\">\r\n <month>10</month>\r\n
106
+ \ <year>2018</year>\r\n </publication_date>\r\n
107
+ \ <journal_volume>\r\n <volume>16</volume>\r\n
108
+ \ </journal_volume>\r\n <issue>5</issue>\r\n
109
+ \ <doi_data>\r\n <doi>10.6002/ect.2015.0371</doi>\r\n
110
+ \ <resource>http://ectrx.org/forms/ectrxcontentshow.php?doi_id=10.6002/ect.2015.0371</resource>\r\n
111
+ \ </doi_data>\r\n </journal_issue>\r\n </journal>\r\n
112
+ \ </crossref>\r\n </doi_record>\r\n </query>\r\n </body>\r\n
113
+ \ </query_result>\r\n</crossref_result>"
114
+ http_version:
115
+ recorded_at: Sun, 07 Jul 2019 14:32:03 GMT
116
+ recorded_with: VCR 3.0.3
@@ -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.2.6; 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
+ - '7330'
28
+ Server:
29
+ - http-kit
30
+ Date:
31
+ - Sun, 07 Jul 2019 14:46:20 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
+ PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGNyb3NzcmVmX3Jlc3VsdCB4bWxucz0iaHR0cDovL3d3dy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bGU9ImF1dGhvciIgc2VxdWVuY2U9ImFkZGl0aW9uYWwiPg0KICAgICAgICAgICAgICAgICAgPGdpdmVuX25hbWU+TWFyeWFubjwvZ2l2ZW5fbmFtZT4NCiAgICAgICAgICAgICAgICAgIDxzdXJuYW1lPk1hcnRvbmU8L3N1cm5hbWU+DQogICAgICAgICAgICAgICAgICA8T1JDSUQ+aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDItODQwNi0zODcxPC9PUkNJRD4NCiAgICAgICAgICAgICAgICA8L3BlcnNvbl9uYW1lPg0KICAgICAgICAgICAgICAgIDxwZXJzb25fbmFtZSBjb250cmlidXRvcl9yb2xlPSJhdXRob3IiIHNlcXVlbmNlPSJhZGRpdGlvbmFsIj4NCiAgICAgICAgICAgICAgICAgIDxnaXZlbl9uYW1lPlRpbW90aHk8L2dpdmVuX25hbWU+DQogICAgICAgICAgICAgICAgICA8c3VybmFtZT5DbGFyazwvc3VybmFtZT4NCiAgICAgICAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy00MDYwLTczNjA8L09SQ0lEPg0KICAgICAgICAgICAgICAgIDwvcGVyc29uX25hbWU+DQogICAgICAgICAgICAgIDwvY29udHJpYnV0b3JzPg0KICAgICAgICAgICAgICA8dGl0bGVzPg0KICAgICAgICAgICAgICAgIDx0aXRsZT5BIERhdGEgQ2l0YXRpb24gUm9hZG1hcCBmb3IgU2Nob2xhcmx5IERhdGEgUmVwb3NpdG9yaWVzPC90aXRsZT4NCiAgICAgICAgICAgICAgPC90aXRsZXM+DQogICAgICAgICAgICAgIDxwb3N0ZWRfZGF0ZT4NCiAgICAgICAgICAgICAgICA8bW9udGg+MTI8L21vbnRoPg0KICAgICAgICAgICAgICAgIDxkYXk+Mjg8L2RheT4NCiAgICAgICAgICAgICAgICA8eWVhcj4yMDE2PC95ZWFyPg0KICAgICAgICAgICAgICA8L3Bvc3RlZF9kYXRlPg0KICAgICAgICAgICAgICA8YWNjZ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ICAgICA8ZG9pPjEwLjExMDEvMDk3MTk2PC9kb2k+DQogICAgICAgICAgICAgICAgPHRpbWVzdGFtcD4yMDE3MTAwOTIyMTAyMzQxMDAwPC90aW1lc3RhbXA+DQogICAgICAgICAgICAgICAgPHJlc291cmNlPmh0dHA6Ly9iaW9yeGl2Lm9yZy9sb29rdXAvZG9pLzEwLjExMDEvMDk3MTk2PC9yZXNvdXJjZT4NCiAgICAgICAgICAgICAgICA8Y29sbGVjdGlvbiBwcm9wZXJ0eT0iY3Jhd2xlci1iYXNlZCI+DQogICAgICAgICAgICAgICAgICA8aXRlbSBjcmF3bGVyPSJpUGFyYWRpZ21zIj4NCiAgICAgICAgICAgICAgICAgICAgPHJlc291cmNlPmh0dHBzOi8vc3luZGljYXRpb24uaGlnaHdpcmUub3JnL2NvbnRlbnQvZG9pLzEwLjExMDEvMDk3MTk2PC9yZXNvdXJjZT4NCiAgICAgICAgICAgICAgICAgIDwvaXRlbT4NCiAgICAgICAgICAgICAgICA8L2NvbGxlY3Rpb24+DQogICAgICAgICAgICAgIDwvZG9pX2RhdGE+DQogICAgICAgICAgICA8L3Bvc3RlZF9jb250ZW50Pg0KICAgICAgICAgIDwvY3Jvc3NyZWY+DQogICAgICAgIDwvZG9pX3JlY29yZD4NCiAgICAgIDwvcXVlcnk+DQogICAgPC9ib2R5Pg0KICA8L3F1ZXJ5X3Jlc3VsdD4NCjwvY3Jvc3NyZWZfcmVzdWx0Pg==
42
+ http_version:
43
+ recorded_at: Sun, 07 Jul 2019 14:46:20 GMT
44
+ recorded_with: VCR 3.0.3
@@ -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.2.6; mailto:info@datacite.org)
12
+ Accept:
13
+ - text/xml
14
+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JvYmluIEJlcmpvbiI7IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAxLTgyNDktNzM4OD47IHRpdGxlPSJTZWJhc3RpYW4gS2FyY2hlciI7IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAyLTg0MDYtMzg3MT47IHRpdGxlPSJNYXJ5YW5uIE1hcnRvbmUiOyByZWw9ImF1dGhvciIsIDxodHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy00MDYwLTczNjA+OyB0aXRsZT0iVGltb3RoeSBDbGFyayI7IHJlbD0iYXV0aG9yIg==
22
+ Access-Control-Allow-Origin:
23
+ - "*"
24
+ Access-Control-Allow-Headers:
25
+ - X-Requested-With
26
+ Content-Length:
27
+ - '7330'
28
+ Server:
29
+ - http-kit
30
+ Date:
31
+ - Sun, 07 Jul 2019 14:59:23 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
+ PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGNyb3NzcmVmX3Jlc3VsdCB4bWxucz0iaHR0cDovL3d3dy5jcm9zc3JlZi5vcmcvcXJzY2hlbWEvMy4wIiB2ZXJzaW9uPSIzLjAiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhzaTpzY2hlbWFMb2NhdGlvbj0iaHR0cDovL3d3dy5jcm9zc3JlZi5vcmcvcXJzY2hlbWEvMy4wIGh0dHA6Ly93d3cuY3Jvc3NyZWYub3JnL3NjaGVtYXMvY3Jvc3NyZWZfcXVlcnlfb3V0cHV0My4wLnhzZCI+DQogIDxxdWVyeV9yZXN1bHQ+DQogICAgPGhlYWQ+DQogICAgICA8ZG9p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2xlPSJhdXRob3IiIHNlcXVlbmNlPSJhZGRpdGlvbmFsIj4NCiAgICAgICAgICAgICAgICAgIDxnaXZlbl9uYW1lPlRpbW90aHk8L2dpdmVuX25hbWU+DQogICAgICAgICAgICAgICAgICA8c3VybmFtZT5DbGFyazwvc3VybmFtZT4NCiAgICAgICAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy00MDYwLTczNjA8L09SQ0lEPg0KICAgICAgICAgICAgICAgIDwvcGVyc29uX25hbWU+DQogICAgICAgICAgICAgIDwvY29udHJpYnV0b3JzPg0KICAgICAgICAgICAgICA8dGl0bGVzPg0KICAgICAgICAgICAgICAgIDx0aXRsZT5BIERhdGEgQ2l0YXRpb24gUm9hZG1hcCBmb3IgU2Nob2xhcmx5IERhdGEgUmVwb3NpdG9yaWVzPC90aXRsZT4NCiAgICAgICAgICAgICAgPC90aXRsZXM+DQogICAgICAgICAgICAgIDxwb3N0ZWRfZGF0ZT4NCiAgICAgICAgICAgICAgICA8bW9udGg+MTI8L21vbnRoPg0KICAgICAgICAgICAgICAgIDxkYXk+Mjg8L2RheT4NCiAgICAgICAgICAgICAgICA8eWVhcj4yMDE2PC95ZWFyPg0KICAgICAgICAgICAgICA8L3Bvc3RlZF9kYXRlPg0KICAgICAgICAgICAgICA8YWNjZXB0YW5jZV9kYXRlPg0KICAgICAgICAgICAgICAgIDxtb250aD4xMDwvbW9udGg+DQogICAgICAgICAgICAgICAgPGRheT4wOTwvZGF5Pg0KICAgICAgICAgICAgICAgIDx5ZWFyPjIwMTc8L3llYXI+DQogICAgICAgICAgICAgIDwvYWNjZXB0YW5jZV9kYXRlPg0KICAgICAgICAgICAgICA8aW5zdGl0dXRpb24+DQogICAgICAgICAgICAgICAgPGluc3RpdHV0aW9uX25hbWU+YmlvUnhpdjwvaW5zdGl0dXRpb25fbmFtZT4NCiAgICAgICAgICAgICAgPC9pbnN0aXR1dGlvbj4NCiAgICAgICAgICAgICAgPGl0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Ij4NCiAgICAgICAgICAgICAgICAgICAgPHJlc291cmNlPmh0dHBzOi8vc3luZGljYXRpb24uaGlnaHdpcmUub3JnL2NvbnRlbnQvZG9pLzEwLjExMDEvMDk3MTk2PC9yZXNvdXJjZT4NCiAgICAgICAgICAgICAgICAgIDwvaXRlbT4NCiAgICAgICAgICAgICAgICA8L2NvbGxlY3Rpb24+DQogICAgICAgICAgICAgIDwvZG9pX2RhdGE+DQogICAgICAgICAgICA8L3Bvc3RlZF9jb250ZW50Pg0KICAgICAgICAgIDwvY3Jvc3NyZWY+DQogICAgICAgIDwvZG9pX3JlY29yZD4NCiAgICAgIDwvcXVlcnk+DQogICAgPC9ib2R5Pg0KICA8L3F1ZXJ5X3Jlc3VsdD4NCjwvY3Jvc3NyZWZfcmVzdWx0Pg==
42
+ http_version:
43
+ recorded_at: Sun, 07 Jul 2019 14:59:23 GMT
44
+ recorded_with: VCR 3.0.3
@@ -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.2.6; 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+OyB2ZXJzaW9uPSJ2b3IiOyByZWw9Iml0ZW0iLCA8aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDMtMTQxOS0yNDA1PjsgdGl0bGU9Ik1hcnRpbiBGZW5uZXIiOyByZWw9Im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aG9yIg==
22
+ Access-Control-Allow-Origin:
23
+ - "*"
24
+ Access-Control-Allow-Headers:
25
+ - X-Requested-With
26
+ Content-Length:
27
+ - '7330'
28
+ Server:
29
+ - http-kit
30
+ Date:
31
+ - Sun, 07 Jul 2019 14:59:23 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
+ PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGNyb3NzcmVmX3Jlc3VsdCB4bWxucz0iaHR0cDovL3d3dy5jcm9zc3JlZi5vcmcvcXJzY2hlbWEvMy4wIiB2ZXJzaW9uPSIzLjAiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhzaTpzY2hlbWFMb2NhdGlvbj0iaHR0cDovL3d3dy5jcm9zc3JlZi5vcmcvcXJzY2hlbWEvMy4wIGh0dHA6Ly93d3cuY3Jvc3NyZWYub3JnL3NjaGVtYXMvY3Jvc3NyZWZfcXVlcnlfb3V0cHV0My4wLnhzZCI+DQogIDxxdWVyeV9yZXN1bHQ+DQogICAgPGhlYWQ+DQogICAgICA8ZG9pX2JhdGNoX2lkPm5vbmU8L2RvaV9iYXRjaF9pZD4NCiAgICA8L2hlYWQ+DQogICAgPGJvZHk+DQogICAgICA8cXVlcnkgc3RhdHVzPSJyZXNvbHZlZCI+DQogICAgICAgIDxkb2kgdHlwZT0icG9zdGVkX2NvbnRlbnQiPjEwLjExMDEvMDk3MTk2PC9kb2k+DQogICAgICAgIDxjcm0taXRlbSBuYW1lPSJwdWJsaXNoZXItbmFtZSIgdHlwZT0ic3RyaW5nIj5Db2xkIFNwcmluZyBIYXJib3IgTGFib3JhdG9yeTwvY3JtLWl0ZW0+DQogICAgICAgIDxjcm0taXRlbSBuYW1lPSJwc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aWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImFkZGl0aW9uYWwiPg0KICAgICAgICAgICAgICAgICAgPGdpdmVuX25hbWU+U2ViYXN0aWFuPC9naXZlbl9uYW1lPg0KICAgICAgICAgICAgICAgICAgPHN1cm5hbWU+S2FyY2hlcjwvc3VybmFtZT4NCiAgICAgICAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMS04MjQ5LTczODg8L09SQ0lEPg0KICAgICAgICAgICAgICAgIDwvcGVyc29uX25hbWU+DQogICAgICAgICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImFkZGl0aW9uYWwiPg0KICAgICAgICAgICAgICAgICAgPGdpdmVuX25hbWU+TWFyeWFubjwvZ2l2ZW5fbmFtZT4NCiAgICAgICAgICAgICAgICAgIDxzdXJuYW1lPk1hcnRvbmU8L3N1cm5hbWU+DQogICAgICAgICAgICAgICAgICA8T1JDSUQ+aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDItODQwNi0zODcxPC9PUkNJRD4NCiAgICAgICAgICAgICAgICA8L3BlcnNvbl9uYW1lPg0KICAgICAgICAgICAgICAgIDxwZXJzb25fbmFtZSBjb250cmlidXRvcl9yb2xlPSJhdXRob3IiIHNlcXVlbmNlPSJhZGRpdGlvbmFsIj4NCiAgICAgICAgICAgICAgICAgIDxnaXZlbl9uYW1lPlRpbW90aHk8L2dpdmVuX25hbWU+DQogICAgICAgICAgICAgICAgICA8c3VybmFtZT5DbGFyazwvc3VybmFtZT4NCiAgICAgICAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy00MDYwLTczNjA8L09SQ0lEPg0KICAgICAgICAgICAgICAgIDwvcGVyc29uX25hbWU+DQogICAgICAgICAgICAgIDwvY29udHJpYnV0b3JzPg0KICAgICAgICAgICAgICA8dGl0bGVzPg0KICAgICAgICAgICAgICAgIDx0aXRsZT5BIERhdGEgQ2l0YXRpb24gUm9hZG1hcCBmb3IgU2Nob2xhcmx5IERhdGEgUmVwb3NpdG9yaWVzPC90aXRsZT4NCiAgICAgICAgICAgICAgPC90aXRsZXM+DQogICAgICAgICAgICAgIDxwb3N0ZWRfZGF0ZT4NCiAgICAgICAgICAgICAgICA8bW9udGg+MTI8L21vbnRoPg0KICAgICAgICAgICAgICAgIDxkYXk+Mjg8L2RheT4NCiAgICAgICAgICAgICAgICA8eWVhcj4yMDE2PC95ZWFyPg0KICAgICAgICAgICAgICA8L3Bvc3RlZF9kYXRlPg0KICAgICAgICAgICAgICA8YWNjZXB0YW5jZV9kYXRlPg0KICAgICAgICAgICAgICAgIDxtb250aD4xMDwvbW9udGg+DQogICAgICAgICAgICAgICAgPGRheT4wOTwvZGF5Pg0KICAgICAgICAgICAgICAgIDx5ZWFyPjIwMTc8L3llYXI+DQogICAgICAgICAgICAgIDwvYWNjZXB0YW5jZV9kYXRlPg0KICAgICAgICAgICAgICA8aW5zdGl0dXRpb24+DQogICAgICAgICAgICAgICAgPGluc3RpdHV0aW9uX25hbWU+YmlvUnhpdjwvaW5zdGl0dXRpb25fbmFtZT4NCiAgICAgICAgICAgICAgPC9pbnN0aXR1dGlvbj4NCiAgICAgICAgICAgICAgPGl0ZW1fbnVtYmVyIGl0ZW1fbnVtYmVyX3R5cGU9InBpc2EiPmJpb3J4aXY7MDk3MTk2djI8L2l0ZW1fbnVtYmVyPg0KICAgICAgICAgICAgICA8amF0czphYnN0cmFjdCB4bWxuczpqYXRzPSJodHRwOi8vd3d3Lm5jYmkubmxtLm5paC5nb3YvSkFUUzEiPg0KICAgICAgICAgICAgICAgIDxqYXRzOnA+VGhpcyBhcnRpY2xlIHByZXNlbnRzIGEgcHJhY3RpY2FsIHJvYWRtYXAgZm9yIHNjaG9sYXJseSBkYXRhIHJlcG9zaXRvcmllcyB0byBpbXBsZW1lbnQgZGF0YSBjaXRhdGl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vcmcvcmVsYXRpb25zLnhzZCI+DQogICAgICAgICAgICAgICAgPHJlbGF0ZWRfaXRlbT4NCiAgICAgICAgICAgICAgICAgIDxpbnRyYV93b3JrX3JlbGF0aW9uIHJlbGF0aW9uc2hpcC10eXBlPSJpc1ByZXByaW50T2YiIGlkZW50aWZpZXItdHlwZT0iZG9pIj4xMC4xMDM4L3M0MTU5Ny0wMTktMDAzMS04PC9pbnRyYV93b3JrX3JlbGF0aW9uPg0KICAgICAgICAgICAgICAgIDwvcmVsYXRlZF9pdGVtPg0KICAgICAgICAgICAgICA8L3Byb2dyYW0+DQogICAgICAgICAgICAgIDxkb2lfZGF0YT4NCiAgICAgICAgICAgICAgICA8ZG9pPjEwLjExMDEvMDk3MTk2PC9kb2k+DQogICAgICAgICAgICAgICAgPHRpbWVzdGFtcD4yMDE3MTAwOTIyMTAyMzQxMDAwPC90aW1lc3RhbXA+DQogICAgICAgICAgICAgICAgPHJlc291cmNlPmh0dHA6Ly9iaW9yeGl2Lm9yZy9sb29rdXAvZG9pLzEwLjExMDEvMDk3MTk2PC9yZXNvdXJjZT4NCiAgICAgICAgICAgICAgICA8Y29sbGVjdGlvbiBwcm9wZXJ0eT0iY3Jhd2xlci1iYXNlZCI+DQogICAgICAgICAgICAgICAgICA8aXRlbSBjcmF3bGVyPSJpUGFyYWRpZ21zIj4NCiAgICAgICAgICAgICAgICAgICAgPHJlc291cmNlPmh0dHBzOi8vc3luZGljYXRpb24uaGlnaHdpcmUub3JnL2NvbnRlbnQvZG9pLzEwLjExMDEvMDk3MTk2PC9yZXNvdXJjZT4NCiAgICAgICAgICAgICAgICAgIDwvaXRlbT4NCiAgICAgICAgICAgICAgICA8L2NvbGxlY3Rpb24+DQogICAgICAgICAgICAgIDwvZG9pX2RhdGE+DQogICAgICAgICAgICA8L3Bvc3RlZF9jb250ZW50Pg0KICAgICAgICAgIDwvY3Jvc3NyZWY+DQogICAgICAgIDwvZG9pX3JlY29yZD4NCiAgICAgIDwvcXVlcnk+DQogICAgPC9ib2R5Pg0KICA8L3F1ZXJ5X3Jlc3VsdD4NCjwvY3Jvc3NyZWZfcmVzdWx0Pg==
42
+ http_version:
43
+ recorded_at: Sun, 07 Jul 2019 14:59:23 GMT
44
+ recorded_with: VCR 3.0.3
@@ -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.2.6; 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
+ - '7330'
28
+ Server:
29
+ - http-kit
30
+ Date:
31
+ - Sun, 07 Jul 2019 14:59:22 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
+ PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGNyb3NzcmVmX3Jlc3VsdCB4bWxuc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b25fbmFtZSBjb250cmlidXRvcl9yb2xlPSJhdXRob3IiIHNlcXVlbmNlPSJmaXJzdCI+DQogICAgICAgICAgICAgICAgICA8Z2l2ZW5fbmFtZT5NYXJ0aW48L2dpdmVuX25hbWU+DQogICAgICAgICAgICAgICAgICA8c3VybmFtZT5GZW5uZXI8L3N1cm5hbWU+DQogICAgICAgICAgICAgICAgICA8T1JDSUQ+aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDMtMTQxOS0yNDA1PC9PUkNJRD4NCiAgICAgICAgICAgICAgICA8L3BlcnNvbl9uYW1lPg0KICAgICAgICAgICAgICAgIDxwZXJzb25fbmFtZSBjb250cmlidXRvcl9yb2xlPSJhdXRob3IiIHNlcXVlbmNlPSJhZGRpdGlvbmFsIj4NCiAgICAgICAgICAgICAgICAgIDxnaXZlbl9uYW1lPk1lcmPDqDwvZ2l2ZW5fbmFtZT4NCiAgICAgICAgICAgICAgICAgIDxzdXJuYW1lPkNyb3Nhczwvc3VybmFtZT4NCiAgICAgICAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy0xMzA0LTE5Mzk8L09SQ0lEPg0KICAgICAgICAgICAgICAgIDwvcGVyc29uX25hbWU+DQogICAgICAgICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImFkZGl0aW9uYWwiPg0KICAgICAgICAgICAgICAgICAgPGdpdmVuX25hbWU+SmVmZnJleTwvZ2l2ZW5fbmFtZT4NCiAgICAgICAgICAgICAgICAgIDxzdXJuYW1lPkdyZXRoZTwvc3VybmFtZT4NCiAgICAgICAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMS01MjEyLTcwNTI8L09SQ0lEPg0KICAgICAgICAgICAgICAgIDwvcGVyc29uX25hbWU+DQogICAgICAgICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ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nRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImFkZGl0aW9uYWwiPg0KICAgICAgICAgICAgICAgICAgPGdpdmVuX25hbWU+TWFyeWFubjwvZ2l2ZW5fbmFtZT4NCiAgICAgICAgICAgICAgICAgIDxzdXJuYW1lPk1hcnRvbmU8L3N1cm5hbWU+DQogICAgICAgICAgICAgICAgICA8T1JDSUQ+aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDItODQwNi0zODcxPC9PUkNJRD4NCiAgICAgICAgICAgICAgICA8L3BlcnNvbl9uYW1lPg0KICAgICAgICAgICAgICAgIDxwZXJzb25fbmFtZSBjb250cmlidXRvcl9yb2xlPSJhdXRob3IiIHNlcXVlbmNlPSJhZGRpdGlvbmFsIj4NCiAgICAgICAgICAgICAgICAgIDxnaXZlbl9uYW1lPlRpbW90aHk8L2dpdmVuX25hbWU+DQogICAgICAgICAgICAgICAgICA8c3VybmFtZT5DbGFyazwvc3VybmFtZT4NCiAgICAgICAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy00MDYwLTczNjA8L09SQ0lEPg0KICAgICAgICAgICAgICAgIDwvcGVyc29uX25hbWU+DQogICAgICAgICAgICAgIDwvY29udHJpYnV0b3JzPg0KICAgICAgICAgICAgICA8dGl0bGVzPg0KICAgICAgICAgICAgICAgIDx0aXRsZT5BIERhdGEgQ2l0YXRpb24gUm9hZG1hcCBmb3IgU2Nob2xhcmx5IERhdGEgUmVwb3NpdG9yaWVzPC90aXRsZT4NCiAgICAgICAgICAgICAgPC90aXRsZXM+DQogICAgICAgICAgICAgIDxwb3N0ZWRfZGF0ZT4NCiAgICAgICAgICAgICAgICA8bW9udGg+MTI8L21vbnRoPg0KICAgICAgICAgICAgICAgIDxkYXk+Mjg8L2RheT4NCiAgICAgICAgICAgICAgICA8eWVhcj4yMDE2PC95ZWFyPg0KICAgICAgICAgICAgICA8L3Bvc3RlZF9kYXRlPg0KICAgIC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T4NCiAgICAgICAgICAgICAgICA8ZG9pPjEwLjExMDEvMDk3MTk2PC9kb2k+DQogICAgICAgICAgICAgICAgPHRpbWVzdGFtcD4yMDE3MTAwOTIyMTAyMzQxMDAwPC90aW1lc3RhbXA+DQogICAgICAgICAgICAgICAgPHJlc291cmNlPmh0dHA6Ly9iaW9yeGl2Lm9yZy9sb29rdXAvZG9pLzEwLjExMDEvMDk3MTk2PC9yZXNvdXJjZT4NCiAgICAgICAgICAgICAgICA8Y29sbGVjdGlvbiBwcm9wZXJ0eT0iY3Jhd2xlci1iYXNlZCI+DQogICAgICAgICAgICAgICAgICA8aXRlbSBjcmF3bGVyPSJpUGFyYWRpZ21zIj4NCiAgICAgICAgICAgICAgICAgICAgPHJlc291cmNlPmh0dHBzOi8vc3luZGljYXRpb24uaGlnaHdpcmUub3JnL2NvbnRlbnQvZG9pLzEwLjExMDEvMDk3MTk2PC9yZXNvdXJjZT4NCiAgICAgICAgICAgICAgICAgIDwvaXRlbT4NCiAgICAgICAgICAgICAgICA8L2NvbGxlY3Rpb24+DQogICAgICAgICAgICAgIDwvZG9pX2RhdGE+DQogICAgICAgICAgICA8L3Bvc3RlZF9jb250ZW50Pg0KICAgICAgICAgIDwvY3Jvc3NyZWY+DQogICAgICAgIDwvZG9pX3JlY29yZD4NCiAgICAgIDwvcXVlcnk+DQogICAgPC9ib2R5Pg0KICA8L3F1ZXJ5X3Jlc3VsdD4NCjwvY3Jvc3NyZWZfcmVzdWx0Pg==
42
+ http_version:
43
+ recorded_at: Sun, 07 Jul 2019 14:59:22 GMT
44
+ recorded_with: VCR 3.0.3
@@ -102,8 +102,8 @@ describe Bolognese::Metadata, vcr: true do
102
102
  expect(subject.publication_year).to eq("2007")
103
103
  expect(subject.publisher).to eq("The Japanese Society of Physical Fitness and Sports Medicine")
104
104
  expect(subject.related_identifiers.length).to eq(1)
105
- expect(subject.related_identifiers.first).to eq("relatedIdentifier"=>"0039-906X", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection")
106
- expect(subject.container).to eq("firstPage"=>"60", "identifier"=>"0039-906X", "identifierType"=>"ISSN", "issue"=>"1", "lastPage"=>"60", "title"=>"Japanese Journal of Physical Fitness and Sports Medicine", "type"=>"Journal", "volume"=>"56")
105
+ expect(subject.related_identifiers.first).to eq("relatedIdentifier"=>"1881-4751", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection")
106
+ expect(subject.container).to eq("firstPage"=>"60", "identifier"=>"1881-4751", "identifierType"=>"ISSN", "issue"=>"1", "lastPage"=>"60", "title"=>"Japanese Journal of Physical Fitness and Sports Medicine", "type"=>"Journal", "volume"=>"56")
107
107
  expect(subject.agency).to eq("Crossref")
108
108
  end
109
109
 
@@ -159,9 +159,9 @@ describe Bolognese::Metadata, vcr: true do
159
159
  expect(subject.publication_year).to eq("2012")
160
160
  expect(subject.publisher).to eq("Hindawi Limited")
161
161
  expect(subject.related_identifiers.length).to eq(18)
162
- expect(subject.related_identifiers.first).to eq("relatedIdentifier"=>"2090-1836", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection")
162
+ expect(subject.related_identifiers.first).to eq("relatedIdentifier"=>"2090-1844", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection")
163
163
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"10.1378/chest.12-0045", "relatedIdentifierType"=>"DOI", "relationType"=>"References")
164
- expect(subject.container).to eq("firstPage"=>"1", "identifier"=>"2090-1836", "identifierType"=>"ISSN", "lastPage"=>"7", "title"=>"Pulmonary Medicine", "type"=>"Journal", "volume"=>"2012")
164
+ expect(subject.container).to eq("firstPage"=>"1", "identifier"=>"2090-1844", "identifierType"=>"ISSN", "lastPage"=>"7", "title"=>"Pulmonary Medicine", "type"=>"Journal", "volume"=>"2012")
165
165
  expect(subject.agency).to eq("Crossref")
166
166
  end
167
167
 
@@ -178,8 +178,8 @@ describe Bolognese::Metadata, vcr: true do
178
178
  expect(subject.dates).to eq([{"date"=>"2015-07", "dateType"=>"Issued"}, {"date"=>"2018-09-23T21:22:53Z", "dateType"=>"Updated"}])
179
179
  expect(subject.publication_year).to eq("2015")
180
180
  expect(subject.publisher).to eq("Elsevier BV")
181
- expect(subject.related_identifiers).to eq([{"relatedIdentifier"=>"00142999", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection"}])
182
- expect(subject.container).to eq("firstPage"=>"303", "identifier"=>"00142999", "identifierType"=>"ISSN", "lastPage"=>"312", "title"=>"European Journal of Pharmacology", "type"=>"Journal", "volume"=>"759")
181
+ expect(subject.related_identifiers).to eq([{"relatedIdentifier"=>"0014-2999", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection"}])
182
+ expect(subject.container).to eq("firstPage"=>"303", "identifier"=>"0014-2999", "identifierType"=>"ISSN", "lastPage"=>"312", "title"=>"European Journal of Pharmacology", "type"=>"Journal", "volume"=>"759")
183
183
  expect(subject.agency).to eq("Crossref")
184
184
  end
185
185
 
@@ -197,8 +197,8 @@ describe Bolognese::Metadata, vcr: true do
197
197
  expect(subject.publication_year).to eq("2013")
198
198
  expect(subject.publisher).to eq("Springer Science and Business Media LLC")
199
199
  expect(subject.related_identifiers.size).to eq(35)
200
- expect(subject.related_identifiers.first).to eq("relatedIdentifier"=>"0018-067X", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection")
201
- expect(subject.container).to eq("firstPage"=>"122", "identifier"=>"0018-067X", "identifierType"=>"ISSN", "issue"=>"2", "lastPage"=>"130", "title"=>"Heredity", "type"=>"Journal", "volume"=>"111")
200
+ expect(subject.related_identifiers.first).to eq("relatedIdentifier"=>"1365-2540", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection")
201
+ expect(subject.container).to eq("firstPage"=>"122", "identifier"=>"1365-2540", "identifierType"=>"ISSN", "issue"=>"2", "lastPage"=>"130", "title"=>"Heredity", "type"=>"Journal", "volume"=>"111")
202
202
  expect(subject.agency).to eq("Crossref")
203
203
  end
204
204
 
@@ -348,7 +348,7 @@ describe Bolognese::Metadata, vcr: true do
348
348
  it "yet another book" do
349
349
  input = "https://doi.org/10.1029/ar035"
350
350
  subject = Bolognese::Metadata.new(input: input)
351
- #expect(subject.valid?).to be true
351
+ expect(subject.valid?).to be true
352
352
  expect(subject.identifiers).to eq([{"identifier"=>"https://doi.org/10.1029/ar035", "identifierType"=>"DOI"}, {"identifier"=>"0-87590-181-6", "identifierType"=>"ISBN"}])
353
353
  expect(subject.url).to eq("http://doi.wiley.com/10.1029/AR035")
354
354
  expect(subject.types).to eq("bibtex"=>"book", "citeproc"=>"book", "resourceType"=>"Book", "ris"=>"BOOK", "schemaOrg"=>"Book")
@@ -444,7 +444,7 @@ describe Bolognese::Metadata, vcr: true do
444
444
  it "markup" do
445
445
  input = "https://doi.org/10.1098/rspb.2017.0132"
446
446
  subject = Bolognese::Metadata.new(input: input)
447
- #expect(subject.valid?).to be true
447
+ expect(subject.valid?).to be true
448
448
  expect(subject.identifiers).to eq([{"identifier"=>"https://doi.org/10.1098/rspb.2017.0132", "identifierType"=>"DOI"}, {"identifier"=>"/royprsb/284/1855/20170132.atom", "identifierType"=>"Publisher ID"}])
449
449
  expect(subject.url).to eq("http://rspb.royalsocietypublishing.org/lookup/doi/10.1098/rspb.2017.0132")
450
450
  expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"article-journal", "resourceType"=>"JournalArticle", "resourceTypeGeneral"=>"Text", "ris"=>"JOUR", "schemaOrg"=>"ScholarlyArticle")
@@ -472,9 +472,27 @@ describe Bolognese::Metadata, vcr: true do
472
472
  expect(subject.publication_year).to eq("2018")
473
473
  expect(subject.publisher).to eq("Wiley")
474
474
  expect(subject.related_identifiers.length).to eq(49)
475
- expect(subject.related_identifiers.first).to eq("relatedIdentifier"=>"0028646X", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection")
475
+ expect(subject.related_identifiers.first).to eq("relatedIdentifier"=>"0028-646X", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection")
476
476
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"10.1002/pmic.201400530", "relatedIdentifierType"=>"DOI", "relationType"=>"References")
477
- expect(subject.container).to eq("firstPage"=>"929", "identifier"=>"0028646X", "identifierType"=>"ISSN", "issue"=>"3", "lastPage"=>"935", "title"=>"New Phytologist", "type"=>"Journal", "volume"=>"218")
477
+ expect(subject.container).to eq("firstPage"=>"929", "identifier"=>"0028-646X", "identifierType"=>"ISSN", "issue"=>"3", "lastPage"=>"935", "title"=>"New Phytologist", "type"=>"Journal", "volume"=>"218")
478
+ expect(subject.agency).to eq("Crossref")
479
+ end
480
+
481
+ it "journal issue" do
482
+ input = "https://doi.org/10.6002/ect.2015.0371"
483
+ subject = Bolognese::Metadata.new(input: input)
484
+ #expect(subject.valid?).to be true
485
+ expect(subject.identifiers).to eq([{"identifier"=>"https://doi.org/10.6002/ect.2015.0371", "identifierType"=>"DOI"}])
486
+ expect(subject.url).to eq("http://ectrx.org/forms/ectrxcontentshow.php?doi_id=10.6002/ect.2015.0371")
487
+ expect(subject.types).to eq("bibtex"=>"misc", "citeproc"=>"article-journal", "resourceType"=>"JournalIssue", "resourceTypeGeneral"=>"Text", "ris"=>"JOUR", "schemaOrg"=>"PublicationIssue")
488
+ expect(subject.creators).to eq("name"=>":(unav)", "nameType"=>"Organizational")
489
+ expect(subject.titles).to eq([{"title"=>":{unav)"}])
490
+ expect(subject.dates).to eq([{"date"=>"2018-10", "dateType"=>"Issued"}, {"date"=>"2018-10-03T12:09:12Z", "dateType"=>"Updated"}])
491
+ expect(subject.publication_year).to eq("2018")
492
+ expect(subject.publisher).to eq("Baskent University")
493
+ expect(subject.related_identifiers.length).to eq(1)
494
+ expect(subject.related_identifiers.first).to eq("relatedIdentifier"=>"2146-8427", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection")
495
+ expect(subject.container).to eq("identifier"=>"2146-8427", "identifierType"=>"ISSN", "issue"=>"5", "title"=>"Experimental and Clinical Transplantation", "type"=>"Journal", "volume"=>"16")
478
496
  expect(subject.agency).to eq("Crossref")
479
497
  end
480
498
 
@@ -219,6 +219,32 @@ describe Bolognese::Metadata, vcr: true do
219
219
  end
220
220
  end
221
221
 
222
+ context "normalize issn" do
223
+ it "from array" do
224
+ input = [{"media_type"=>"print", "__content__"=>"13040855"}, {"media_type"=>"electronic", "__content__"=>"21468427"}]
225
+ response = subject.normalize_issn(input)
226
+ expect(response).to eq("2146-8427")
227
+ end
228
+
229
+ it "from empty array" do
230
+ input = []
231
+ response = subject.normalize_issn(input)
232
+ expect(response).to be_nil
233
+ end
234
+
235
+ it "from hash" do
236
+ input = {"media_type"=>"electronic", "__content__"=>"21468427"}
237
+ response = subject.normalize_issn(input)
238
+ expect(response).to eq("2146-8427")
239
+ end
240
+
241
+ it "from string" do
242
+ input = "2146-8427"
243
+ response = subject.normalize_issn(input)
244
+ expect(response).to eq("2146-8427")
245
+ end
246
+ end
247
+
222
248
  context "to_schema_org" do
223
249
  it "with id" do
224
250
  author = {"type"=>"Person", "id"=>"http://orcid.org/0000-0003-1419-2405", "givenName"=>"Martin", "familyName"=>"Fenner", "name"=>"Martin Fenner" }
@@ -40,7 +40,7 @@ describe Bolognese::Metadata, vcr: true do
40
40
  expect(ris[15]).to eq("VL - 2012")
41
41
  expect(ris[16]).to eq("SP - 1")
42
42
  expect(ris[17]).to eq("EP - 7")
43
- expect(ris[18]).to eq("SN - 2090-1836")
43
+ expect(ris[18]).to eq("SN - 2090-1844")
44
44
  expect(ris[19]).to eq("ER - ")
45
45
  end
46
46
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bolognese
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.19
4
+ version: 1.2.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
@@ -845,6 +845,7 @@ files:
845
845
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_original_language_title.yml
846
846
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with.yml
847
847
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with_funding.yml
848
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_issue.yml
848
849
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/mEDRA.yml
849
850
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/markup.yml
850
851
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/missing_creator.yml
@@ -970,6 +971,10 @@ files:
970
971
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url_with_utf-8.yml
971
972
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/doi.yml
972
973
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/url.yml
974
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_array.yml
975
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_empty_array.yml
976
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_hash.yml
977
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_string.yml
973
978
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/uri.yml
974
979
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash.yml
975
980
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array.yml