commonmeta-ruby 3.7.1 → 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 +26 -26
- 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 +8 -8
- data/lib/commonmeta/readers/json_feed_reader.rb +6 -6
- data/lib/commonmeta/utils.rb +2 -2
- data/lib/commonmeta/version.rb +1 -1
- data/spec/cli_spec.rb +5 -5
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_blog_slug.yml +71 -0
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_updated.yml +186 -0
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/updated_posts.yml +186 -0
- data/spec/readers/json_feed_reader_spec.rb +5 -5
- metadata +42 -5
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_not_indexed.yml +0 -37
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/not_indexed_posts.yml +0 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3a1f9e1a7b45f6e17fefa1733d0d5e7bf7de101ce8105cd52476807aadcdedc
|
4
|
+
data.tar.gz: '086ce7969801a3818fa130b91d62f8d4fc87419ceb5bc0080f2ff53dfcc124bb'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fc08586e8d3f110cc9c78e846c760021fff2a40cf4f956db5aa6ff22b0601aaf26c83a774188f5563296ab12bb2314c594bde4e524cd4d01dddd180ce301a0e
|
7
|
+
data.tar.gz: e670c12e402babbbcd01efe1deefbbcf3e61bda8060ae878dd0a90ea77e1895e7ba77b02a403b5537449129dadf380569de749e6c78c022cda2cffdaf3a107fe
|
@@ -0,0 +1,23 @@
|
|
1
|
+
on:
|
2
|
+
workflow_dispatch:
|
3
|
+
push:
|
4
|
+
branches: ["main", "master"]
|
5
|
+
|
6
|
+
name: Quarto Publish
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
build-deploy:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
steps:
|
12
|
+
- name: Check out repository
|
13
|
+
uses: actions/checkout@v4
|
14
|
+
- name: Set up Quarto
|
15
|
+
uses: quarto-dev/quarto-actions/setup@v2
|
16
|
+
with:
|
17
|
+
version: pre-release
|
18
|
+
- name: Render and Publish
|
19
|
+
uses: quarto-dev/quarto-actions/publish@v2
|
20
|
+
with:
|
21
|
+
path: docs
|
22
|
+
target: netlify
|
23
|
+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
commonmeta-ruby (3.7.
|
4
|
+
commonmeta-ruby (3.7.3)
|
5
5
|
activesupport (>= 4.2.5, < 8.0)
|
6
6
|
addressable (~> 2.8.1, < 2.8.2)
|
7
7
|
base32-url (>= 0.7.0, < 1)
|
@@ -27,7 +27,7 @@ PATH
|
|
27
27
|
GEM
|
28
28
|
remote: https://rubygems.org/
|
29
29
|
specs:
|
30
|
-
activesupport (7.1.
|
30
|
+
activesupport (7.1.2)
|
31
31
|
base64
|
32
32
|
bigdecimal
|
33
33
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -42,11 +42,11 @@ GEM
|
|
42
42
|
ast (2.4.2)
|
43
43
|
base32-url (0.7.0)
|
44
44
|
uuidtools (~> 2.1, >= 2.1.5)
|
45
|
-
base64 (0.
|
45
|
+
base64 (0.2.0)
|
46
46
|
bcp47_spec (0.2.1)
|
47
47
|
bibtex-ruby (6.0.0)
|
48
48
|
latex-decode (~> 0.0)
|
49
|
-
bigdecimal (3.1.
|
49
|
+
bigdecimal (3.1.5)
|
50
50
|
builder (3.2.4)
|
51
51
|
citeproc (1.0.10)
|
52
52
|
namae (~> 1.0)
|
@@ -67,15 +67,14 @@ GEM
|
|
67
67
|
csl (~> 2.0)
|
68
68
|
diff-lcs (1.5.0)
|
69
69
|
docile (1.4.0)
|
70
|
-
domain_name (0.
|
71
|
-
|
72
|
-
drb (2.1.1)
|
70
|
+
domain_name (0.6.20231109)
|
71
|
+
drb (2.2.0)
|
73
72
|
ruby2_keywords
|
74
|
-
ebnf (2.
|
73
|
+
ebnf (2.5.0)
|
75
74
|
htmlentities (~> 4.3)
|
76
75
|
rdf (~> 3.3)
|
77
76
|
scanf (~> 1.0)
|
78
|
-
sxp (~>
|
77
|
+
sxp (~> 2.0)
|
79
78
|
unicode-types (~> 1.8)
|
80
79
|
edtf (3.1.1)
|
81
80
|
activesupport (>= 3.0, < 8.0)
|
@@ -101,11 +100,11 @@ GEM
|
|
101
100
|
i18n (1.14.1)
|
102
101
|
concurrent-ruby (~> 1.0)
|
103
102
|
iniparser (1.0.1)
|
104
|
-
json (2.
|
105
|
-
json-canonicalization (0.
|
106
|
-
json-ld (3.3.
|
103
|
+
json (2.7.1)
|
104
|
+
json-canonicalization (1.0.0)
|
105
|
+
json-ld (3.3.1)
|
107
106
|
htmlentities (~> 4.3)
|
108
|
-
json-canonicalization (~>
|
107
|
+
json-canonicalization (~> 1.0)
|
109
108
|
link_header (~> 0.0, >= 0.0.8)
|
110
109
|
multi_json (~> 1.15)
|
111
110
|
rack (>= 2.2, < 4)
|
@@ -128,19 +127,20 @@ GEM
|
|
128
127
|
ffi-compiler (~> 1.0)
|
129
128
|
rake (~> 13.0)
|
130
129
|
logutils (0.6.1)
|
131
|
-
loofah (2.
|
130
|
+
loofah (2.22.0)
|
132
131
|
crass (~> 1.0.2)
|
133
132
|
nokogiri (>= 1.12.0)
|
134
133
|
matrix (0.4.2)
|
135
134
|
minitest (5.20.0)
|
136
135
|
multi_json (1.15.0)
|
137
|
-
mutex_m (0.
|
136
|
+
mutex_m (0.2.0)
|
138
137
|
namae (1.1.1)
|
139
|
-
nokogiri (1.15.
|
138
|
+
nokogiri (1.15.5-arm64-darwin)
|
140
139
|
racc (~> 1.4)
|
141
|
-
oj (3.16.
|
140
|
+
oj (3.16.3)
|
141
|
+
bigdecimal (>= 3.0)
|
142
142
|
optimist (3.1.0)
|
143
|
-
parallel (1.
|
143
|
+
parallel (1.24.0)
|
144
144
|
parser (3.2.2.4)
|
145
145
|
ast (~> 2.4.1)
|
146
146
|
racc
|
@@ -171,7 +171,7 @@ GEM
|
|
171
171
|
rdf-xsd (3.3.0)
|
172
172
|
rdf (~> 3.3)
|
173
173
|
rexml (~> 3.2)
|
174
|
-
regexp_parser (2.8.
|
174
|
+
regexp_parser (2.8.3)
|
175
175
|
rexml (3.2.6)
|
176
176
|
rspec (3.12.0)
|
177
177
|
rspec-core (~> 3.12.0)
|
@@ -189,7 +189,7 @@ GEM
|
|
189
189
|
rspec-xsd (0.1.0)
|
190
190
|
nokogiri (~> 1.6)
|
191
191
|
rspec (~> 3)
|
192
|
-
rubocop (1.
|
192
|
+
rubocop (1.59.0)
|
193
193
|
json (~> 2.3)
|
194
194
|
language_server-protocol (>= 3.17.0)
|
195
195
|
parallel (~> 1.10)
|
@@ -197,7 +197,7 @@ GEM
|
|
197
197
|
rainbow (>= 2.2.2, < 4.0)
|
198
198
|
regexp_parser (>= 1.8, < 3.0)
|
199
199
|
rexml (>= 3.2.5, < 4.0)
|
200
|
-
rubocop-ast (>= 1.
|
200
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
201
201
|
ruby-progressbar (~> 1.7)
|
202
202
|
unicode-display_width (>= 2.4.0, < 3.0)
|
203
203
|
rubocop-ast (1.30.0)
|
@@ -206,9 +206,9 @@ GEM
|
|
206
206
|
rubocop (~> 1.41)
|
207
207
|
rubocop-factory_bot (2.24.0)
|
208
208
|
rubocop (~> 1.33)
|
209
|
-
rubocop-performance (1.
|
210
|
-
rubocop (>= 1.
|
211
|
-
rubocop-ast (>=
|
209
|
+
rubocop-performance (1.20.1)
|
210
|
+
rubocop (>= 1.48.1, < 2.0)
|
211
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
212
212
|
rubocop-rake (0.6.0)
|
213
213
|
rubocop (~> 1.0)
|
214
214
|
rubocop-rspec (2.25.0)
|
@@ -227,7 +227,7 @@ GEM
|
|
227
227
|
simplecov_json_formatter (0.1.4)
|
228
228
|
simpleidn (0.2.1)
|
229
229
|
unf (~> 0.1.4)
|
230
|
-
sxp (
|
230
|
+
sxp (2.0.0)
|
231
231
|
matrix (~> 0.4)
|
232
232
|
rdf (~> 3.3)
|
233
233
|
textutils (1.4.0)
|
@@ -240,7 +240,7 @@ GEM
|
|
240
240
|
concurrent-ruby (~> 1.0)
|
241
241
|
unf (0.1.4)
|
242
242
|
unf_ext
|
243
|
-
unf_ext (0.0.
|
243
|
+
unf_ext (0.0.9.1)
|
244
244
|
unicode-display_width (2.5.0)
|
245
245
|
unicode-types (1.9.0)
|
246
246
|
uuidtools (2.2.0)
|
data/bin/commonmeta
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
require File.expand_path("../../lib/commonmeta", __FILE__)
|
4
4
|
|
5
|
-
if (ARGV & %w(--version -v help --help encode decode encode_id decode_id encode_by_blog encode_by_id
|
5
|
+
if (ARGV & %w(--version -v help --help encode decode encode_id decode_id encode_by_blog encode_by_id json_feed_updated json_feed_unregistered json_feed_by_blog json_feed_blog_slug update_ghost_post generate_ghost_api_token)).empty?
|
6
6
|
Commonmeta::CLI.start(ARGV.dup.unshift("convert"))
|
7
7
|
else
|
8
8
|
Commonmeta::CLI.start
|
data/docs/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
/.quarto/
|
data/docs/_publish.yml
ADDED
data/docs/_quarto.yml
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
project:
|
2
|
+
type: website
|
3
|
+
output-dir: _site
|
4
|
+
preview:
|
5
|
+
port: 4400
|
6
|
+
execute:
|
7
|
+
freeze: true
|
8
|
+
website:
|
9
|
+
title: "commonmeta-ruby"
|
10
|
+
favicon: favicon.ico
|
11
|
+
bread-crumbs: false
|
12
|
+
navbar:
|
13
|
+
background: light
|
14
|
+
logo: "/images/icon.png"
|
15
|
+
logo-alt: "commonmeta-py"
|
16
|
+
right:
|
17
|
+
- icon: github
|
18
|
+
href: https://github.com/front-matter/commonmeta-ruby
|
19
|
+
sidebar:
|
20
|
+
contents:
|
21
|
+
- index.qmd
|
22
|
+
- section: "Readers"
|
23
|
+
contents: "readers/*.ipynb"
|
24
|
+
- section: "Writers"
|
25
|
+
contents: "writers/*.ipynb"
|
26
|
+
- section: "Utils"
|
27
|
+
contents: "utils/*.ipynb"
|
28
|
+
page-footer:
|
29
|
+
left: "Copyright ©2023 Front Matter."
|
30
|
+
right:
|
31
|
+
- icon: envelope
|
32
|
+
href: mailto:info@front-matter.io
|
33
|
+
- icon: mastodon
|
34
|
+
href: https://rogue-scholar.social/@admin
|
35
|
+
|
36
|
+
format:
|
37
|
+
html:
|
38
|
+
theme:
|
39
|
+
light: [flatly, theme.scss]
|
40
|
+
dark: [darkly, theme.scss]
|
41
|
+
code-fold: false
|
42
|
+
code-block-bg: true
|
43
|
+
code-block-border-left: "#38a169"
|
44
|
+
highlight-style: github
|
45
|
+
toc: true
|
46
|
+
toc-location: right
|
Binary file
|
Binary file
|