commonmeta-ruby 3.2.13 → 3.2.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,14 +20,14 @@ describe Commonmeta::Metadata, vcr: true do
20
20
  'type' => 'Organization' }])
21
21
  expect(subject.titles).to eq([{ 'title' => 'Ruby CFF Library' }])
22
22
  expect(subject.descriptions.first['description']).to start_with('This library provides a Ruby interface to manipulate Citation File Format files')
23
- expect(subject.subjects).to eq([{ 'subject' => 'ruby' },
24
- { 'subject' => 'credit' },
25
- { 'subject' => 'software citation' },
26
- { 'subject' => 'research software' },
27
- { 'subject' => 'software sustainability' },
28
- { 'subject' => 'metadata' },
29
- { 'subject' => 'citation file format' },
30
- { 'subject' => 'cff' }])
23
+ expect(subject.subjects).to eq([{ 'subject' => 'Ruby' },
24
+ { 'subject' => 'Credit' },
25
+ { 'subject' => 'Software citation' },
26
+ { 'subject' => 'Research software' },
27
+ { 'subject' => 'Software sustainability' },
28
+ { 'subject' => 'Metadata' },
29
+ { 'subject' => 'Citation file format' },
30
+ { 'subject' => 'Cff' }])
31
31
  expect(subject.version).to eq('1.0.1')
32
32
  expect(subject.date).to eq('published' => '2022-11-05')
33
33
  expect(subject.publisher).to eq('name' => 'GitHub')
@@ -69,15 +69,15 @@ describe Commonmeta::Metadata, vcr: true do
69
69
  'type' => 'Person' }])
70
70
  expect(subject.titles).to eq([{ 'title' => 'cffconvert' }])
71
71
  expect(subject.descriptions.first['description']).to start_with('Command line program to validate and convert CITATION.cff files')
72
- expect(subject.subjects).to eq([{ 'subject' => 'bibliography' },
73
- { 'subject' => 'bibtex' },
74
- { 'subject' => 'cff' },
75
- { 'subject' => 'citation' },
76
- { 'subject' => 'citation.cff' },
77
- { 'subject' => 'codemeta' },
78
- { 'subject' => 'endnote' },
79
- { 'subject' => 'ris' },
80
- { 'subject' => 'citation file format' }])
72
+ expect(subject.subjects).to eq([{ 'subject' => 'Bibliography' },
73
+ { 'subject' => 'Bibtex' },
74
+ { 'subject' => 'Cff' },
75
+ { 'subject' => 'Citation' },
76
+ { 'subject' => 'Citation.cff' },
77
+ { 'subject' => 'Codemeta' },
78
+ { 'subject' => 'Endnote' },
79
+ { 'subject' => 'Ris' },
80
+ { 'subject' => 'Citation file format' }])
81
81
  expect(subject.version).to eq('2.0.0')
82
82
  expect(subject.date).to eq('published' => '2021-09-22')
83
83
  expect(subject.publisher).to eq('name' => 'GitHub')
@@ -98,14 +98,14 @@ describe Commonmeta::Metadata, vcr: true do
98
98
  'id' => 'https://orcid.org/0000-0002-9538-7919', 'type' => 'Person' }, { 'name' => 'The Ruby Citation File Format Developers', 'type' => 'Organization' }])
99
99
  expect(subject.titles).to eq([{ 'title' => 'Ruby CFF Library' }])
100
100
  expect(subject.descriptions.first['description']).to start_with('This library provides a Ruby interface to manipulate Citation File Format files')
101
- expect(subject.subjects).to eq([{ 'subject' => 'ruby' },
102
- { 'subject' => 'credit' },
103
- { 'subject' => 'software citation' },
104
- { 'subject' => 'research software' },
105
- { 'subject' => 'software sustainability' },
106
- { 'subject' => 'metadata' },
107
- { 'subject' => 'citation file format' },
108
- { 'subject' => 'cff' }])
101
+ expect(subject.subjects).to eq([{ 'subject' => 'Ruby' },
102
+ { 'subject' => 'Credit' },
103
+ { 'subject' => 'Software citation' },
104
+ { 'subject' => 'Research software' },
105
+ { 'subject' => 'Software sustainability' },
106
+ { 'subject' => 'Metadata' },
107
+ { 'subject' => 'Citation file format' },
108
+ { 'subject' => 'Cff' }])
109
109
  expect(subject.version).to eq('1.0.1')
110
110
  expect(subject.date).to eq('published' => '2022-11-05')
111
111
  expect(subject.publisher).to eq('name' => 'GitHub')
@@ -127,14 +127,14 @@ describe Commonmeta::Metadata, vcr: true do
127
127
  'id' => 'https://orcid.org/0000-0002-9538-7919', 'type' => 'Person' }, { 'name' => 'The Ruby Citation File Format Developers', 'type' => 'Organization' }])
128
128
  expect(subject.titles).to eq([{ 'title' => 'Ruby CFF Library' }])
129
129
  expect(subject.descriptions.first['description']).to start_with('This library provides a Ruby interface to manipulate Citation File Format files')
130
- expect(subject.subjects).to eq([{ 'subject' => 'ruby' },
131
- { 'subject' => 'credit' },
132
- { 'subject' => 'software citation' },
133
- { 'subject' => 'research software' },
134
- { 'subject' => 'software sustainability' },
135
- { 'subject' => 'metadata' },
136
- { 'subject' => 'citation file format' },
137
- { 'subject' => 'cff' }])
130
+ expect(subject.subjects).to eq([{ 'subject' => 'Ruby' },
131
+ { 'subject' => 'Credit' },
132
+ { 'subject' => 'Software citation' },
133
+ { 'subject' => 'Research software' },
134
+ { 'subject' => 'Software sustainability' },
135
+ { 'subject' => 'Metadata' },
136
+ { 'subject' => 'Citation file format' },
137
+ { 'subject' => 'Cff' }])
138
138
  expect(subject.version).to eq('1.0.1')
139
139
  expect(subject.date).to eq('published' => '2022-11-05')
140
140
  expect(subject.publisher).to eq('name' => 'GitHub')
@@ -28,8 +28,8 @@ describe Commonmeta::Metadata, vcr: true do
28
28
  'type' => 'Person' }])
29
29
  expect(subject.titles).to eq([{ 'title' => 'Maremma: a Ruby library for simplified network calls' }])
30
30
  expect(subject.descriptions.first['description']).to start_with('Ruby utility library for network requests')
31
- expect(subject.subjects).to eq([{ 'subject' => 'faraday' }, { 'subject' => 'excon' },
32
- { 'subject' => 'net/http' }])
31
+ expect(subject.subjects).to eq([{ 'subject' => 'Faraday' }, { 'subject' => 'Excon' },
32
+ { 'subject' => 'Net/http' }])
33
33
  expect(subject.date).to eq('created' => '2015-11-28',
34
34
  'published' => '2017-02-24',
35
35
  'updated' => '2017-02-24')
@@ -57,8 +57,8 @@ describe Commonmeta::Metadata, vcr: true do
57
57
  'type' => 'Organization' }])
58
58
  expect(subject.titles).to eq([{ 'title' => 'R Interface to the DataONE REST API' }])
59
59
  expect(subject.descriptions.first['description']).to start_with('Provides read and write access to data and metadata')
60
- expect(subject.subjects).to eq([{ 'subject' => 'data sharing' }, { 'subject' => 'data repository' },
61
- { 'subject' => 'dataone' }])
60
+ expect(subject.subjects).to eq([{ 'subject' => 'Data sharing' }, { 'subject' => 'Data repository' },
61
+ { 'subject' => 'Dataone' }])
62
62
  expect(subject.version).to eq('2.0.0')
63
63
  expect(subject.date).to eq('created' => '2016-05-27',
64
64
  'published' => '2016-05-27',
@@ -82,8 +82,8 @@ describe Commonmeta::Metadata, vcr: true do
82
82
  'type' => 'Person' }])
83
83
  expect(subject.titles).to eq([{ 'title' => 'Maremma: a Ruby library for simplified network calls' }])
84
84
  expect(subject.descriptions.first['description']).to start_with('Simplifies network calls')
85
- expect(subject.subjects).to eq([{ 'subject' => 'faraday' }, { 'subject' => 'excon' },
86
- { 'subject' => 'net/http' }])
85
+ expect(subject.subjects).to eq([{ 'subject' => 'Faraday' }, { 'subject' => 'Excon' },
86
+ { 'subject' => 'Net/http' }])
87
87
  expect(subject.date).to eq('created' => '2015-11-28',
88
88
  'published' => '2017-02-24',
89
89
  'updated' => '2017-02-24')
@@ -104,8 +104,8 @@ describe Commonmeta::Metadata, vcr: true do
104
104
  'type' => 'Person')
105
105
  expect(subject.titles).to eq([{ 'title' => 'DOI Registrations for Software' }])
106
106
  expect(subject.descriptions.first['description']).to start_with('Analysis of DataCite DOIs registered for software')
107
- expect(subject.subjects).to eq([{ 'subject' => 'doi' }, { 'subject' => 'software' },
108
- { 'subject' => 'codemeta' }])
107
+ expect(subject.subjects).to eq([{ 'subject' => 'Doi' }, { 'subject' => 'Software' },
108
+ { 'subject' => 'Codemeta' }])
109
109
  expect(subject.date).to eq('created' => '2018-03-09',
110
110
  'published' => '2018-05-17',
111
111
  'updated' => '2018-05-17')