commonmeta-ruby 3.7.2 → 3.7.3
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.
- checksums.yaml +4 -4
- data/.github/workflows/publish.yml +23 -0
- data/Gemfile.lock +23 -23
- data/bin/commonmeta +1 -1
- data/docs/.gitignore +1 -0
- data/docs/_publish.yml +4 -0
- data/docs/_quarto.yml +46 -0
- data/docs/_site/favicon.ico +0 -0
- data/docs/_site/images/icon.png +0 -0
- data/docs/_site/index.html +947 -0
- data/docs/_site/readers/bibtex_reader.html +802 -0
- data/docs/_site/search.json +74 -0
- data/docs/_site/site_libs/bootstrap/bootstrap-dark.min.css +9 -0
- data/docs/_site/site_libs/bootstrap/bootstrap-icons.css +2078 -0
- data/docs/_site/site_libs/bootstrap/bootstrap-icons.woff +0 -0
- data/docs/_site/site_libs/bootstrap/bootstrap.min.css +9 -0
- data/docs/_site/site_libs/bootstrap/bootstrap.min.js +7 -0
- data/docs/_site/site_libs/clipboard/clipboard.min.js +7 -0
- data/docs/_site/site_libs/quarto-html/anchor.min.js +9 -0
- data/docs/_site/site_libs/quarto-html/popper.min.js +6 -0
- data/docs/_site/site_libs/quarto-html/quarto-syntax-highlighting-dark.css +179 -0
- data/docs/_site/site_libs/quarto-html/quarto-syntax-highlighting.css +179 -0
- data/docs/_site/site_libs/quarto-html/quarto.js +889 -0
- data/docs/_site/site_libs/quarto-html/tippy.css +1 -0
- data/docs/_site/site_libs/quarto-html/tippy.umd.min.js +2 -0
- data/docs/_site/site_libs/quarto-nav/headroom.min.js +7 -0
- data/docs/_site/site_libs/quarto-nav/quarto-nav.js +288 -0
- data/docs/_site/site_libs/quarto-search/autocomplete.umd.js +3 -0
- data/docs/_site/site_libs/quarto-search/fuse.min.js +9 -0
- data/docs/_site/site_libs/quarto-search/quarto-search.js +1241 -0
- data/docs/_site/utils/doi_utils.html +787 -0
- data/docs/_site/writers/bibtex_writer.html +803 -0
- data/docs/favicon.ico +0 -0
- data/docs/images/icon.png +0 -0
- data/docs/index.qmd +83 -0
- data/docs/readers/bibtex_reader.ipynb +37 -0
- data/docs/theme.scss +7 -0
- data/docs/utils/doi_utils.ipynb +28 -0
- data/docs/writers/bibtex_writer.ipynb +39 -0
- data/lib/commonmeta/cli.rb +5 -5
- data/lib/commonmeta/readers/json_feed_reader.rb +4 -4
- data/lib/commonmeta/version.rb +1 -1
- data/spec/cli_spec.rb +2 -2
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_blog_slug.yml +71 -0
- data/spec/readers/json_feed_reader_spec.rb +2 -2
- metadata +40 -3
data/docs/favicon.ico
ADDED
|
Binary file
|
|
Binary file
|
data/docs/index.qmd
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Guide
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
[](https://doi.org/10.5281/zenodo.5785519)
|
|
6
|
+
[](https://badge.fury.io/rb/commonmeta-ruby)
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
commonmeta-ruby is a Ruby gem and command-line utility for the conversion of scholarly metadata, including [schema.org](https://schema.org). Based on the [bolognese](https://github.com/datacite/bolognese) gem, but using [commonmeta](https://commonmeta.org) as the intermediate format, and supporting additional metadata formats. A Python version is available at [commonmeta-py](https://github.com/front-matter/commonmeta-py).
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
Requires Ruby 3.0 or later (Ruby 2.x [has reached its end of life](https://endoflife.date/ruby) March 2023). Then add the following to your `Gemfile` to install the
|
|
14
|
+
latest version:
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
gem 'commonmeta-ruby'
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Then run `bundle install` to install into your environment.
|
|
21
|
+
|
|
22
|
+
You can also install the gem system-wide in the usual way:
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
gem install commonmeta-ruby
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Commands
|
|
29
|
+
|
|
30
|
+
Run the `commonmeta` command with either an identifier (DOI or URL) or filename:
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
commonmeta https://doi.org/10.7554/elife.01567
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
commonmeta example.xml
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
commonmeta can read BibTeX files (file extension `.bib`), RIS files (file extension `.ris`), Crossref files (file extension `.xml`), DataCite files and CSL-JSON files.
|
|
41
|
+
|
|
42
|
+
The input format (e.g. Crossref or BibteX) is automatically detected, but
|
|
43
|
+
you can also provide the format with the `--from` or `-f` flag. The supported
|
|
44
|
+
input formats are listed in the table above.
|
|
45
|
+
|
|
46
|
+
The output format is determined by the `--to` or `-t` flag, and defaults to `schema_org`.
|
|
47
|
+
|
|
48
|
+
Show all commands with `commonmeta help`:
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
Commands:
|
|
52
|
+
commonmeta # convert metadata
|
|
53
|
+
commonmeta --version, -v # print the version
|
|
54
|
+
commonmeta help [COMMAND] # Describe available commands or one specific command
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Errors
|
|
58
|
+
|
|
59
|
+
Errors are returned to STDOUT.
|
|
60
|
+
|
|
61
|
+
All input is validated against the commonmeta JSON schema.
|
|
62
|
+
|
|
63
|
+
## Supported Metadata Formats
|
|
64
|
+
|
|
65
|
+
commonmeta-ruby reads and/or writes these metadata formats:
|
|
66
|
+
|
|
67
|
+
| Format | Name | Content Type | Read | Write |
|
|
68
|
+
| ------ | ---- | ------------ | ---- | ----- |
|
|
69
|
+
| [Commonmeta](https://commonmeta.org) | commonmeta | application/vnd.commonmeta+json | yes | yes |
|
|
70
|
+
| [CrossRef Unixref XML](https://www.crossref.org/schema/documentation/unixref1.1/unixref1.1.html) | crossref | application/vnd.crossref.unixref+xml | yes | yes |
|
|
71
|
+
| [Crossref](https://api.crossref.org) | crossref | application/vnd.crossref+json | yes | no |
|
|
72
|
+
| [DataCite](https://api.datacite.org/) | datacite | application/vnd.datacite.datacite+json | yes | yes |
|
|
73
|
+
| [Schema.org (in JSON-LD)](http://schema.org/) | schema_org | application/vnd.schemaorg.ld+json | yes | yes |
|
|
74
|
+
| [RDF XML](http://www.w3.org/TR/rdf-syntax-grammar/) | rdf_xml | application/rdf+xml | no | yes |
|
|
75
|
+
| [RDF Turtle](http://www.w3.org/TeamSubmission/turtle/) | turtle | text/turtle | no | yes |
|
|
76
|
+
| [CSL-JSON](https://citationstyles.org/) | csl | application/vnd.citationstyles.csl+json | yes | yes |
|
|
77
|
+
| [Formatted text citation](https://citationstyles.org/) | citation | text/x-bibliography | no | yes |
|
|
78
|
+
| [Codemeta](https://codemeta.github.io/) | codemeta | application/vnd.codemeta.ld+json | yes | yes |
|
|
79
|
+
| [Citation File Format (CFF)](https://citation-file-format.github.io/) | cff | application/vnd.cff+yaml | yes | yes |
|
|
80
|
+
| [JATS](https://jats.nlm.nih.gov/) | jats | application/vnd.jats+xml | no | yes |
|
|
81
|
+
| [CSV](https://en.wikipedia.org/wiki/Comma-separated_values) | csv | text/csv | no | yes |
|
|
82
|
+
| [BibTex](http://en.wikipedia.org/wiki/BibTeX) | bibtex | application/x-bibtex | yes | yes |
|
|
83
|
+
| [RIS](http://en.wikipedia.org/wiki/RIS_(file_format)) | ris | application/x-research-info-systems | yes | yes |
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cells": [
|
|
3
|
+
{
|
|
4
|
+
"cell_type": "raw",
|
|
5
|
+
"metadata": {},
|
|
6
|
+
"source": [
|
|
7
|
+
"---\n",
|
|
8
|
+
"title: BibTex Reader\n",
|
|
9
|
+
"description: |\n",
|
|
10
|
+
" This notebook shows how to read metadata in BibTex format.\n",
|
|
11
|
+
"---"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"cell_type": "markdown",
|
|
16
|
+
"metadata": {},
|
|
17
|
+
"source": [
|
|
18
|
+
"## Fetch the metadata"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"metadata": {
|
|
23
|
+
"kernelspec": {
|
|
24
|
+
"display_name": "Ruby 3.2.2",
|
|
25
|
+
"language": "ruby",
|
|
26
|
+
"name": "ruby"
|
|
27
|
+
},
|
|
28
|
+
"language_info": {
|
|
29
|
+
"file_extension": ".rb",
|
|
30
|
+
"mimetype": "application/x-ruby",
|
|
31
|
+
"name": "ruby",
|
|
32
|
+
"version": "3.2.2"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"nbformat": 4,
|
|
36
|
+
"nbformat_minor": 2
|
|
37
|
+
}
|
data/docs/theme.scss
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cells": [
|
|
3
|
+
{
|
|
4
|
+
"cell_type": "raw",
|
|
5
|
+
"metadata": {},
|
|
6
|
+
"source": [
|
|
7
|
+
"---\n",
|
|
8
|
+
"title: doi_utils\n",
|
|
9
|
+
"---"
|
|
10
|
+
]
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"metadata": {
|
|
14
|
+
"kernelspec": {
|
|
15
|
+
"display_name": "Ruby 3.2.2",
|
|
16
|
+
"language": "ruby",
|
|
17
|
+
"name": "ruby"
|
|
18
|
+
},
|
|
19
|
+
"language_info": {
|
|
20
|
+
"file_extension": ".rb",
|
|
21
|
+
"mimetype": "application/x-ruby",
|
|
22
|
+
"name": "ruby",
|
|
23
|
+
"version": "3.2.2"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"nbformat": 4,
|
|
27
|
+
"nbformat_minor": 2
|
|
28
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cells": [
|
|
3
|
+
{
|
|
4
|
+
"cell_type": "raw",
|
|
5
|
+
"metadata": {},
|
|
6
|
+
"source": [
|
|
7
|
+
"---\n",
|
|
8
|
+
"title: BibTex Writer\n",
|
|
9
|
+
"description: |\n",
|
|
10
|
+
" This notebook shows how to generate BibTex metadata from a scholarly resource in commonmeta format generated by commonmeta-ruby.\n",
|
|
11
|
+
"---"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"cell_type": "markdown",
|
|
16
|
+
"metadata": {},
|
|
17
|
+
"source": [
|
|
18
|
+
"## Fetch the metadata\n",
|
|
19
|
+
"\n",
|
|
20
|
+
"As with all commonmeta-ruby notebooks, we start by fetching metadata, in this example a journal article via its Crossref DOI, and then convert it to the commonmeta format."
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"metadata": {
|
|
25
|
+
"kernelspec": {
|
|
26
|
+
"display_name": "Ruby 3.2.2",
|
|
27
|
+
"language": "ruby",
|
|
28
|
+
"name": "ruby"
|
|
29
|
+
},
|
|
30
|
+
"language_info": {
|
|
31
|
+
"file_extension": ".rb",
|
|
32
|
+
"mimetype": "application/x-ruby",
|
|
33
|
+
"name": "ruby",
|
|
34
|
+
"version": "3.2.2"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"nbformat": 4,
|
|
38
|
+
"nbformat_minor": 2
|
|
39
|
+
}
|
data/lib/commonmeta/cli.rb
CHANGED
|
@@ -71,8 +71,8 @@ module Commonmeta
|
|
|
71
71
|
|
|
72
72
|
desc "", "encode_by_blog"
|
|
73
73
|
|
|
74
|
-
def encode_by_blog(
|
|
75
|
-
prefix =
|
|
74
|
+
def encode_by_blog(blog_slug)
|
|
75
|
+
prefix = get_doi_prefix_by_blog_slug(blog_slug)
|
|
76
76
|
return nil unless prefix.present?
|
|
77
77
|
puts encode_doi(prefix)
|
|
78
78
|
end
|
|
@@ -115,10 +115,10 @@ module Commonmeta
|
|
|
115
115
|
puts get_json_feed_by_blog(id)
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
desc "", "
|
|
118
|
+
desc "", "json_feed_blog_slug"
|
|
119
119
|
|
|
120
|
-
def
|
|
121
|
-
puts
|
|
120
|
+
def json_feed_blog_slug(slug)
|
|
121
|
+
puts get_json_feed_blog_slug(slug)
|
|
122
122
|
end
|
|
123
123
|
|
|
124
124
|
desc "", "update_ghost_post"
|
|
@@ -212,8 +212,8 @@ module Commonmeta
|
|
|
212
212
|
blog["items"].map { |item| item["id"] }.first
|
|
213
213
|
end
|
|
214
214
|
|
|
215
|
-
def
|
|
216
|
-
# get JSON Feed item by id and return blog
|
|
215
|
+
def get_json_feed_blog_slug(id)
|
|
216
|
+
# get JSON Feed item by id and return blog slug
|
|
217
217
|
|
|
218
218
|
url = json_feed_item_by_id_url(id)
|
|
219
219
|
response = HTTP.get(url)
|
|
@@ -223,10 +223,10 @@ module Commonmeta
|
|
|
223
223
|
post.to_h.dig("blog", "slug")
|
|
224
224
|
end
|
|
225
225
|
|
|
226
|
-
def
|
|
226
|
+
def get_doi_prefix_by_blog_slug(blog_slug)
|
|
227
227
|
# for generating a random DOI.
|
|
228
228
|
|
|
229
|
-
url = json_feed_by_blog_url(
|
|
229
|
+
url = json_feed_by_blog_url(blog_slug)
|
|
230
230
|
response = HTTP.get(url)
|
|
231
231
|
return nil unless response.status.success?
|
|
232
232
|
|
data/lib/commonmeta/version.rb
CHANGED
data/spec/cli_spec.rb
CHANGED
|
@@ -379,9 +379,9 @@ describe Commonmeta::CLI do
|
|
|
379
379
|
expect { subject.json_feed_by_blog input }.to output(/3749f8c4-1ba7-4e51-9dd6-9d9551ad451a/).to_stdout
|
|
380
380
|
end
|
|
381
381
|
|
|
382
|
-
it "
|
|
382
|
+
it "json_feed_blog_slug" do
|
|
383
383
|
input = "01a92f9a-f8e0-442b-86e2-11530d9d5635"
|
|
384
|
-
expect { subject.
|
|
384
|
+
expect { subject.json_feed_blog_slug input }.to output(/eve/).to_stdout
|
|
385
385
|
end
|
|
386
386
|
end
|
|
387
387
|
end
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.rogue-scholar.org/posts/01a92f9a-f8e0-442b-86e2-11530d9d5635
|
|
6
|
+
body:
|
|
7
|
+
encoding: ASCII-8BIT
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Connection:
|
|
11
|
+
- close
|
|
12
|
+
Host:
|
|
13
|
+
- api.rogue-scholar.org
|
|
14
|
+
User-Agent:
|
|
15
|
+
- http.rb/5.1.1
|
|
16
|
+
response:
|
|
17
|
+
status:
|
|
18
|
+
code: 200
|
|
19
|
+
message: OK
|
|
20
|
+
headers:
|
|
21
|
+
Content-Type:
|
|
22
|
+
- application/json
|
|
23
|
+
Content-Length:
|
|
24
|
+
- '3313'
|
|
25
|
+
Ratelimit-Limit:
|
|
26
|
+
- '15'
|
|
27
|
+
Ratelimit-Remaining:
|
|
28
|
+
- '14'
|
|
29
|
+
Ratelimit-Reset:
|
|
30
|
+
- '3'
|
|
31
|
+
Date:
|
|
32
|
+
- Mon, 25 Dec 2023 10:38:50 GMT
|
|
33
|
+
Server:
|
|
34
|
+
- Fly/9e37a80f (2023-12-22)
|
|
35
|
+
Via:
|
|
36
|
+
- 1.1 fly.io
|
|
37
|
+
Fly-Request-Id:
|
|
38
|
+
- 01HJG8WMFGNRM35PXT9HSQJYJH-fra
|
|
39
|
+
body:
|
|
40
|
+
encoding: UTF-8
|
|
41
|
+
string: '{"archive_url":"https://wayback.archive-it.org/22123/20231101171300/https://eve.gd/2017/05/07/an-important-note-if-you-have-a-lenovo-g580","authors":[{"name":"Martin
|
|
42
|
+
Paul Eve","url":"https://orcid.org/0000-0002-5589-8511"}],"blog":{"api":false,"archive_prefix":"https://wayback.archive-it.org/22123/20231101171300/","authors":[{"name":"Martin
|
|
43
|
+
Paul Eve","url":null}],"backlog":0,"canonical_url":null,"category":"languagesAndLiterature","created_at":1690329600,"current_feed_url":"https://eve.gd/feed/feed.atom","description":null,"favicon":"https://eve.gd/favicon.png","feed_format":"application/atom+xml","feed_url":"https://eve.gd/feed_all.xml","filter":null,"funding":null,"generator":"Jekyll","generator_raw":"Jekyll","home_page_url":"https://eve.gd","id":"z4b9d78","indexed":false,"issn":null,"language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","plan":"Team","prefix":"10.59348","relative_url":"blog","secure":true,"slug":"eve","status":"active","title":"Martin
|
|
44
|
+
Paul Eve","updated_at":1702425600,"use_api":null,"use_mastodon":false,"user_id":"eb3f6a26-3e38-42ad-b752-250eb2c0bf89","version":"https://jsonfeed.org/version/1.1"},"blog_name":"Martin
|
|
45
|
+
Paul Eve","blog_slug":"eve","content_text":"The Lenovo G580 comes with Windows
|
|
46
|
+
8. It is possible to permanently lock\nyourself out of the operating system
|
|
47
|
+
if you begin with a Microsoft\naccount and migrate this to a local account.
|
|
48
|
+
Further, you won''t be able\nto rescue the system since *it is impossible
|
|
49
|
+
to enter the BIOS setup in\nthe machine''s default state if you cannot login
|
|
50
|
+
to Windows*.\n\nTo fix this:\n\n1. Disable \"fast boot\" mode in Windows
|
|
51
|
+
8. You can do this in \"Power\n Settings\". If you don''t do this, you
|
|
52
|
+
can''t modify the Windows disk\n partition when booting from a recovery
|
|
53
|
+
USB.\n2. [Update your\n BIOS](https://download.lenovo.com/consumer/mobiles/62cn97ww_64.exe).\n Do
|
|
54
|
+
it now or you won''t be able to unless you can still login to\n Windows
|
|
55
|
+
8.\n3. Go into the BIOS (shutdown the machine then press the small button\n next
|
|
56
|
+
to the power button and select \"BIOS setup\"). Then, set an\n administrator
|
|
57
|
+
password in the BIOS settings. Then, \"disable secure\n boot\". This will
|
|
58
|
+
allow you to boot from a recovery USB stick such as\n Kali or Ubuntu.\n\nUrgh.
|
|
59
|
+
A Catch-22 where Microsoft Windows corrupted a login (thanks,\nMicrosoft)
|
|
60
|
+
and a hardware defect stops you booting into a recovery\nmedium (thanks, Lenovo).\n\n[An
|
|
61
|
+
important note if you have a Lenovo\nG580](https://eve.gd/2017/05/07/an-important-note-if-you-have-a-lenovo-g580/)\nwas
|
|
62
|
+
originally published by Martin Paul Eve at [Martin Paul\nEve](https://eve.gd)
|
|
63
|
+
on May 07, 2017.\n","doi":"https://doi.org/10.59348/dmq66-f5d26","guid":"https://eve.gd/2017/05/07/an-important-note-if-you-have-a-lenovo-g580","id":"01a92f9a-f8e0-442b-86e2-11530d9d5635","image":null,"indexed_at":1696162656,"language":"en","published_at":1494172558,"reference":[],"relationships":[],"summary":"The
|
|
64
|
+
Lenovo G580 comes with Windows 8. It is possible to permanently lock yourself
|
|
65
|
+
out of the operating system if you begin with a Microsoft account and migrate
|
|
66
|
+
this to a local account.\n","tags":[],"title":"An important note if you have
|
|
67
|
+
a Lenovo G580","updated_at":1494115200,"url":"https://eve.gd/2017/05/07/an-important-note-if-you-have-a-lenovo-g580"}
|
|
68
|
+
|
|
69
|
+
'
|
|
70
|
+
recorded_at: Mon, 25 Dec 2023 10:38:50 GMT
|
|
71
|
+
recorded_with: VCR 6.2.0
|
|
@@ -528,7 +528,7 @@ describe Commonmeta::Metadata, vcr: true do
|
|
|
528
528
|
|
|
529
529
|
context "get doi_prefix for blog", vcr: true do
|
|
530
530
|
it "by blog_id" do
|
|
531
|
-
response = subject.
|
|
531
|
+
response = subject.get_doi_prefix_by_blog_slug("iphylo")
|
|
532
532
|
expect(response).to eq("10.59350")
|
|
533
533
|
end
|
|
534
534
|
|
|
@@ -545,7 +545,7 @@ describe Commonmeta::Metadata, vcr: true do
|
|
|
545
545
|
|
|
546
546
|
context "get blog_id for json_feed item id", vcr: true do
|
|
547
547
|
it "by blog post id" do
|
|
548
|
-
response = subject.
|
|
548
|
+
response = subject.get_json_feed_blog_slug("1898d2d7-4d87-4487-96c4-3073cf99e9a5")
|
|
549
549
|
expect(response).to eq("sfmatheson")
|
|
550
550
|
end
|
|
551
551
|
|
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.7.
|
|
4
|
+
version: 3.7.3
|
|
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-
|
|
11
|
+
date: 2023-12-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -599,6 +599,7 @@ files:
|
|
|
599
599
|
- ".github/workflows/build.yml"
|
|
600
600
|
- ".github/workflows/changelog.yml"
|
|
601
601
|
- ".github/workflows/codeql-analysis.yml"
|
|
602
|
+
- ".github/workflows/publish.yml"
|
|
602
603
|
- ".github/workflows/rubocop.yml"
|
|
603
604
|
- ".gitignore"
|
|
604
605
|
- ".rubocop.yml"
|
|
@@ -615,6 +616,41 @@ files:
|
|
|
615
616
|
- bin/commonmeta
|
|
616
617
|
- commonmeta.gemspec
|
|
617
618
|
- csl-data.json
|
|
619
|
+
- docs/.gitignore
|
|
620
|
+
- docs/_publish.yml
|
|
621
|
+
- docs/_quarto.yml
|
|
622
|
+
- docs/_site/favicon.ico
|
|
623
|
+
- docs/_site/images/icon.png
|
|
624
|
+
- docs/_site/index.html
|
|
625
|
+
- docs/_site/readers/bibtex_reader.html
|
|
626
|
+
- docs/_site/search.json
|
|
627
|
+
- docs/_site/site_libs/bootstrap/bootstrap-dark.min.css
|
|
628
|
+
- docs/_site/site_libs/bootstrap/bootstrap-icons.css
|
|
629
|
+
- docs/_site/site_libs/bootstrap/bootstrap-icons.woff
|
|
630
|
+
- docs/_site/site_libs/bootstrap/bootstrap.min.css
|
|
631
|
+
- docs/_site/site_libs/bootstrap/bootstrap.min.js
|
|
632
|
+
- docs/_site/site_libs/clipboard/clipboard.min.js
|
|
633
|
+
- docs/_site/site_libs/quarto-html/anchor.min.js
|
|
634
|
+
- docs/_site/site_libs/quarto-html/popper.min.js
|
|
635
|
+
- docs/_site/site_libs/quarto-html/quarto-syntax-highlighting-dark.css
|
|
636
|
+
- docs/_site/site_libs/quarto-html/quarto-syntax-highlighting.css
|
|
637
|
+
- docs/_site/site_libs/quarto-html/quarto.js
|
|
638
|
+
- docs/_site/site_libs/quarto-html/tippy.css
|
|
639
|
+
- docs/_site/site_libs/quarto-html/tippy.umd.min.js
|
|
640
|
+
- docs/_site/site_libs/quarto-nav/headroom.min.js
|
|
641
|
+
- docs/_site/site_libs/quarto-nav/quarto-nav.js
|
|
642
|
+
- docs/_site/site_libs/quarto-search/autocomplete.umd.js
|
|
643
|
+
- docs/_site/site_libs/quarto-search/fuse.min.js
|
|
644
|
+
- docs/_site/site_libs/quarto-search/quarto-search.js
|
|
645
|
+
- docs/_site/utils/doi_utils.html
|
|
646
|
+
- docs/_site/writers/bibtex_writer.html
|
|
647
|
+
- docs/favicon.ico
|
|
648
|
+
- docs/images/icon.png
|
|
649
|
+
- docs/index.qmd
|
|
650
|
+
- docs/readers/bibtex_reader.ipynb
|
|
651
|
+
- docs/theme.scss
|
|
652
|
+
- docs/utils/doi_utils.ipynb
|
|
653
|
+
- docs/writers/bibtex_writer.ipynb
|
|
618
654
|
- lib/commonmeta.rb
|
|
619
655
|
- lib/commonmeta/array.rb
|
|
620
656
|
- lib/commonmeta/author_utils.rb
|
|
@@ -791,6 +827,7 @@ files:
|
|
|
791
827
|
- spec/fixtures/vcr_cassettes/Commonmeta_CLI/find_from_format_by_id/medra.yml
|
|
792
828
|
- spec/fixtures/vcr_cassettes/Commonmeta_CLI/find_from_format_by_id/op.yml
|
|
793
829
|
- spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_blog_id.yml
|
|
830
|
+
- spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_blog_slug.yml
|
|
794
831
|
- spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_by_blog.yml
|
|
795
832
|
- spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_unregistered.yml
|
|
796
833
|
- spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_updated.yml
|
|
@@ -1053,7 +1090,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1053
1090
|
- !ruby/object:Gem::Version
|
|
1054
1091
|
version: '0'
|
|
1055
1092
|
requirements: []
|
|
1056
|
-
rubygems_version: 3.4.
|
|
1093
|
+
rubygems_version: 3.4.22
|
|
1057
1094
|
signing_key:
|
|
1058
1095
|
specification_version: 4
|
|
1059
1096
|
summary: Ruby client library for conversion of scholarly metadata
|