bolognese 1.8.9 → 1.8.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: c4e322dfced96f2bfe6b19295c8da7a841305d7187e53b6318349efc22e07455
4
- data.tar.gz: f37fc1533d5be911b87de1e25d19cc9c1cb6bbfaeef18cf05f41b66401a6ed87
3
+ metadata.gz: a5195c3b55a761942636c85d4f09331f45a91f4099cc49286e4b16815e8bb001
4
+ data.tar.gz: 7238555995c287fff505934f794a4deb9666c06ec44e2f422f73e8292b8db774
5
5
  SHA512:
6
- metadata.gz: ac8fffc66a1babe967ed5aa4a82d594346a8df2233267b8638c0a1c0b8ae366b668bef192edc835bdb4d840e5bd9b859c9b6d2ca61cfc97c6c9df59db819a187
7
- data.tar.gz: 3006b731e51da24c94f105bb7562d0af9107b88d611937b8d8762981dc3b5bc34376c9fbb24f877deb1a902efc64a758ba9c4f6fe5924c963c97cb1378d7bd63
6
+ metadata.gz: e102cd718faaba83563b8ba33ff13e30c8dff7c491be161bab401197f695fdbea74b57c9371dfcb922eca7ccf2de7d49e457aa46b0fbece35c407c2b949cad66
7
+ data.tar.gz: bd51818f76c120eac5d8a1cf276d5df845fefb7a7eaeba477a2a47d06d1965aa9848e9a357c5d532a85aace58e92361db938afa8f0f1eb30e8ab59839a86cddd
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bolognese (1.8.9)
4
+ bolognese (1.8.10)
5
5
  activesupport (>= 4.2.5)
6
6
  benchmark_methods (~> 0.7)
7
7
  bibtex-ruby (>= 5.1.0)
@@ -30,7 +30,7 @@ PATH
30
30
  GEM
31
31
  remote: https://rubygems.org/
32
32
  specs:
33
- activesupport (6.0.3.2)
33
+ activesupport (6.0.3.4)
34
34
  concurrent-ruby (~> 1.0, >= 1.0.2)
35
35
  i18n (>= 0.7, < 2)
36
36
  minitest (~> 5.1)
@@ -41,7 +41,6 @@ GEM
41
41
  benchmark_methods (0.7)
42
42
  bibtex-ruby (5.1.4)
43
43
  latex-decode (~> 0.0)
44
- bigdecimal (2.0.0)
45
44
  builder (3.2.4)
46
45
  citeproc (1.0.10)
47
46
  namae (~> 1.0)
@@ -50,8 +49,7 @@ GEM
50
49
  csl (~> 1.5)
51
50
  colorize (0.8.1)
52
51
  concurrent-ruby (1.1.7)
53
- crack (0.4.3)
54
- safe_yaml (~> 1.0.0)
52
+ crack (0.4.4)
55
53
  crass (1.0.6)
56
54
  csl (1.5.1)
57
55
  namae (~> 1.0)
@@ -75,7 +73,7 @@ GEM
75
73
  faraday (>= 0.7.4, < 1.0)
76
74
  gender_detector (0.1.2)
77
75
  unicode_utils (>= 1.3.0)
78
- haml (5.1.2)
76
+ haml (5.2.0)
79
77
  temple (>= 0.8.0)
80
78
  tilt
81
79
  hamster (3.0.0)
@@ -101,10 +99,10 @@ GEM
101
99
  optimist (~> 3)
102
100
  latex-decode (0.3.1)
103
101
  link_header (0.0.8)
104
- loofah (2.6.0)
102
+ loofah (2.7.0)
105
103
  crass (~> 1.0.2)
106
104
  nokogiri (>= 1.5.9)
107
- maremma (4.7.1)
105
+ maremma (4.7.2)
108
106
  activesupport (>= 4.2.5)
109
107
  addressable (>= 2.3.6)
110
108
  builder (~> 3.2, >= 3.2.2)
@@ -116,14 +114,13 @@ GEM
116
114
  oj (>= 2.8.3)
117
115
  oj_mimic_json (~> 1.0, >= 1.0.1)
118
116
  mini_portile2 (2.4.0)
119
- minitest (5.14.1)
117
+ minitest (5.14.2)
120
118
  multi_json (1.15.0)
121
119
  multipart-post (2.1.1)
122
120
  namae (1.0.1)
123
121
  nokogiri (1.10.10)
124
122
  mini_portile2 (~> 2.4.0)
125
- oj (3.10.12)
126
- bigdecimal (>= 1.0, < 3)
123
+ oj (3.10.14)
127
124
  oj_mimic_json (1.0.1)
128
125
  optimist (3.0.1)
129
126
  postrank-uri (1.0.24)
@@ -135,7 +132,7 @@ GEM
135
132
  rack-test (0.8.3)
136
133
  rack (>= 1.0, < 3)
137
134
  rake (12.3.3)
138
- rdf (3.1.5)
135
+ rdf (3.1.6)
139
136
  hamster (~> 3.0)
140
137
  link_header (~> 0.0, >= 0.0.8)
141
138
  rdf-aggregate-repo (3.1.0)
@@ -155,7 +152,7 @@ GEM
155
152
  rdf-turtle (3.1.2)
156
153
  ebnf (~> 2.0)
157
154
  rdf (~> 3.1, >= 3.1.2)
158
- rdf-vocab (3.1.7)
155
+ rdf-vocab (3.1.8)
159
156
  rdf (~> 3.1, >= 3.1.2)
160
157
  rdf-xsd (3.1.0)
161
158
  rdf (~> 3.1)
@@ -163,7 +160,7 @@ GEM
163
160
  rspec-core (~> 3.9.0)
164
161
  rspec-expectations (~> 3.9.0)
165
162
  rspec-mocks (~> 3.9.0)
166
- rspec-core (3.9.2)
163
+ rspec-core (3.9.3)
167
164
  rspec-support (~> 3.9.3)
168
165
  rspec-expectations (3.9.2)
169
166
  diff-lcs (>= 1.2.0, < 2.0)
@@ -175,12 +172,11 @@ GEM
175
172
  rspec-xsd (0.1.0)
176
173
  nokogiri (~> 1.6)
177
174
  rspec (~> 3)
178
- safe_yaml (1.0.5)
179
175
  scanf (1.0.0)
180
176
  simplecov (0.19.0)
181
177
  docile (~> 1.1)
182
178
  simplecov-html (~> 0.11)
183
- simplecov-html (0.12.2)
179
+ simplecov-html (0.12.3)
184
180
  sxp (1.1.0)
185
181
  rdf (~> 3.1)
186
182
  temple (0.8.2)
@@ -191,7 +187,7 @@ GEM
191
187
  thread_safe (~> 0.1)
192
188
  unicode_utils (1.4.0)
193
189
  vcr (3.0.3)
194
- webmock (3.8.3)
190
+ webmock (3.9.1)
195
191
  addressable (>= 2.3.6)
196
192
  crack (>= 0.3.2)
197
193
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -115,7 +115,7 @@ module Bolognese
115
115
  end
116
116
  end.compact
117
117
  else
118
- [{ "title" => ":{unav)" }]
118
+ [{ "title" => ":(unav)" }]
119
119
  end
120
120
 
121
121
  date_published = crossref_date_published(bibliographic_metadata)
@@ -1,3 +1,3 @@
1
1
  module Bolognese
2
- VERSION = "1.8.9"
2
+ VERSION = "1.8.10"
3
3
  end
@@ -0,0 +1,449 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://doi.org/ra/10.1186
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: ''
18
+ headers:
19
+ Date:
20
+ - Sun, 11 Oct 2020 05:26:31 GMT
21
+ Content-Type:
22
+ - application/json;charset=UTF-8
23
+ Connection:
24
+ - keep-alive
25
+ Set-Cookie:
26
+ - __cfduid=d8a8bdceeec481ceefc93a6afcbde710d1602393990; expires=Tue, 10-Nov-20
27
+ 05:26:30 GMT; path=/; domain=.doi.org; HttpOnly; SameSite=Lax; Secure
28
+ Cf-Cache-Status:
29
+ - DYNAMIC
30
+ Cf-Request-Id:
31
+ - 05b7b8ff3c000005dc32162200000001
32
+ Expect-Ct:
33
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
34
+ Report-To:
35
+ - '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report?lkg-colo=71&lkg-time=1602393991"}],"group":"cf-nel","max_age":604800}'
36
+ Nel:
37
+ - '{"report_to":"cf-nel","max_age":604800}'
38
+ Strict-Transport-Security:
39
+ - max-age=31536000; includeSubDomains; preload
40
+ Server:
41
+ - cloudflare
42
+ Cf-Ray:
43
+ - 5e062aab9fac05dc-FRA
44
+ Alt-Svc:
45
+ - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400
46
+ body:
47
+ encoding: ASCII-8BIT
48
+ string: |-
49
+ [
50
+ {
51
+ "DOI": "10.1186",
52
+ "RA": "Crossref"
53
+ }
54
+ ]
55
+ http_version:
56
+ recorded_at: Sun, 11 Oct 2020 05:26:31 GMT
57
+ - request:
58
+ method: get
59
+ uri: https://api.crossref.org/works/10.1186/1471-2164-7-187/transform/application/vnd.crossref.unixsd+xml
60
+ body:
61
+ encoding: US-ASCII
62
+ string: ''
63
+ headers:
64
+ User-Agent:
65
+ - Mozilla/5.0 (compatible; Maremma/4.7.1; mailto:info@datacite.org)
66
+ Accept:
67
+ - text/xml
68
+ response:
69
+ status:
70
+ code: 200
71
+ message: OK
72
+ headers:
73
+ Link:
74
+ - <http://dx.doi.org/10.1186/1471-2164-7-187>; rel="canonical", <http://link.springer.com/content/pdf/10.1186/1471-2164-7-187.pdf>;
75
+ version="vor"; type="application/pdf"; rel="item", <http://link.springer.com/article/10.1186/1471-2164-7-187/fulltext.html>;
76
+ version="vor"; type="text/html"; rel="item", <http://link.springer.com/content/pdf/10.1186/1471-2164-7-187.pdf>;
77
+ version="vor"; type="application/pdf"; rel="item", <http://creativecommons.org/licenses/by/2.0>;
78
+ version="tdm"; rel="license"
79
+ Access-Control-Allow-Origin:
80
+ - "*"
81
+ Access-Control-Allow-Headers:
82
+ - X-Requested-With
83
+ Content-Length:
84
+ - '30740'
85
+ Server:
86
+ - http-kit
87
+ Date:
88
+ - Sun, 11 Oct 2020 05:26:32 GMT
89
+ X-Rate-Limit-Limit:
90
+ - '50'
91
+ X-Rate-Limit-Interval:
92
+ - 1s
93
+ Connection:
94
+ - close
95
+ body:
96
+ encoding: ASCII-8BIT
97
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<crossref_result xmlns=\"http://www.crossref.org/qrschema/3.0\"
98
+ version=\"3.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.crossref.org/qrschema/3.0
99
+ http://www.crossref.org/schemas/crossref_query_output3.0.xsd\">\r\n <query_result>\r\n
100
+ \ <head>\r\n <doi_batch_id>none</doi_batch_id>\r\n </head>\r\n <body>\r\n
101
+ \ <query status=\"resolved\">\r\n <doi type=\"journal_article\">10.1186/1471-2164-7-187</doi>\r\n
102
+ \ <crm-item name=\"publisher-name\" type=\"string\">Springer Science
103
+ and Business Media LLC</crm-item>\r\n <crm-item name=\"prefix-name\"
104
+ type=\"string\">Springer (Biomed Central Ltd.)</crm-item>\r\n <crm-item
105
+ name=\"member-id\" type=\"number\">297</crm-item>\r\n <crm-item name=\"citation-id\"
106
+ type=\"number\">22586616</crm-item>\r\n <crm-item name=\"journal-id\"
107
+ type=\"number\">5911</crm-item>\r\n <crm-item name=\"deposit-timestamp\"
108
+ type=\"number\">20200420160445553</crm-item>\r\n <crm-item name=\"owner-prefix\"
109
+ type=\"string\">10.1186</crm-item>\r\n <crm-item name=\"last-update\"
110
+ type=\"date\">2020-04-20T14:28:32Z</crm-item>\r\n <crm-item name=\"created\"
111
+ type=\"date\">2006-07-25T18:14:51Z</crm-item>\r\n <crm-item name=\"citedby-count\"
112
+ type=\"number\">136</crm-item>\r\n <crm-item name=\"relation\" type=\"doi\"
113
+ claim=\"isReviewOf\">10.3410/f.1044091.494000</crm-item>\r\n <crm-item
114
+ name=\"relation\" type=\"doi\" claim=\"isReviewOf\">10.3410/f.1044091.496329</crm-item>\r\n
115
+ \ <doi_record>\r\n <crossref xmlns=\"http://www.crossref.org/xschema/1.1\"
116
+ xsi:schemaLocation=\"http://www.crossref.org/xschema/1.1 http://doi.crossref.org/schemas/unixref1.1.xsd\">\r\n
117
+ \ <journal>\r\n <journal_metadata language=\"en\">\r\n
118
+ \ <full_title>BMC Genomics</full_title>\r\n <abbrev_title>BMC
119
+ Genomics</abbrev_title>\r\n <issn media_type=\"electronic\">1471-2164</issn>\r\n
120
+ \ </journal_metadata>\r\n <journal_issue>\r\n <publication_date
121
+ media_type=\"print\">\r\n <month>12</month>\r\n <year>2006</year>\r\n
122
+ \ </publication_date>\r\n <journal_volume>\r\n
123
+ \ <volume>7</volume>\r\n </journal_volume>\r\n
124
+ \ <issue>1</issue>\r\n </journal_issue>\r\n <journal_article
125
+ publication_type=\"full_text\">\r\n <titles>\r\n <title>Finding
126
+ function: evaluation methods for functional genomic data</title>\r\n </titles>\r\n
127
+ \ <contributors>\r\n <person_name contributor_role=\"author\"
128
+ sequence=\"first\">\r\n <given_name>Chad L</given_name>\r\n
129
+ \ <surname>Myers</surname>\r\n </person_name>\r\n
130
+ \ <person_name contributor_role=\"author\" sequence=\"additional\">\r\n
131
+ \ <given_name>Daniel R</given_name>\r\n <surname>Barrett</surname>\r\n
132
+ \ </person_name>\r\n <person_name contributor_role=\"author\"
133
+ sequence=\"additional\">\r\n <given_name>Matthew A</given_name>\r\n
134
+ \ <surname>Hibbs</surname>\r\n </person_name>\r\n
135
+ \ <person_name contributor_role=\"author\" sequence=\"additional\">\r\n
136
+ \ <given_name>Curtis</given_name>\r\n <surname>Huttenhower</surname>\r\n
137
+ \ </person_name>\r\n <person_name contributor_role=\"author\"
138
+ sequence=\"additional\">\r\n <given_name>Olga G</given_name>\r\n
139
+ \ <surname>Troyanskaya</surname>\r\n </person_name>\r\n
140
+ \ </contributors>\r\n <publication_date media_type=\"online\">\r\n
141
+ \ <month>7</month>\r\n <day>25</day>\r\n
142
+ \ <year>2006</year>\r\n </publication_date>\r\n
143
+ \ <publication_date media_type=\"print\">\r\n <month>12</month>\r\n
144
+ \ <year>2006</year>\r\n </publication_date>\r\n
145
+ \ <publisher_item>\r\n <item_number item_number_type=\"article-number\">187</item_number>\r\n
146
+ \ <identifier id_type=\"pii\">570</identifier>\r\n </publisher_item>\r\n
147
+ \ <ai:program xmlns:ai=\"http://www.crossref.org/AccessIndicators.xsd\"
148
+ name=\"AccessIndicators\">\r\n <ai:license_ref applies_to=\"tdm\">http://creativecommons.org/licenses/by/2.0</ai:license_ref>\r\n
149
+ \ </ai:program>\r\n <doi_data>\r\n <doi>10.1186/1471-2164-7-187</doi>\r\n
150
+ \ <timestamp>20200420160445553</timestamp>\r\n <resource
151
+ content_version=\"vor\">https://bmcgenomics.biomedcentral.com/articles/10.1186/1471-2164-7-187</resource>\r\n
152
+ \ <collection property=\"crawler-based\">\r\n <item
153
+ crawler=\"iParadigms\">\r\n <resource mime_type=\"application/pdf\">http://link.springer.com/content/pdf/10.1186/1471-2164-7-187.pdf</resource>\r\n
154
+ \ </item>\r\n </collection>\r\n <collection
155
+ property=\"text-mining\">\r\n <item>\r\n <resource
156
+ mime_type=\"application/pdf\">http://link.springer.com/content/pdf/10.1186/1471-2164-7-187.pdf</resource>\r\n
157
+ \ </item>\r\n <item>\r\n <resource
158
+ mime_type=\"text/html\">http://link.springer.com/article/10.1186/1471-2164-7-187/fulltext.html</resource>\r\n
159
+ \ </item>\r\n </collection>\r\n </doi_data>\r\n
160
+ \ <citation_list>\r\n <citation key=\"570_CR1\">\r\n
161
+ \ <author>Z Barutcuoglu</author>\r\n <cYear>2006</cYear>\r\n
162
+ \ <volume_title>Bioinformatics</volume_title>\r\n <unstructured_citation>Barutcuoglu
163
+ Z, Schapire RE, Troyanskaya OG: Hierarchical multi-label prediction of gene
164
+ function. Bioinformatics. 2006</unstructured_citation>\r\n </citation>\r\n
165
+ \ <citation key=\"570_CR2\">\r\n <journal_title>Bioinformatics</journal_title>\r\n
166
+ \ <author>A Clare</author>\r\n <volume>19</volume>\r\n
167
+ \ <issue>Suppl 2</issue>\r\n <first_page>II42</first_page>\r\n
168
+ \ <cYear>2003</cYear>\r\n <doi>10.1093/bioinformatics/btg1058</doi>\r\n
169
+ \ <unstructured_citation>Clare A, King RD: Predicting gene
170
+ function in Saccharomyces cerevisiae. Bioinformatics. 2003, 19 (Suppl 2):
171
+ II42-II49.</unstructured_citation>\r\n </citation>\r\n <citation
172
+ key=\"570_CR3\">\r\n <author>GR Lanckriet</author>\r\n
173
+ \ <first_page>300</first_page>\r\n <cYear>2004</cYear>\r\n
174
+ \ <volume_title>Pac Symp Biocomput</volume_title>\r\n <unstructured_citation>Lanckriet
175
+ GR, Deng M, Cristianini N, Jordan MI, Noble WS: Kernel-based data fusion and
176
+ its application to protein function prediction in yeast. Pac Symp Biocomput.
177
+ 2004, 300-311.</unstructured_citation>\r\n </citation>\r\n
178
+ \ <citation key=\"570_CR4\">\r\n <journal_title>J
179
+ Comput Biol</journal_title>\r\n <author>P Pavlidis</author>\r\n
180
+ \ <volume>9</volume>\r\n <issue>2</issue>\r\n
181
+ \ <first_page>401</first_page>\r\n <cYear>2002</cYear>\r\n
182
+ \ <doi>10.1089/10665270252935539</doi>\r\n <unstructured_citation>Pavlidis
183
+ P, Weston J, Cai J, Noble WS: Learning gene functional classifications from
184
+ multiple data types. J Comput Biol. 2002, 9 (2): 401-411. 10.1089/10665270252935539.</unstructured_citation>\r\n
185
+ \ </citation>\r\n <citation key=\"570_CR5\">\r\n
186
+ \ <journal_title>Bioinformatics</journal_title>\r\n <author>A
187
+ Ben-Hur</author>\r\n <volume>21</volume>\r\n <issue>Suppl
188
+ 1</issue>\r\n <first_page>i38</first_page>\r\n <cYear>2005</cYear>\r\n
189
+ \ <doi>10.1093/bioinformatics/bti1016</doi>\r\n <unstructured_citation>Ben-Hur
190
+ A, Noble WS: Kernel methods for predicting protein-protein interactions. Bioinformatics.
191
+ 2005, 21 (Suppl 1): i38-i46. 10.1093/bioinformatics/bti1016.</unstructured_citation>\r\n
192
+ \ </citation>\r\n <citation key=\"570_CR6\">\r\n
193
+ \ <journal_title>Science</journal_title>\r\n <author>R
194
+ Jansen</author>\r\n <volume>302</volume>\r\n <issue>5644</issue>\r\n
195
+ \ <first_page>449</first_page>\r\n <cYear>2003</cYear>\r\n
196
+ \ <doi>10.1126/science.1087361</doi>\r\n <unstructured_citation>Jansen
197
+ R, Yu H, Greenbaum D, Kluger Y, Krogan NJ, Chung S, Emili A, Snyder M, Greenblatt
198
+ JF, Gerstein M: A Bayesian networks approach for predicting protein-protein
199
+ interactions from genomic data. Science. 2003, 302 (5644): 449-453. 10.1126/science.1087361.</unstructured_citation>\r\n
200
+ \ </citation>\r\n <citation key=\"570_CR7\">\r\n
201
+ \ <journal_title>Science</journal_title>\r\n <author>I
202
+ Lee</author>\r\n <volume>306</volume>\r\n <issue>5701</issue>\r\n
203
+ \ <first_page>1555</first_page>\r\n <cYear>2004</cYear>\r\n
204
+ \ <doi>10.1126/science.1099511</doi>\r\n <unstructured_citation>Lee
205
+ I, Date SV, Adai AT, Marcotte EM: A probabilistic functional network of yeast
206
+ genes. Science. 2004, 306 (5701): 1555-1558. 10.1126/science.1099511.</unstructured_citation>\r\n
207
+ \ </citation>\r\n <citation key=\"570_CR8\">\r\n
208
+ \ <journal_title>BMC Bioinformatics</journal_title>\r\n
209
+ \ <author>N Lin</author>\r\n <volume>5</volume>\r\n
210
+ \ <issue>1</issue>\r\n <first_page>154</first_page>\r\n
211
+ \ <cYear>2004</cYear>\r\n <doi>10.1186/1471-2105-5-154</doi>\r\n
212
+ \ <unstructured_citation>Lin N, Wu B, Jansen R, Gerstein
213
+ M, Zhao H: Information assessment on predicting protein-protein interactions.
214
+ BMC Bioinformatics. 2004, 5 (1): 154-10.1186/1471-2105-5-154.</unstructured_citation>\r\n
215
+ \ </citation>\r\n <citation key=\"570_CR9\">\r\n
216
+ \ <journal_title>Proc Natl Acad Sci USA</journal_title>\r\n
217
+ \ <author>OG Troyanskaya</author>\r\n <volume>100</volume>\r\n
218
+ \ <issue>14</issue>\r\n <first_page>8348</first_page>\r\n
219
+ \ <cYear>2003</cYear>\r\n <doi>10.1073/pnas.0832373100</doi>\r\n
220
+ \ <unstructured_citation>Troyanskaya OG, Dolinski K, Owen
221
+ AB, Altman RB, Botstein D: A Bayesian framework for combining heterogeneous
222
+ data sources for gene function prediction (in Saccharomyces cerevisiae). Proc
223
+ Natl Acad Sci USA. 2003, 100 (14): 8348-8353. 10.1073/pnas.0832373100.</unstructured_citation>\r\n
224
+ \ </citation>\r\n <citation key=\"570_CR10\">\r\n
225
+ \ <journal_title>Trends Genet</journal_title>\r\n <author>SL
226
+ Wong</author>\r\n <volume>21</volume>\r\n <issue>8</issue>\r\n
227
+ \ <first_page>424</first_page>\r\n <cYear>2005</cYear>\r\n
228
+ \ <doi>10.1016/j.tig.2005.06.006</doi>\r\n <unstructured_citation>Wong
229
+ SL, Zhang LV, Roth FP: Discovering functional relationships: biochemistry
230
+ versus genetics. Trends Genet. 2005, 21 (8): 424-427. 10.1016/j.tig.2005.06.006.</unstructured_citation>\r\n
231
+ \ </citation>\r\n <citation key=\"570_CR11\">\r\n
232
+ \ <journal_title>Nucleic Acids Res</journal_title>\r\n <author>M
233
+ Kanehisa</author>\r\n <volume>28</volume>\r\n <issue>1</issue>\r\n
234
+ \ <first_page>27</first_page>\r\n <cYear>2000</cYear>\r\n
235
+ \ <doi>10.1093/nar/28.1.27</doi>\r\n <unstructured_citation>Kanehisa
236
+ M, Goto S: KEGG: kyoto encyclopedia of genes and genomes. Nucleic Acids Res.
237
+ 2000, 28 (1): 27-30. 10.1093/nar/28.1.27.</unstructured_citation>\r\n </citation>\r\n
238
+ \ <citation key=\"570_CR12\">\r\n <journal_title>Bioinformatics</journal_title>\r\n
239
+ \ <author>Y Yamanishi</author>\r\n <volume>20</volume>\r\n
240
+ \ <issue>Suppl 1</issue>\r\n <first_page>I363</first_page>\r\n
241
+ \ <cYear>2004</cYear>\r\n <doi>10.1093/bioinformatics/bth910</doi>\r\n
242
+ \ <unstructured_citation>Yamanishi Y, Vert JP, Kanehisa
243
+ M: Protein network inference from multiple genomic data: a supervised approach.
244
+ Bioinformatics. 2004, 20 (Suppl 1): I363-I370. 10.1093/bioinformatics/bth910.</unstructured_citation>\r\n
245
+ \ </citation>\r\n <citation key=\"570_CR13\">\r\n
246
+ \ <unstructured_citation>GRIFn Home Page. [\r\n http://function.princeton.edu/GRIFn\r\n
247
+ \ \r\n ]</unstructured_citation>\r\n </citation>\r\n
248
+ \ <citation key=\"570_CR14\">\r\n <journal_title>Nature</journal_title>\r\n
249
+ \ <author>AC Gavin</author>\r\n <volume>415</volume>\r\n
250
+ \ <issue>6868</issue>\r\n <first_page>141</first_page>\r\n
251
+ \ <cYear>2002</cYear>\r\n <doi>10.1038/415141a</doi>\r\n
252
+ \ <unstructured_citation>Gavin AC, Bosche M, Krause R, Grandi
253
+ P, Marzioch M, Bauer A, Schultz J, Rick JM, Michon AM, Cruciat CM: Functional
254
+ organization of the yeast proteome by systematic analysis of protein complexes.
255
+ Nature. 2002, 415 (6868): 141-147. 10.1038/415141a.</unstructured_citation>\r\n
256
+ \ </citation>\r\n <citation key=\"570_CR15\">\r\n
257
+ \ <journal_title>J Mol Biol</journal_title>\r\n <author>E
258
+ Sprinzak</author>\r\n <volume>327</volume>\r\n <issue>5</issue>\r\n
259
+ \ <first_page>919</first_page>\r\n <cYear>2003</cYear>\r\n
260
+ \ <doi>10.1016/S0022-2836(03)00239-0</doi>\r\n <unstructured_citation>Sprinzak
261
+ E, Sattath S, Margalit H: How reliable are experimental protein-protein interaction
262
+ data?. J Mol Biol. 2003, 327 (5): 919-923. 10.1016/S0022-2836(03)00239-0.</unstructured_citation>\r\n
263
+ \ </citation>\r\n <citation key=\"570_CR16\">\r\n
264
+ \ <journal_title>Nature</journal_title>\r\n <author>P
265
+ Uetz</author>\r\n <volume>403</volume>\r\n <issue>6770</issue>\r\n
266
+ \ <first_page>623</first_page>\r\n <cYear>2000</cYear>\r\n
267
+ \ <doi>10.1038/35001009</doi>\r\n <unstructured_citation>Uetz
268
+ P, Giot L, Cagney G, Mansfield TA, Judson RS, Knight JR, Lockshon D, Narayan
269
+ V, Srinivasan M, Pochart P: A comprehensive analysis of protein-protein interactions
270
+ in Saccharomyces cerevisiae. Nature. 2000, 403 (6770): 623-627. 10.1038/35001009.</unstructured_citation>\r\n
271
+ \ </citation>\r\n <citation key=\"570_CR17\">\r\n
272
+ \ <journal_title>Nature</journal_title>\r\n <author>C
273
+ von Mering</author>\r\n <volume>417</volume>\r\n <issue>6887</issue>\r\n
274
+ \ <first_page>399</first_page>\r\n <cYear>2002</cYear>\r\n
275
+ \ <doi>10.1038/nature750</doi>\r\n <unstructured_citation>von
276
+ Mering C, Krause R, Snel B, Cornell M, Oliver SG, Fields S, Bork P: Comparative
277
+ assessment of large-scale data sets of protein-protein interactions. Nature.
278
+ 2002, 417 (6887): 399-403. 10.1038/nature750.</unstructured_citation>\r\n
279
+ \ </citation>\r\n <citation key=\"570_CR18\">\r\n
280
+ \ <journal_title>Bioinformatics</journal_title>\r\n <author>SG
281
+ Lee</author>\r\n <volume>20</volume>\r\n <issue>3</issue>\r\n
282
+ \ <first_page>381</first_page>\r\n <cYear>2004</cYear>\r\n
283
+ \ <doi>10.1093/bioinformatics/btg420</doi>\r\n <unstructured_citation>Lee
284
+ SG, Hur JU, Kim YS: A graph-theoretic modeling on GO space for biological
285
+ interpretation of gene clusters. Bioinformatics. 2004, 20 (3): 381-388. 10.1093/bioinformatics/btg420.</unstructured_citation>\r\n
286
+ \ </citation>\r\n <citation key=\"570_CR19\">\r\n
287
+ \ <journal_title>Nat Genet</journal_title>\r\n <author>M
288
+ Ashburner</author>\r\n <volume>25</volume>\r\n <issue>1</issue>\r\n
289
+ \ <first_page>25</first_page>\r\n <cYear>2000</cYear>\r\n
290
+ \ <doi>10.1038/75556</doi>\r\n <unstructured_citation>Ashburner
291
+ M, Ball CA, Blake JA, Botstein D, Butler H, Cherry JM, Davis AP, Dolinski
292
+ K, Dwight SS, Eppig JT: Gene ontology: tool for the unification of biology.
293
+ The Gene Ontology Consortium. Nat Genet. 2000, 25 (1): 25-29. 10.1038/75556.</unstructured_citation>\r\n
294
+ \ </citation>\r\n <citation key=\"570_CR20\">\r\n
295
+ \ <journal_title>Nucleic Acids Res</journal_title>\r\n <author>CA
296
+ Ball</author>\r\n <volume>28</volume>\r\n <issue>1</issue>\r\n
297
+ \ <first_page>77</first_page>\r\n <cYear>2000</cYear>\r\n
298
+ \ <doi>10.1093/nar/28.1.77</doi>\r\n <unstructured_citation>Ball
299
+ CA, Dolinski K, Dwight SS, Harris MA, Issel-Tarver L, Kasarskis A, Scafe CR,
300
+ Sherlock G, Binkley G, Jin H: Integrating functional genomic information into
301
+ the Saccharomyces genome database. Nucleic Acids Res. 2000, 28 (1): 77-80.
302
+ 10.1093/nar/28.1.77.</unstructured_citation>\r\n </citation>\r\n
303
+ \ <citation key=\"570_CR21\">\r\n <journal_title>Nucleic
304
+ Acids Res</journal_title>\r\n <author>HW Mewes</author>\r\n
305
+ \ <volume>30</volume>\r\n <issue>1</issue>\r\n
306
+ \ <first_page>31</first_page>\r\n <cYear>2002</cYear>\r\n
307
+ \ <doi>10.1093/nar/30.1.31</doi>\r\n <unstructured_citation>Mewes
308
+ HW, Frishman D, Guldener U, Mannhaupt G, Mayer K, Mokrejs M, Morgenstern B,
309
+ Munsterkotter M, Rudd S, Weil B: MIPS: a database for genomes and protein
310
+ sequences. Nucleic Acids Res. 2002, 30 (1): 31-34. 10.1093/nar/30.1.31.</unstructured_citation>\r\n
311
+ \ </citation>\r\n <citation key=\"570_CR22\">\r\n
312
+ \ <journal_title>Nucleic Acids Res</journal_title>\r\n <author>MC
313
+ Costanzo</author>\r\n <volume>29</volume>\r\n <issue>1</issue>\r\n
314
+ \ <first_page>75</first_page>\r\n <cYear>2001</cYear>\r\n
315
+ \ <doi>10.1093/nar/29.1.75</doi>\r\n <unstructured_citation>Costanzo
316
+ MC, Crawford ME, Hirschman JE, Kranz JE, Olsen P, Robertson LS, Skrzypek MS,
317
+ Braun BR, Hopkins KL, Kondu P: YPD, PombePD and WormPD: model organism volumes
318
+ of the BioKnowledge library, an integrated resource for protein information.
319
+ Nucleic Acids Res. 2001, 29 (1): 75-79. 10.1093/nar/29.1.75.</unstructured_citation>\r\n
320
+ \ </citation>\r\n <citation key=\"570_CR23\">\r\n
321
+ \ <journal_title>Curr Opin Microbiol</journal_title>\r\n
322
+ \ <author>R Jansen</author>\r\n <volume>7</volume>\r\n
323
+ \ <issue>5</issue>\r\n <first_page>535</first_page>\r\n
324
+ \ <cYear>2004</cYear>\r\n <doi>10.1016/j.mib.2004.08.012</doi>\r\n
325
+ \ <unstructured_citation>Jansen R, Gerstein M: Analyzing
326
+ protein function on a genomic scale: the importance of gold-standard positives
327
+ and negatives for network prediction. Curr Opin Microbiol. 2004, 7 (5): 535-545.
328
+ 10.1016/j.mib.2004.08.012.</unstructured_citation>\r\n </citation>\r\n
329
+ \ <citation key=\"570_CR24\">\r\n <journal_title>BMC
330
+ Bioinformatics</journal_title>\r\n <author>A Patil</author>\r\n
331
+ \ <volume>6</volume>\r\n <issue>1</issue>\r\n
332
+ \ <first_page>100</first_page>\r\n <cYear>2005</cYear>\r\n
333
+ \ <doi>10.1186/1471-2105-6-100</doi>\r\n <unstructured_citation>Patil
334
+ A, Nakamura H: Filtering high-throughput protein-protein interaction data
335
+ using a combination of genomic features. BMC Bioinformatics. 2005, 6 (1):
336
+ 100-10.1186/1471-2105-6-100.</unstructured_citation>\r\n </citation>\r\n
337
+ \ <citation key=\"570_CR25\">\r\n <journal_title>Nature</journal_title>\r\n
338
+ \ <author>WK Huh</author>\r\n <volume>425</volume>\r\n
339
+ \ <issue>6959</issue>\r\n <first_page>686</first_page>\r\n
340
+ \ <cYear>2003</cYear>\r\n <doi>10.1038/nature02026</doi>\r\n
341
+ \ <unstructured_citation>Huh WK, Falvo JV, Gerke LC, Carroll
342
+ AS, Howson RW, Weissman JS, O'Shea EK: Global analysis of protein localization
343
+ in budding yeast. Nature. 2003, 425 (6959): 686-691. 10.1038/nature02026.</unstructured_citation>\r\n
344
+ \ </citation>\r\n <citation key=\"570_CR26\">\r\n
345
+ \ <journal_title>Mol Cell Proteomics</journal_title>\r\n
346
+ \ <author>CM Deane</author>\r\n <volume>1</volume>\r\n
347
+ \ <issue>5</issue>\r\n <first_page>349</first_page>\r\n
348
+ \ <cYear>2002</cYear>\r\n <doi>10.1074/mcp.M100037-MCP200</doi>\r\n
349
+ \ <unstructured_citation>Deane CM, Salwinski L, Xenarios
350
+ I, Eisenberg D: Protein interactions: two methods for assessment of the reliability
351
+ of high throughput observations. Mol Cell Proteomics. 2002, 1 (5): 349-356.
352
+ 10.1074/mcp.M100037-MCP200.</unstructured_citation>\r\n </citation>\r\n
353
+ \ <citation key=\"570_CR27\">\r\n <author>Y
354
+ Qi</author>\r\n <first_page>531</first_page>\r\n <cYear>2005</cYear>\r\n
355
+ \ <volume_title>Pac Symp Biocomput</volume_title>\r\n <unstructured_citation>Qi
356
+ Y, Klein-Seetharaman J, Bar-Joseph Z: Random forest similarity for protein-protein
357
+ interaction prediction from multiple sources. Pac Symp Biocomput. 2005, 531-542.</unstructured_citation>\r\n
358
+ \ </citation>\r\n <citation key=\"570_CR28\">\r\n
359
+ \ <journal_title>Curr Opin Struct Biol</journal_title>\r\n
360
+ \ <author>P Bork</author>\r\n <volume>14</volume>\r\n
361
+ \ <issue>3</issue>\r\n <first_page>292</first_page>\r\n
362
+ \ <cYear>2004</cYear>\r\n <doi>10.1016/j.sbi.2004.05.003</doi>\r\n
363
+ \ <unstructured_citation>Bork P, Jensen LJ, von Mering C,
364
+ Ramani AK, Lee I, Marcotte EM: Protein interaction networks from yeast to
365
+ human. Curr Opin Struct Biol. 2004, 14 (3): 292-299. 10.1016/j.sbi.2004.05.003.</unstructured_citation>\r\n
366
+ \ </citation>\r\n <citation key=\"570_CR29\">\r\n
367
+ \ <journal_title>Nucleic Acids Res</journal_title>\r\n <author>I
368
+ Xenarios</author>\r\n <volume>28</volume>\r\n <issue>1</issue>\r\n
369
+ \ <first_page>289</first_page>\r\n <cYear>2000</cYear>\r\n
370
+ \ <doi>10.1093/nar/28.1.289</doi>\r\n <unstructured_citation>Xenarios
371
+ I, Rice DW, Salwinski L, Baron MK, Marcotte EM, Eisenberg D: DIP: the database
372
+ of interacting proteins. Nucleic Acids Res. 2000, 28 (1): 289-291. 10.1093/nar/28.1.289.</unstructured_citation>\r\n
373
+ \ </citation>\r\n <citation key=\"570_CR30\">\r\n
374
+ \ <journal_title>Genome Biol</journal_title>\r\n <author>BJ
375
+ Breitkreutz</author>\r\n <volume>4</volume>\r\n <issue>3</issue>\r\n
376
+ \ <first_page>R23</first_page>\r\n <cYear>2003</cYear>\r\n
377
+ \ <doi>10.1186/gb-2003-4-3-r23</doi>\r\n <unstructured_citation>Breitkreutz
378
+ BJ, Stark C, Tyers M: The GRID: the General Repository for Interaction Datasets.
379
+ Genome Biol. 2003, 4 (3): R23-10.1186/gb-2003-4-3-r23.</unstructured_citation>\r\n
380
+ \ </citation>\r\n <citation key=\"570_CR31\">\r\n
381
+ \ <doi provider=\"crossref\">10.1093/nar/gki051</doi>\r\n
382
+ \ <unstructured_citation>Alfarano C, Andrade CE, Anthony
383
+ K, Bahroos N, Bajec M, Bantoft K, Betel D, Bobechko B, Boutilier K, Burgess
384
+ E: The Biomolecular Interaction Network Database and related tools 2005 update.
385
+ Nucleic Acids Res. 2005, D418-424. 33 Database</unstructured_citation>\r\n
386
+ \ </citation>\r\n <citation key=\"570_CR32\">\r\n
387
+ \ <journal_title>Bioinformatics</journal_title>\r\n <author>PW
388
+ Lord</author>\r\n <volume>19</volume>\r\n <issue>10</issue>\r\n
389
+ \ <first_page>1275</first_page>\r\n <cYear>2003</cYear>\r\n
390
+ \ <doi>10.1093/bioinformatics/btg153</doi>\r\n <unstructured_citation>Lord
391
+ PW, Stevens RD, Brass A, Goble CA: Investigating semantic similarity measures
392
+ across the Gene Ontology: the relationship between sequence and annotation.
393
+ Bioinformatics. 2003, 19 (10): 1275-1283. 10.1093/bioinformatics/btg153.</unstructured_citation>\r\n
394
+ \ </citation>\r\n <citation key=\"570_CR33\">\r\n
395
+ \ <journal_title>BMC Bioinformatics</journal_title>\r\n
396
+ \ <author>A Ben-Hur</author>\r\n <volume>7</volume>\r\n
397
+ \ <issue>Suppl61</issue>\r\n <first_page>S2</first_page>\r\n
398
+ \ <cYear>2005</cYear>\r\n <unstructured_citation>Ben-Hur
399
+ A, Noble WS: Choosing negative examples for the prediction of protein-protein
400
+ interactions. BMC Bioinformatics. 2005, 7 (Suppl61): S2-</unstructured_citation>\r\n
401
+ \ </citation>\r\n <citation key=\"570_CR34\">\r\n
402
+ \ <journal_title>Proc Natl Acad Sci U S A</journal_title>\r\n
403
+ \ <author>T Ito</author>\r\n <volume>98</volume>\r\n
404
+ \ <issue>8</issue>\r\n <first_page>4569</first_page>\r\n
405
+ \ <cYear>2001</cYear>\r\n <doi>10.1073/pnas.061034498</doi>\r\n
406
+ \ <unstructured_citation>Ito T, Chiba T, Ozawa R, Yoshida
407
+ M, Hattori M, Sakaki Y: A comprehensive two-hybrid analysis to explore the
408
+ yeast protein interactome. Proc Natl Acad Sci U S A. 2001, 98 (8): 4569-4574.
409
+ 10.1073/pnas.061034498.</unstructured_citation>\r\n </citation>\r\n
410
+ \ <citation key=\"570_CR35\">\r\n <journal_title>Science</journal_title>\r\n
411
+ \ <author>AH Tong</author>\r\n <volume>295</volume>\r\n
412
+ \ <issue>5553</issue>\r\n <first_page>321</first_page>\r\n
413
+ \ <cYear>2002</cYear>\r\n <doi>10.1126/science.1064987</doi>\r\n
414
+ \ <unstructured_citation>Tong AH, Drees B, Nardelli G, Bader
415
+ GD, Brannetti B, Castagnoli L, Evangelista M, Ferracuti S, Nelson B, Paoluzi
416
+ S: A combined experimental and computational strategy to define protein interaction
417
+ networks for peptide recognition modules. Science. 2002, 295 (5553): 321-324.
418
+ 10.1126/science.1064987.</unstructured_citation>\r\n </citation>\r\n
419
+ \ <citation key=\"570_CR36\">\r\n <journal_title>Nature</journal_title>\r\n
420
+ \ <author>Y Ho</author>\r\n <volume>415</volume>\r\n
421
+ \ <issue>6868</issue>\r\n <first_page>180</first_page>\r\n
422
+ \ <cYear>2002</cYear>\r\n <doi>10.1038/415180a</doi>\r\n
423
+ \ <unstructured_citation>Ho Y, Gruhler A, Heilbut A, Bader
424
+ GD, Moore L, Adams SL, Millar A, Taylor P, Bennett K, Boutilier K: Systematic
425
+ identification of protein complexes in Saccharomyces cerevisiae by mass spectrometry.
426
+ Nature. 2002, 415 (6868): 180-183. 10.1038/415180a.</unstructured_citation>\r\n
427
+ \ </citation>\r\n <citation key=\"570_CR37\">\r\n
428
+ \ <journal_title>Mol Biol Cell</journal_title>\r\n <author>AP
429
+ Gasch</author>\r\n <volume>12</volume>\r\n <issue>10</issue>\r\n
430
+ \ <first_page>2987</first_page>\r\n <cYear>2001</cYear>\r\n
431
+ \ <doi>10.1091/mbc.12.10.2987</doi>\r\n <unstructured_citation>Gasch
432
+ AP, Huang M, Metzner S, Botstein D, Elledge SJ, Brown PO: Genomic expression
433
+ responses to DNA-damaging agents and the regulatory role of the yeast ATR
434
+ homolog Mec1p. Mol Biol Cell. 2001, 12 (10): 2987-3003.</unstructured_citation>\r\n
435
+ \ </citation>\r\n <citation key=\"570_CR38\">\r\n
436
+ \ <journal_title>Mol Biol Cell</journal_title>\r\n <author>PT
437
+ Spellman</author>\r\n <volume>9</volume>\r\n <issue>12</issue>\r\n
438
+ \ <first_page>3273</first_page>\r\n <cYear>1998</cYear>\r\n
439
+ \ <doi>10.1091/mbc.9.12.3273</doi>\r\n <unstructured_citation>Spellman
440
+ PT, Sherlock G, Zhang MQ, Iyer VR, Anders K, Eisen MB, Brown PO, Botstein
441
+ D, Futcher B: Comprehensive identification of cell cycle-regulated genes of
442
+ the yeast Saccharomyces cerevisiae by microarray hybridization. Mol Biol Cell.
443
+ 1998, 9 (12): 3273-3297.</unstructured_citation>\r\n </citation>\r\n
444
+ \ </citation_list>\r\n </journal_article>\r\n </journal>\r\n
445
+ \ </crossref>\r\n </doi_record>\r\n </query>\r\n </body>\r\n
446
+ \ </query_result>\r\n</crossref_result>"
447
+ http_version:
448
+ recorded_at: Sun, 11 Oct 2020 05:26:32 GMT
449
+ recorded_with: VCR 3.0.3
@@ -333,7 +333,7 @@ describe Bolognese::Metadata, vcr: true do
333
333
  expect(subject.url).to eq("https://dx.plos.org/10.1371/journal.pmed.0030277.g001")
334
334
  expect(subject.types).to eq("bibtex"=>"misc", "citeproc"=>"article-journal", "resourceType"=>"SaComponent", "resourceTypeGeneral"=>"Text", "ris"=>"JOUR", "schemaOrg"=>"ScholarlyArticle")
335
335
  expect(subject.creators).to eq([{"name"=>":(unav)", "nameType"=>"Organizational"}])
336
- expect(subject.titles).to eq([{"title"=>":{unav)"}])
336
+ expect(subject.titles).to eq([{"title"=>":(unav)"}])
337
337
  expect(subject.descriptions).to be_empty
338
338
  expect(subject.dates).to eq([{"date"=>"2015-10-20", "dateType"=>"Issued"}, {"date"=>"2018-10-19T17:13:42Z", "dateType"=>"Updated"}])
339
339
  expect(subject.publication_year).to eq("2015")
@@ -555,6 +555,41 @@ describe Bolognese::Metadata, vcr: true do
555
555
  expect(subject.date_registered).to be_nil
556
556
  end
557
557
 
558
+ it "multiple titles with missing" do
559
+ input = "https://doi.org/10.1186/1471-2164-7-187"
560
+ subject = Bolognese::Metadata.new(input: input)
561
+ expect(subject.valid?).to be true
562
+ expect(subject.id).to eq("https://doi.org/10.1186/1471-2164-7-187")
563
+ expect(subject.url).to eq("https://bmcgenomics.biomedcentral.com/articles/10.1186/1471-2164-7-187")
564
+ expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"article-journal", "resourceType"=>"JournalArticle", "resourceTypeGeneral"=>"Text", "ris"=>"JOUR", "schemaOrg"=>"ScholarlyArticle")
565
+ expect(subject.creators).to eq([{"familyName"=>"Myers",
566
+ "givenName"=>"Chad L",
567
+ "name"=>"Myers, Chad L",
568
+ "nameType"=>"Personal"},
569
+ {"familyName"=>"Barrett",
570
+ "givenName"=>"Daniel R",
571
+ "name"=>"Barrett, Daniel R",
572
+ "nameType"=>"Personal"},
573
+ {"familyName"=>"Hibbs",
574
+ "givenName"=>"Matthew A",
575
+ "name"=>"Hibbs, Matthew A",
576
+ "nameType"=>"Personal"},
577
+ {"familyName"=>"Huttenhower",
578
+ "givenName"=>"Curtis",
579
+ "name"=>"Huttenhower, Curtis",
580
+ "nameType"=>"Personal"},
581
+ {"familyName"=>"Troyanskaya",
582
+ "givenName"=>"Olga G",
583
+ "name"=>"Troyanskaya, Olga G",
584
+ "nameType"=>"Personal"}])
585
+ expect(subject.titles).to eq([{"title"=>"Finding function: evaluation methods for functional genomic data"}])
586
+ expect(subject.dates).to include({"date"=>"2006-07-25", "dateType"=>"Issued"})
587
+ expect(subject.publication_year).to eq("2006")
588
+ expect(subject.publisher).to eq("Springer Science and Business Media LLC")
589
+ expect(subject.agency).to eq("crossref")
590
+ expect(subject.date_registered).to eq("2020-04-20T16:04:45Z")
591
+ end
592
+
558
593
  it "markup" do
559
594
  input = "https://doi.org/10.1098/rspb.2017.0132"
560
595
  subject = Bolognese::Metadata.new(input: input)
@@ -716,7 +751,7 @@ describe Bolognese::Metadata, vcr: true do
716
751
  expect(subject.url).to eq("http://ectrx.org/forms/ectrxcontentshow.php?doi_id=10.6002/ect.2015.0371")
717
752
  expect(subject.types).to eq("bibtex"=>"misc", "citeproc"=>"article-journal", "resourceType"=>"JournalIssue", "resourceTypeGeneral"=>"Text", "ris"=>"JOUR", "schemaOrg"=>"PublicationIssue")
718
753
  expect(subject.creators).to eq([{"name"=>":(unav)", "nameType"=>"Organizational"}])
719
- expect(subject.titles).to eq([{"title"=>":{unav)"}])
754
+ expect(subject.titles).to eq([{"title"=>":(unav)"}])
720
755
  expect(subject.dates).to eq([{"date"=>"2018-10", "dateType"=>"Issued"}, {"date"=>"2018-10-03T12:09:12Z", "dateType"=>"Updated"}])
721
756
  expect(subject.publication_year).to eq("2018")
722
757
  expect(subject.publisher).to eq("Baskent University")
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.8.9
4
+ version: 1.8.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-08-22 00:00:00.000000000 Z
11
+ date: 2020-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maremma
@@ -920,6 +920,7 @@ files:
920
920
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/markup.yml
921
921
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/missing_creator.yml
922
922
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/multiple_titles.yml
923
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/multiple_titles_with_missing.yml
923
924
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/not_found_error.yml
924
925
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/peer_review.yml
925
926
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/posted_content.yml