briard 2.0 → 2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/changelog.yml +0 -1
  3. data/.tool-versions +1 -0
  4. data/CHANGELOG.md +20 -0
  5. data/CITATION.cff +19 -0
  6. data/Gemfile.lock +1 -1
  7. data/README.md +7 -0
  8. data/bolognese.gemspec +1 -1
  9. data/lib/briard/metadata.rb +2 -2
  10. data/lib/briard/metadata_utils.rb +4 -0
  11. data/lib/briard/readers/cff_reader.rb +107 -0
  12. data/lib/briard/readers/crossref_reader.rb +3 -3
  13. data/lib/briard/utils.rb +23 -1
  14. data/lib/briard/version.rb +1 -1
  15. data/lib/briard/writers/cff_writer.rb +27 -0
  16. data/spec/find_from_format_spec.rb +21 -1
  17. data/spec/fixtures/CITATION.cff +83 -0
  18. data/spec/fixtures/vcr_cassettes/Briard_Metadata/get_cff_metadata/cff-converter-python.yml +75 -0
  19. data/spec/fixtures/vcr_cassettes/Briard_Metadata/get_cff_metadata/pidgraph-notebooks-python.yml +75 -0
  20. data/spec/fixtures/vcr_cassettes/Briard_Metadata/get_cff_metadata/ruby-cff.yml +75 -0
  21. data/spec/fixtures/vcr_cassettes/Briard_Metadata/get_cff_metadata/ruby-cff_repository_url.yml +75 -0
  22. data/spec/fixtures/vcr_cassettes/Briard_Metadata/get_codemeta_metadata/maremma.yml +10 -10
  23. data/spec/fixtures/vcr_cassettes/Briard_Metadata/get_codemeta_metadata/metadata_reports.yml +6 -6
  24. data/spec/fixtures/vcr_cassettes/Briard_Metadata/github/github_as_cff_url.yml +65 -0
  25. data/spec/fixtures/vcr_cassettes/Briard_Metadata/github/github_from_url_cff_file.yml +65 -0
  26. data/spec/fixtures/vcr_cassettes/Briard_Metadata/write_metadata_as_cff/SoftwareSourceCode_DataCite.yml +61 -0
  27. data/spec/fixtures/vcr_cassettes/Briard_Metadata/write_metadata_as_cff/SoftwareSourceCode_Zenodo.yml +61 -0
  28. data/spec/fixtures/vcr_cassettes/Briard_Metadata/write_metadata_as_cff/SoftwareSourceCode_also_Zenodo.yml +61 -0
  29. data/spec/metadata_spec.rb +1 -1
  30. data/spec/readers/cff_reader_spec.rb +168 -0
  31. data/spec/readers/codemeta_reader_spec.rb +1 -1
  32. data/spec/utils_spec.rb +12 -0
  33. data/spec/writers/cff_writer_spec.rb +65 -0
  34. metadata +20 -3
@@ -0,0 +1,168 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Briard::Metadata, vcr: true do
6
+ let(:input) { "https://github.com/citation-file-format/ruby-cff/blob/main/CITATION.cff" }
7
+
8
+ subject { Briard::Metadata.new(input: input) }
9
+
10
+ context "get cff metadata" do
11
+ it "ruby-cff" do
12
+ expect(subject.valid?).to be true
13
+ expect(subject.id).to eq("https://doi.org/10.5281/zenodo.1184077")
14
+ expect(subject.url).to eq("https://github.com/citation-file-format/ruby-cff")
15
+ expect(subject.types).to eq("bibtex"=>"misc", "citeproc"=>"article-journal", "resourceTypeGeneral"=>"Software", "ris"=>"COMP", "schemaOrg"=>"SoftwareSourceCode")
16
+ expect(subject.creators).to eq([{"affiliation"=>[{"name"=>"The University of Manchester, UK"}], "familyName"=>"Haines", "givenName"=>"Robert", "name"=>"Haines, Robert", "nameIdentifiers"=>
17
+ [{"nameIdentifier"=>"https://orcid.org/0000-0002-9538-7919",
18
+ "nameIdentifierScheme"=>"ORCID",
19
+ "schemeUri"=>"https://orcid.org"}], "nameType"=>"Personal"}, {"name"=>"The Ruby Citation File Format Developers", "nameType"=>"Organizational"}])
20
+ expect(subject.titles).to eq([{"title"=>"Ruby CFF Library"}])
21
+ expect(subject.descriptions.first["description"]).to start_with("This library provides a Ruby interface to manipulate Citation File Format files")
22
+ expect(subject.subjects).to eq([{"subject"=>"ruby"},
23
+ {"subject"=>"credit"},
24
+ {"subject"=>"software citation"},
25
+ {"subject"=>"research software"},
26
+ {"subject"=>"software sustainability"},
27
+ {"subject"=>"metadata"},
28
+ {"subject"=>"citation file format"},
29
+ {"subject"=>"CFF"}])
30
+ expect(subject.version_info).to eq("0.9.0")
31
+ expect(subject.dates).to eq([{"date"=>"2021-08-18", "dateType"=>"Issued"}])
32
+ expect(subject.publication_year).to eq("2021")
33
+ expect(subject.publisher).to eq("GitHub")
34
+ expect(subject.rights_list).to eq([{"rights"=>"Apache License 2.0",
35
+ "rightsIdentifier"=>"apache-2.0",
36
+ "rightsIdentifierScheme"=>"SPDX",
37
+ "rightsUri"=>"http://www.apache.org/licenses/LICENSE-2.0",
38
+ "schemeUri"=>"https://spdx.org/licenses/"}])
39
+ end
40
+
41
+ it "cff-converter-python" do
42
+ input = "https://github.com/citation-file-format/cff-converter-python/blob/main/CITATION.cff"
43
+ subject = Briard::Metadata.new(input: input)
44
+ expect(subject.id).to eq("https://doi.org/10.5281/zenodo.1162057")
45
+ expect(subject.url).to eq("https://github.com/citation-file-format/cff-converter-python")
46
+ expect(subject.types).to eq("bibtex"=>"misc", "citeproc"=>"article-journal", "resourceTypeGeneral"=>"Software", "ris"=>"COMP", "schemaOrg"=>"SoftwareSourceCode")
47
+ expect(subject.creators).to eq([{"affiliation"=>[{"name"=>"Netherlands eScience Center"}],
48
+ "familyName"=>"Spaaks",
49
+ "givenName"=>"Jurriaan H.",
50
+ "name"=>"Spaaks, Jurriaan H.",
51
+ "nameIdentifiers"=>
52
+ [{"nameIdentifier"=>"https://orcid.org/0000-0002-7064-4069",
53
+ "nameIdentifierScheme"=>"ORCID",
54
+ "schemeUri"=>"https://orcid.org"}],
55
+ "nameType"=>"Personal"},
56
+ {"affiliation"=>[{"name"=>"Netherlands eScience Center"}],
57
+ "familyName"=>"Klaver",
58
+ "givenName"=>"Tom",
59
+ "name"=>"Klaver, Tom",
60
+ "nameType"=>"Personal"},
61
+ {"affiliation"=>[{"name"=>"Netherlands eScience Center"}],
62
+ "familyName"=>"Verhoeven",
63
+ "givenName"=>"Stefan",
64
+ "name"=>"Verhoeven, Stefan",
65
+ "nameIdentifiers"=>
66
+ [{"nameIdentifier"=>"https://orcid.org/0000-0002-5821-2060",
67
+ "nameIdentifierScheme"=>"ORCID",
68
+ "schemeUri"=>"https://orcid.org"}],
69
+ "nameType"=>"Personal"},
70
+ {"affiliation"=>[{"name"=>"Humboldt-Universit??t zu Berlin"}],
71
+ "familyName"=>"Druskat",
72
+ "givenName"=>"Stephan",
73
+ "name"=>"Druskat, Stephan",
74
+ "nameIdentifiers"=>
75
+ [{"nameIdentifier"=>"https://orcid.org/0000-0003-4925-7248",
76
+ "nameIdentifierScheme"=>"ORCID",
77
+ "schemeUri"=>"https://orcid.org"}],
78
+ "nameType"=>"Personal"},
79
+ {"affiliation"=>[{"name"=>"University of Oslo"}],
80
+ "familyName"=>"Leoncio",
81
+ "givenName"=>"Waldir",
82
+ "name"=>"Leoncio, Waldir",
83
+ "nameType"=>"Personal"}])
84
+ expect(subject.titles).to eq([{"title"=>"cffconvert"}])
85
+ expect(subject.descriptions.first["description"]).to start_with("Command line program to validate and convert CITATION.cff files")
86
+ expect(subject.subjects).to eq([{"subject"=>"bibliography"},
87
+ {"subject"=>"BibTeX"},
88
+ {"subject"=>"cff"},
89
+ {"subject"=>"citation"},
90
+ {"subject"=>"CITATION.cff"},
91
+ {"subject"=>"CodeMeta"},
92
+ {"subject"=>"EndNote"},
93
+ {"subject"=>"RIS"},
94
+ {"subject"=>"Citation File Format"}])
95
+ expect(subject.version_info).to eq("2.0.0")
96
+ expect(subject.dates).to eq([{"date"=>"2021-09-22", "dateType"=>"Issued"}])
97
+ expect(subject.publication_year).to eq("2021")
98
+ expect(subject.publisher).to eq("GitHub")
99
+ expect(subject.rights_list).to eq([{"rights"=>"Apache License 2.0",
100
+ "rightsIdentifier"=>"apache-2.0",
101
+ "rightsIdentifierScheme"=>"SPDX",
102
+ "rightsUri"=>"http://www.apache.org/licenses/LICENSE-2.0",
103
+ "schemeUri"=>"https://spdx.org/licenses/"}])
104
+ end
105
+
106
+ it "ruby-cff" do
107
+ expect(subject.valid?).to be true
108
+ expect(subject.id).to eq("https://doi.org/10.5281/zenodo.1184077")
109
+ expect(subject.url).to eq("https://github.com/citation-file-format/ruby-cff")
110
+ expect(subject.types).to eq("bibtex"=>"misc", "citeproc"=>"article-journal", "resourceTypeGeneral"=>"Software", "ris"=>"COMP", "schemaOrg"=>"SoftwareSourceCode")
111
+ expect(subject.creators).to eq([{"affiliation"=>[{"name"=>"The University of Manchester, UK"}], "familyName"=>"Haines", "givenName"=>"Robert", "name"=>"Haines, Robert", "nameIdentifiers"=>
112
+ [{"nameIdentifier"=>"https://orcid.org/0000-0002-9538-7919",
113
+ "nameIdentifierScheme"=>"ORCID",
114
+ "schemeUri"=>"https://orcid.org"}], "nameType"=>"Personal"}, {"name"=>"The Ruby Citation File Format Developers", "nameType"=>"Organizational"}])
115
+ expect(subject.titles).to eq([{"title"=>"Ruby CFF Library"}])
116
+ expect(subject.descriptions.first["description"]).to start_with("This library provides a Ruby interface to manipulate Citation File Format files")
117
+ expect(subject.subjects).to eq([{"subject"=>"ruby"},
118
+ {"subject"=>"credit"},
119
+ {"subject"=>"software citation"},
120
+ {"subject"=>"research software"},
121
+ {"subject"=>"software sustainability"},
122
+ {"subject"=>"metadata"},
123
+ {"subject"=>"citation file format"},
124
+ {"subject"=>"CFF"}])
125
+ expect(subject.version_info).to eq("0.9.0")
126
+ expect(subject.dates).to eq([{"date"=>"2021-08-18", "dateType"=>"Issued"}])
127
+ expect(subject.publication_year).to eq("2021")
128
+ expect(subject.publisher).to eq("GitHub")
129
+ expect(subject.rights_list).to eq([{"rights"=>"Apache License 2.0",
130
+ "rightsIdentifier"=>"apache-2.0",
131
+ "rightsIdentifierScheme"=>"SPDX",
132
+ "rightsUri"=>"http://www.apache.org/licenses/LICENSE-2.0",
133
+ "schemeUri"=>"https://spdx.org/licenses/"}])
134
+ end
135
+
136
+ it "ruby-cff repository url" do
137
+ input = "https://github.com/citation-file-format/ruby-cff"
138
+ subject = Briard::Metadata.new(input: input)
139
+ expect(subject.valid?).to be true
140
+ expect(subject.id).to eq("https://doi.org/10.5281/zenodo.1184077")
141
+ expect(subject.url).to eq("https://github.com/citation-file-format/ruby-cff")
142
+ expect(subject.types).to eq("bibtex"=>"misc", "citeproc"=>"article-journal", "resourceTypeGeneral"=>"Software", "ris"=>"COMP", "schemaOrg"=>"SoftwareSourceCode")
143
+ expect(subject.creators).to eq([{"affiliation"=>[{"name"=>"The University of Manchester, UK"}], "familyName"=>"Haines", "givenName"=>"Robert", "name"=>"Haines, Robert", "nameIdentifiers"=>
144
+ [{"nameIdentifier"=>"https://orcid.org/0000-0002-9538-7919",
145
+ "nameIdentifierScheme"=>"ORCID",
146
+ "schemeUri"=>"https://orcid.org"}], "nameType"=>"Personal"}, {"name"=>"The Ruby Citation File Format Developers", "nameType"=>"Organizational"}])
147
+ expect(subject.titles).to eq([{"title"=>"Ruby CFF Library"}])
148
+ expect(subject.descriptions.first["description"]).to start_with("This library provides a Ruby interface to manipulate Citation File Format files")
149
+ expect(subject.subjects).to eq([{"subject"=>"ruby"},
150
+ {"subject"=>"credit"},
151
+ {"subject"=>"software citation"},
152
+ {"subject"=>"research software"},
153
+ {"subject"=>"software sustainability"},
154
+ {"subject"=>"metadata"},
155
+ {"subject"=>"citation file format"},
156
+ {"subject"=>"CFF"}])
157
+ expect(subject.version_info).to eq("0.9.0")
158
+ expect(subject.dates).to eq([{"date"=>"2021-08-18", "dateType"=>"Issued"}])
159
+ expect(subject.publication_year).to eq("2021")
160
+ expect(subject.publisher).to eq("GitHub")
161
+ expect(subject.rights_list).to eq([{"rights"=>"Apache License 2.0",
162
+ "rightsIdentifier"=>"apache-2.0",
163
+ "rightsIdentifierScheme"=>"SPDX",
164
+ "rightsUri"=>"http://www.apache.org/licenses/LICENSE-2.0",
165
+ "schemeUri"=>"https://spdx.org/licenses/"}])
166
+ end
167
+ end
168
+ end
@@ -3,7 +3,7 @@
3
3
  require 'spec_helper'
4
4
 
5
5
  describe Briard::Metadata, vcr: true do
6
- let(:input) { "https://github.com/datacite/maremma" }
6
+ let(:input) { "https://github.com/datacite/maremma/blob/master/codemeta.json" }
7
7
 
8
8
  subject { Briard::Metadata.new(input: input) }
9
9
 
data/spec/utils_spec.rb CHANGED
@@ -507,12 +507,24 @@ describe Briard::Metadata, vcr: true do
507
507
  expect(response).to eq(:owner=>"datacite", :repo=>"metadata-reports", :release=>"master", :path=>"software/codemeta.json")
508
508
  end
509
509
 
510
+ it "github_from_url cff file" do
511
+ url = "https://github.com/citation-file-format/ruby-cff/blob/main/CITATION.cff"
512
+ response = subject.github_from_url(url)
513
+ expect(response).to eq(:owner=>"citation-file-format", :path=>"CITATION.cff", :release=>"main", :repo=>"ruby-cff")
514
+ end
515
+
510
516
  it "github_as_codemeta_url" do
511
517
  url = "https://github.com/datacite/bolognese"
512
518
  response = subject.github_as_codemeta_url(url)
513
519
  expect(response).to eq("https://raw.githubusercontent.com/datacite/bolognese/master/codemeta.json")
514
520
  end
515
521
 
522
+ it "github_as_cff_url" do
523
+ url = "https://github.com/citation-file-format/ruby-cff"
524
+ response = subject.github_as_cff_url(url)
525
+ expect(response).to eq("https://raw.githubusercontent.com/citation-file-format/ruby-cff/main/CITATION.cff")
526
+ end
527
+
516
528
  it "github_from_url file" do
517
529
  url = "https://github.com/datacite/metadata-reports/blob/master/software/codemeta.json"
518
530
  response = subject.github_as_codemeta_url(url)
@@ -0,0 +1,65 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Briard::Metadata, vcr: true do
6
+ context "write metadata as cff" do
7
+ it "SoftwareSourceCode Zenodo" do
8
+ input = "https://doi.org/10.5281/zenodo.10164"
9
+ subject = Briard::Metadata.new(input: input, from: "datacite")
10
+ expect(subject.valid?).to be true
11
+ json = Psych.safe_load(subject.cff, permitted_classes: [Date])
12
+ expect(json["doi"]).to eq("https://doi.org/10.5281/zenodo.10164")
13
+ expect(json["authors"]).to eq([{"affiliation"=>[{"name"=>"Juelich Supercomputing Centre, Jülich, Germany"}],
14
+ "familyName"=>"Klatt",
15
+ "givenName"=>"Torbjörn",
16
+ "name"=>"Klatt, Torbjörn"},
17
+ {"affiliation"=>[{"name"=>"Juelich Supercomputing Centre, Jülich, Germany"}],
18
+ "familyName"=>"Moser",
19
+ "givenName"=>"Dieter",
20
+ "name"=>"Moser, Dieter"},
21
+ {"affiliation"=>[{"name"=>"Juelich Supercomputing Centre, Jülich, Germany"}],
22
+ "familyName"=>"Speck",
23
+ "givenName"=>"Robert",
24
+ "name"=>"Speck, Robert"}])
25
+ expect(json["title"]).to eq("Pypint -- Python Framework For Parallel-In-Time Methods")
26
+ expect(json["abstract"]).to eq("<em>PyPinT</em> is a framework for Parallel-in-Time integration routines. The main purpose of <em>PyPinT</em> is to provide a framework for educational use and prototyping new parallel-in-time algorithms. As well it will aid in developing a high-performance C++ implementation for massively parallel computers providing the benefits of parallel-in-time routines to a zoo of time integrators in various applications.")
27
+ expect(json["date-released"]).to eq("2014-05-27")
28
+ expect(json["repository-code"]).to eq("https://zenodo.org/record/10164")
29
+ expect(json["keywords"]).to eq(["Parallel-in-Time Integration", "Spectral Deferred Corrections", "Multigrid", "Multi-Level Spectral Deferred Corrections", "Python Framework"])
30
+ expect(json["license"]).to eq(["http://www.opensource.org/licenses/MIT", "info:eu-repo/semantics/openAccess"])
31
+ end
32
+
33
+ it "SoftwareSourceCode also Zenodo" do
34
+ input = "https://doi.org/10.5281/zenodo.15497"
35
+ subject = Briard::Metadata.new(input: input, from: "datacite")
36
+ expect(subject.valid?).to be true
37
+ json = Psych.safe_load(subject.cff, permitted_classes: [Date])
38
+ expect(json["doi"]).to eq("https://doi.org/10.5281/zenodo.15497")
39
+ expect(json["authors"]).to eq([{"affiliation"=>
40
+ [{"name"=>
41
+ "Instituut voor Kern- en Stralingsfysica, KU Leuven, 3001 Leuven, België"}],
42
+ "familyName"=>"Gins",
43
+ "givenName"=>"Wouter",
44
+ "name"=>"Gins, Wouter"},
45
+ {"affiliation"=>
46
+ [{"name"=>
47
+ "Instituut voor Kern- en Stralingsfysica, KU Leuven, 3001 Leuven, België"}],
48
+ "familyName"=>"de Groote",
49
+ "givenName"=>"Ruben",
50
+ "name"=>"de Groote, Ruben"},
51
+ {"affiliation"=>
52
+ [{"name"=>
53
+ "Instituut voor Kern- en Stralingsfysica, KU Leuven, 3001 Leuven, België"}],
54
+ "familyName"=>"Heylen",
55
+ "givenName"=>"Hanne",
56
+ "name"=>"Heylen, Hanne"}])
57
+ expect(json["title"]).to eq("Satlas: Simulation And Analysis Toolbox For Laser Spectroscopy And Nmr Experiments")
58
+ expect(json["abstract"]).to eq("Initial release of the satlas Python package for the analysis and simulation for laser spectroscopy experiments. For the documentation, see http://woutergins.github.io/satlas/")
59
+ expect(json["date-released"]).to eq("2015-02-18")
60
+ expect(json["repository-code"]).to eq("https://zenodo.org/record/15497")
61
+ expect(json["keywords"]).to be_nil
62
+ expect(json["license"]).to eq(["http://www.opensource.org/licenses/MIT", "info:eu-repo/semantics/openAccess"])
63
+ end
64
+ end
65
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: briard
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.0'
4
+ version: '2.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-06 00:00:00.000000000 Z
11
+ date: 2021-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maremma
@@ -585,7 +585,8 @@ dependencies:
585
585
  - !ruby/object:Gem::Version
586
586
  version: 2.0.0
587
587
  description: Ruby gem and command-line utility for conversion of DOI metadata from
588
- and to different metadata formats, including schema.org. Fork of bolognese gem.
588
+ and to different metadata formats, including schema.org. Fork of version 1.19.12
589
+ of the bolognese gem.
589
590
  email: martin@front-matter.io
590
591
  executables:
591
592
  - briard
@@ -598,8 +599,10 @@ files:
598
599
  - ".github/workflows/release.yml"
599
600
  - ".gitignore"
600
601
  - ".rubocop.yml"
602
+ - ".tool-versions"
601
603
  - CHANGELOG.md
602
604
  - CITATION
605
+ - CITATION.cff
603
606
  - Gemfile
604
607
  - Gemfile.lock
605
608
  - LICENSE.md
@@ -619,6 +622,7 @@ files:
619
622
  - lib/briard/metadata_utils.rb
620
623
  - lib/briard/pubmed.rb
621
624
  - lib/briard/readers/bibtex_reader.rb
625
+ - lib/briard/readers/cff_reader.rb
622
626
  - lib/briard/readers/citeproc_reader.rb
623
627
  - lib/briard/readers/codemeta_reader.rb
624
628
  - lib/briard/readers/crosscite_reader.rb
@@ -633,6 +637,7 @@ files:
633
637
  - lib/briard/version.rb
634
638
  - lib/briard/whitelist_scrubber.rb
635
639
  - lib/briard/writers/bibtex_writer.rb
640
+ - lib/briard/writers/cff_writer.rb
636
641
  - lib/briard/writers/citation_writer.rb
637
642
  - lib/briard/writers/citeproc_writer.rb
638
643
  - lib/briard/writers/codemeta_writer.rb
@@ -799,6 +804,7 @@ files:
799
804
  - spec/datacite_utils_spec.rb
800
805
  - spec/doi_utils_spec.rb
801
806
  - spec/find_from_format_spec.rb
807
+ - spec/fixtures/CITATION.cff
802
808
  - spec/fixtures/aida.json
803
809
  - spec/fixtures/cgimp_package.json
804
810
  - spec/fixtures/cit_package.json
@@ -959,6 +965,10 @@ files:
959
965
  - spec/fixtures/vcr_cassettes/Briard_Metadata/from_schema_org/with_id.yml
960
966
  - spec/fixtures/vcr_cassettes/Briard_Metadata/from_schema_org_creators/with_affiliation.yml
961
967
  - spec/fixtures/vcr_cassettes/Briard_Metadata/from_schema_org_creators/without_affiliation.yml
968
+ - spec/fixtures/vcr_cassettes/Briard_Metadata/get_cff_metadata/cff-converter-python.yml
969
+ - spec/fixtures/vcr_cassettes/Briard_Metadata/get_cff_metadata/pidgraph-notebooks-python.yml
970
+ - spec/fixtures/vcr_cassettes/Briard_Metadata/get_cff_metadata/ruby-cff.yml
971
+ - spec/fixtures/vcr_cassettes/Briard_Metadata/get_cff_metadata/ruby-cff_repository_url.yml
962
972
  - spec/fixtures/vcr_cassettes/Briard_Metadata/get_codemeta_metadata/maremma.yml
963
973
  - spec/fixtures/vcr_cassettes/Briard_Metadata/get_codemeta_metadata/metadata_reports.yml
964
974
  - spec/fixtures/vcr_cassettes/Briard_Metadata/get_crossref_metadata/DOI_with_ORCID_ID.yml
@@ -1074,8 +1084,10 @@ files:
1074
1084
  - spec/fixtures/vcr_cassettes/Briard_Metadata/get_series_information/title_and_pages.yml
1075
1085
  - spec/fixtures/vcr_cassettes/Briard_Metadata/get_series_information/title_volume_and_pages.yml
1076
1086
  - spec/fixtures/vcr_cassettes/Briard_Metadata/get_series_information/title_volume_issue_and_pages.yml
1087
+ - spec/fixtures/vcr_cassettes/Briard_Metadata/github/github_as_cff_url.yml
1077
1088
  - spec/fixtures/vcr_cassettes/Briard_Metadata/github/github_as_codemeta_url.yml
1078
1089
  - spec/fixtures/vcr_cassettes/Briard_Metadata/github/github_from_url.yml
1090
+ - spec/fixtures/vcr_cassettes/Briard_Metadata/github/github_from_url_cff_file.yml
1079
1091
  - spec/fixtures/vcr_cassettes/Briard_Metadata/github/github_from_url_file.yml
1080
1092
  - spec/fixtures/vcr_cassettes/Briard_Metadata/handle_input/DOI_RA_not_Crossref_or_DataCite.yml
1081
1093
  - spec/fixtures/vcr_cassettes/Briard_Metadata/handle_input/unknown_DOI_prefix.yml
@@ -1200,6 +1212,9 @@ files:
1200
1212
  - spec/fixtures/vcr_cassettes/Briard_Metadata/write_metadata_as_bibtex/text.yml
1201
1213
  - spec/fixtures/vcr_cassettes/Briard_Metadata/write_metadata_as_bibtex/with_data_citation.yml
1202
1214
  - spec/fixtures/vcr_cassettes/Briard_Metadata/write_metadata_as_bibtex/with_pages.yml
1215
+ - spec/fixtures/vcr_cassettes/Briard_Metadata/write_metadata_as_cff/SoftwareSourceCode_DataCite.yml
1216
+ - spec/fixtures/vcr_cassettes/Briard_Metadata/write_metadata_as_cff/SoftwareSourceCode_Zenodo.yml
1217
+ - spec/fixtures/vcr_cassettes/Briard_Metadata/write_metadata_as_cff/SoftwareSourceCode_also_Zenodo.yml
1203
1218
  - spec/fixtures/vcr_cassettes/Briard_Metadata/write_metadata_as_citation/Dataset.yml
1204
1219
  - spec/fixtures/vcr_cassettes/Briard_Metadata/write_metadata_as_citation/Journal_article.yml
1205
1220
  - spec/fixtures/vcr_cassettes/Briard_Metadata/write_metadata_as_citation/Journal_article_vancouver_style.yml
@@ -1296,6 +1311,7 @@ files:
1296
1311
  - spec/fixtures/vivli.xml
1297
1312
  - spec/metadata_spec.rb
1298
1313
  - spec/readers/bibtex_reader_spec.rb
1314
+ - spec/readers/cff_reader_spec.rb
1299
1315
  - spec/readers/citeproc_reader_spec.rb
1300
1316
  - spec/readers/codemeta_reader_spec.rb
1301
1317
  - spec/readers/crosscite_reader_spec.rb
@@ -1308,6 +1324,7 @@ files:
1308
1324
  - spec/spec_helper.rb
1309
1325
  - spec/utils_spec.rb
1310
1326
  - spec/writers/bibtex_writer_spec.rb
1327
+ - spec/writers/cff_writer_spec.rb
1311
1328
  - spec/writers/citation_writer_spec.rb
1312
1329
  - spec/writers/citeproc_writer_spec.rb
1313
1330
  - spec/writers/codemeta_writer_spec.rb