commonmeta-ruby 3.7.1 → 3.7.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/publish.yml +23 -0
  3. data/Gemfile.lock +26 -26
  4. data/bin/commonmeta +1 -1
  5. data/docs/.gitignore +1 -0
  6. data/docs/_publish.yml +4 -0
  7. data/docs/_quarto.yml +46 -0
  8. data/docs/_site/favicon.ico +0 -0
  9. data/docs/_site/images/icon.png +0 -0
  10. data/docs/_site/index.html +947 -0
  11. data/docs/_site/readers/bibtex_reader.html +802 -0
  12. data/docs/_site/search.json +74 -0
  13. data/docs/_site/site_libs/bootstrap/bootstrap-dark.min.css +9 -0
  14. data/docs/_site/site_libs/bootstrap/bootstrap-icons.css +2078 -0
  15. data/docs/_site/site_libs/bootstrap/bootstrap-icons.woff +0 -0
  16. data/docs/_site/site_libs/bootstrap/bootstrap.min.css +9 -0
  17. data/docs/_site/site_libs/bootstrap/bootstrap.min.js +7 -0
  18. data/docs/_site/site_libs/clipboard/clipboard.min.js +7 -0
  19. data/docs/_site/site_libs/quarto-html/anchor.min.js +9 -0
  20. data/docs/_site/site_libs/quarto-html/popper.min.js +6 -0
  21. data/docs/_site/site_libs/quarto-html/quarto-syntax-highlighting-dark.css +179 -0
  22. data/docs/_site/site_libs/quarto-html/quarto-syntax-highlighting.css +179 -0
  23. data/docs/_site/site_libs/quarto-html/quarto.js +889 -0
  24. data/docs/_site/site_libs/quarto-html/tippy.css +1 -0
  25. data/docs/_site/site_libs/quarto-html/tippy.umd.min.js +2 -0
  26. data/docs/_site/site_libs/quarto-nav/headroom.min.js +7 -0
  27. data/docs/_site/site_libs/quarto-nav/quarto-nav.js +288 -0
  28. data/docs/_site/site_libs/quarto-search/autocomplete.umd.js +3 -0
  29. data/docs/_site/site_libs/quarto-search/fuse.min.js +9 -0
  30. data/docs/_site/site_libs/quarto-search/quarto-search.js +1241 -0
  31. data/docs/_site/utils/doi_utils.html +787 -0
  32. data/docs/_site/writers/bibtex_writer.html +803 -0
  33. data/docs/favicon.ico +0 -0
  34. data/docs/images/icon.png +0 -0
  35. data/docs/index.qmd +83 -0
  36. data/docs/readers/bibtex_reader.ipynb +37 -0
  37. data/docs/theme.scss +7 -0
  38. data/docs/utils/doi_utils.ipynb +28 -0
  39. data/docs/writers/bibtex_writer.ipynb +39 -0
  40. data/lib/commonmeta/cli.rb +8 -8
  41. data/lib/commonmeta/readers/json_feed_reader.rb +6 -6
  42. data/lib/commonmeta/utils.rb +2 -2
  43. data/lib/commonmeta/version.rb +1 -1
  44. data/spec/cli_spec.rb +5 -5
  45. data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_blog_slug.yml +71 -0
  46. data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_updated.yml +186 -0
  47. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/updated_posts.yml +186 -0
  48. data/spec/readers/json_feed_reader_spec.rb +5 -5
  49. metadata +42 -5
  50. data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_not_indexed.yml +0 -37
  51. 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: e60c424c5990d121493b7cdc7db9d0b2b9a7697044c0278d5e8c3be16157d62b
4
- data.tar.gz: cd24f41eff23c37f380ec8818301bec32839bcf332711701b135bdb41e0dfe30
3
+ metadata.gz: e3a1f9e1a7b45f6e17fefa1733d0d5e7bf7de101ce8105cd52476807aadcdedc
4
+ data.tar.gz: '086ce7969801a3818fa130b91d62f8d4fc87419ceb5bc0080f2ff53dfcc124bb'
5
5
  SHA512:
6
- metadata.gz: aa0286bb0aceb0619a97bc43a7ffca61b7d6400b46e64e435f98ec7e83645a3eee7ef8fb3a2c76770a75ac43c8a5f7d6187c8101c1f279fc58e3ffa4649105be
7
- data.tar.gz: e6720fa86ee5f18bf71f83ea076f2bf7103b2617a36eecb9216b92840ae0d4966b25c8fb10cafb9ad335f648f2c0d632bc800afd785e08584bde643db37ddfb9
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.1)
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.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.1.1)
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.4)
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.5.20190701)
71
- unf (>= 0.0.5, < 1.0.0)
72
- drb (2.1.1)
70
+ domain_name (0.6.20231109)
71
+ drb (2.2.0)
73
72
  ruby2_keywords
74
- ebnf (2.4.0)
73
+ ebnf (2.5.0)
75
74
  htmlentities (~> 4.3)
76
75
  rdf (~> 3.3)
77
76
  scanf (~> 1.0)
78
- sxp (~> 1.3)
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.6.3)
105
- json-canonicalization (0.3.2)
106
- json-ld (3.3.0)
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 (~> 0.3, >= 0.3.2)
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.21.4)
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.1.2)
136
+ mutex_m (0.2.0)
138
137
  namae (1.1.1)
139
- nokogiri (1.15.4-arm64-darwin)
138
+ nokogiri (1.15.5-arm64-darwin)
140
139
  racc (~> 1.4)
141
- oj (3.16.1)
140
+ oj (3.16.3)
141
+ bigdecimal (>= 3.0)
142
142
  optimist (3.1.0)
143
- parallel (1.23.0)
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.2)
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.57.2)
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.28.1, < 2.0)
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.19.1)
210
- rubocop (>= 1.7.0, < 2.0)
211
- rubocop-ast (>= 0.4.0)
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 (1.3.0)
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.8.2)
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 json_feed_not_indexed json_feed_unregistered json_feed_by_blog json_feed_blog_id update_ghost_post generate_ghost_api_token)).empty?
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
@@ -0,0 +1,4 @@
1
+ - source: project
2
+ netlify:
3
+ - id: 1820630d-bc59-43bd-923b-41b6e81bf378
4
+ url: 'https://commonmeta-ruby.netlify.app'
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 &copy;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