commonmeta-ruby 3.2.12 → 3.2.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,7 +56,7 @@ describe Commonmeta::Metadata, vcr: true do
56
56
  expect(ris[9]).to eq('DO - 10.3205/zma001102')
57
57
  expect(ris[10]).to eq('UR - http://www.egms.de/en/journals/zma/2017-34/zma001102.shtml')
58
58
  expect(ris[11]).to start_with('AB - Objective: Competence orientation')
59
- expect(ris[12]).to eq('KW - medical competence')
59
+ expect(ris[12]).to eq('KW - Medical competence')
60
60
  expect(ris[22]).to eq('PY - 2017')
61
61
  expect(ris[23]).to eq('PB - German Medical Science GMS Publishing House')
62
62
  expect(ris[24]).to eq('LA - en')
@@ -94,8 +94,8 @@ describe Commonmeta::Metadata, vcr: true do
94
94
  expect(ris[3]).to eq('DO - 10.5438/4k3m-nyvg')
95
95
  expect(ris[4]).to eq('UR - https://blog.datacite.org/eating-your-own-dog-food/')
96
96
  expect(ris[5]).to eq('AB - 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...')
97
- expect(ris[6]).to eq('KW - datacite')
98
- expect(ris[9]).to eq('KW - FOS: Computer and information sciences')
97
+ expect(ris[6]).to eq('KW - Datacite')
98
+ expect(ris[9]).to eq('KW - Fos: computer and information sciences')
99
99
  expect(ris[10]).to eq('PY - 2016')
100
100
  expect(ris[11]).to eq('PB - DataCite')
101
101
  expect(ris[12]).to eq('LA - en')
@@ -114,7 +114,7 @@ describe Commonmeta::Metadata, vcr: true do
114
114
  expect(ris[4]).to eq('DO - 10.5438/4k3m-nyvg')
115
115
  expect(ris[5]).to eq('UR - https://blog.datacite.org/eating-your-own-dog-food')
116
116
  expect(ris[6]).to eq('AB - 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...')
117
- expect(ris[7]).to eq('KW - phylogeny')
117
+ expect(ris[7]).to eq('KW - Phylogeny')
118
118
  expect(ris[14]).to eq('PY - 2016')
119
119
  expect(ris[15]).to eq('PB - DataCite')
120
120
  expect(ris[16]).to eq('ER - ')
@@ -129,7 +129,7 @@ describe Commonmeta::Metadata, vcr: true do
129
129
  expect(ris[2]).to eq('AU - Fenner, Martin')
130
130
  expect(ris[3]).to eq('DO - 10.5438/4k3m-nyvg')
131
131
  expect(ris[4]).to eq('AB - 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...')
132
- expect(ris[5]).to eq('KW - datacite')
132
+ expect(ris[5]).to eq('KW - Datacite')
133
133
  expect(ris[8]).to eq('PY - 2016')
134
134
  expect(ris[9]).to eq('PB - DataCite')
135
135
  expect(ris[10]).to eq('ER - ')
@@ -146,7 +146,7 @@ describe Commonmeta::Metadata, vcr: true do
146
146
  expect(ris[4]).to eq('DO - 10.53731/r79vxn1-97aq74v-ag58n')
147
147
  expect(ris[5]).to eq('UR - https://blog.front-matter.io/posts/eating-your-own-dog-food')
148
148
  expect(ris[6]).to eq('AB - 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 the scholarly outputs we produce. For the most part this is not research data, but rather technical documents such as the DataCite Schema and its documentation (2016). These outputs also include the posts on this blog, where we discuss topics relev')
149
- expect(ris[7]).to eq('KW - feature')
149
+ expect(ris[7]).to eq('KW - Feature')
150
150
  expect(ris[8]).to eq('PY - 2016')
151
151
  expect(ris[9]).to eq('PB - Front Matter')
152
152
  expect(ris[10]).to eq('LA - en')
@@ -180,7 +180,7 @@ describe Commonmeta::Metadata, vcr: true do
180
180
  expect(ris[3]).to eq('DO - 10.5438/qeg0-3gm3')
181
181
  expect(ris[4]).to eq('UR - https://github.com/datacite/maremma')
182
182
  expect(ris[5]).to eq('AB - Ruby utility library for network requests. Based on Faraday and Excon, provides a wrapper for XML/JSON parsing and error handling. All successful responses are returned as hash with key data, all errors in a JSONAPI-friendly hash with key errors.')
183
- expect(ris[6]).to eq('KW - faraday')
183
+ expect(ris[6]).to eq('KW - Faraday')
184
184
  expect(ris[9]).to eq('PY - 2017')
185
185
  expect(ris[10]).to eq('PB - DataCite')
186
186
  expect(ris[11]).to eq('ER - ')
@@ -196,7 +196,7 @@ describe Commonmeta::Metadata, vcr: true do
196
196
  expect(ris[5]).to eq('DO - 10.1594/pangaea.721193')
197
197
  expect(ris[6]).to eq('UR - https://doi.pangaea.de/10.1594/PANGAEA.721193')
198
198
  expect(ris[8]).to eq('KW - Animalia')
199
- expect(ris[9]).to eq('KW - Bottles or small containers/Aquaria (<20 L)')
199
+ expect(ris[9]).to eq('KW - Bottles or small containers/aquaria (<20 l)')
200
200
  expect(ris[51]).to eq('PY - 2007')
201
201
  expect(ris[52]).to eq('PB - PANGAEA')
202
202
  expect(ris[53]).to eq('LA - en')
@@ -64,7 +64,7 @@ describe Commonmeta::Metadata, vcr: true do
64
64
  expect(json['@id']).to eq('https://doi.org/10.5061/dryad.8515')
65
65
  expect(json['@type']).to eq('Dataset')
66
66
  expect(json['license']).to eq('https://creativecommons.org/publicdomain/zero/1.0/legalcode')
67
- expect(json['keywords']).to eq('Plasmodium, malaria, mitochondrial genome, Parasites')
67
+ expect(json['keywords']).to eq('Plasmodium, malaria, mitochondrial genome, parasites')
68
68
  end
69
69
 
70
70
  it 'Schema.org JSON Cyark' do
@@ -97,7 +97,7 @@ describe Commonmeta::Metadata, vcr: true do
97
97
  { '@type' => 'Organization',
98
98
  'name' => 'University of California, Santa Barbara' }])
99
99
  expect(json['version']).to eq('2.0.0')
100
- expect(json['keywords']).to eq('data sharing, data repository, dataone')
100
+ expect(json['keywords']).to eq('Data sharing, data repository, dataone')
101
101
  end
102
102
 
103
103
  it 'Funding' do
@@ -129,7 +129,7 @@ describe Commonmeta::Metadata, vcr: true do
129
129
  expect(json['@id']).to eq('https://doi.org/10.4232/1.2745')
130
130
  expect(json['@type']).to eq('Dataset')
131
131
  expect(json['name']).to eq('Flash Eurobarometer 54 (Madrid Summit)')
132
- expect(json['keywords']).to eq('KAT12 International Institutions, Relations, Conditions, Internationale Politik und Internationale Organisationen, Wirtschaftssysteme und wirtschaftliche Entwicklung, International politics and organisations, Economic systems and development')
132
+ expect(json['keywords']).to eq('Kat12 international institutions, relations, conditions, internationale politik und internationale organisationen, wirtschaftssysteme und wirtschaftliche entwicklung, international politics and organisations, economic systems and development')
133
133
  end
134
134
 
135
135
  it 'subject scheme multiple keywords' do
@@ -139,7 +139,7 @@ describe Commonmeta::Metadata, vcr: true do
139
139
  expect(json['@id']).to eq('https://doi.org/10.1594/pangaea.721193')
140
140
  expect(json['@type']).to eq('Dataset')
141
141
  expect(json['name']).to eq('Seawater carbonate chemistry and processes during experiments with Crassostrea gigas, 2007')
142
- expect(json['keywords']).to include('Animalia, Bottles or small containers/Aquaria (<20 L)')
142
+ expect(json['keywords']).to include('Animalia, bottles or small containers/aquaria (<20 l)')
143
143
  expect(json['license']).to eq('https://creativecommons.org/licenses/by/3.0/legalcode')
144
144
  end
145
145
 
@@ -224,7 +224,7 @@ describe Commonmeta::Metadata, vcr: true do
224
224
  expect(json['name']).to eq('Fully processed, filtered and normalized gene expression matrices (in BED format) for each tissue, which were used as input into FastQTL for eQTL discovery')
225
225
  expect(json['version']).to eq('v7')
226
226
  expect(json['author']).to eq('@type' => 'Organization', 'name' => 'The GTEx Consortium')
227
- expect(json['keywords']).to eq('gtex, annotation, phenotype, gene regulation, transcriptomics')
227
+ expect(json['keywords']).to eq('Gtex, annotation, phenotype, gene regulation, transcriptomics')
228
228
  expect(json['datePublished']).to eq('2017')
229
229
  expect(json['contentUrl']).to eq('https://storage.googleapis.com/gtex_analysis_v7/single_tissue_eqtl_data/GTEx_Analysis_v7_eQTL_expression_matrices.tar.gz')
230
230
  expect(json['schemaVersion']).to eq('http://datacite.org/schema/kernel-4')
@@ -275,7 +275,7 @@ describe Commonmeta::Metadata, vcr: true do
275
275
  expect(json['additionalType']).to eq('CRAM file')
276
276
  expect(json['name']).to eq('NWD165827.recab.cram')
277
277
  expect(json['author']).to eq('@type' => 'Organization', 'name' => 'TOPMed IRC')
278
- expect(json['keywords']).to eq('topmed, whole genome sequencing')
278
+ expect(json['keywords']).to eq('Topmed, whole genome sequencing')
279
279
  expect(json['datePublished']).to eq('2017-11-30')
280
280
  expect(json['contentUrl']).to eq([
281
281
  's3://cgp-commons-public/topmed_open_access/197bc047-e917-55ed-852d-d563cdbc50e4/NWD165827.recab.cram', 'gs://topmed-irc-share/public/NWD165827.recab.cram'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commonmeta-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.12
4
+ version: 3.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -1080,6 +1080,8 @@ files:
1080
1080
  - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/blog_post.yml
1081
1081
  - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/blog_post_uuid.yml
1082
1082
  - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_by_blog.yml
1083
+ - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_not_indexed.yml
1084
+ - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_unregistered.yml
1083
1085
  - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed_unregistered/blog_post_uuid.yml
1084
1086
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/change_metadata_as_datacite_xml/with_data_citation.yml
1085
1087
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/doi_registration_agency/crossref.yml
@@ -1174,6 +1176,7 @@ files:
1174
1176
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/citation_style_language.yml
1175
1177
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/citation_style_language_blog.yml
1176
1178
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/front-matter_blog.yml
1179
+ - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/not_indexed_posts.yml
1177
1180
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/unregistered_posts.yml
1178
1181
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/upstream.yml
1179
1182
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/upstream_blog.yml