jekyll-theme-zer0 1.14.0 → 1.16.0
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/CHANGELOG.md +37 -0
- data/README.md +23 -21
- data/_data/backlog.yml +36 -13
- data/_data/features.yml +15 -0
- data/_data/roadmap.yml +23 -9
- data/_data/theme-manifest.yml +428 -0
- data/_includes/components/ai-chat.html +579 -0
- data/_includes/core/footer.html +3 -1
- data/_layouts/root.html +3 -0
- data/_plugins/obsidian_links.rb +18 -5
- data/_sass/tokens/_layers.scss +1 -0
- data/assets/js/palette-generator.js +1 -1
- data/assets/js/theme-customizer.js +3 -1
- data/scripts/bin/audit-consumer +336 -0
- data/scripts/bin/manifest +183 -0
- data/scripts/bin/release +15 -1
- data/scripts/bin/sync-plugins +356 -0
- data/scripts/bin/validate +2 -1
- data/scripts/lib/audit.sh +284 -0
- data/scripts/lib/frontmatter.sh +4 -2
- data/scripts/test/lib/run_tests.sh +1 -0
- data/scripts/test/lib/test_locale_independence.sh +32 -0
- metadata +10 -3
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
# Locale-independence regression guard (T-015)
|
|
4
|
+
#
|
|
5
|
+
# PR #132 fixed `invalid byte sequence in US-ASCII` crashes in the Ruby
|
|
6
|
+
# tooling that only reproduced when no UTF-8 locale was set (minimal
|
|
7
|
+
# containers, some CI runners). These tests run the validators under
|
|
8
|
+
# LC_ALL=C LANG=C so the bug class cannot silently return: the repo files
|
|
9
|
+
# they read (README.md, _data/*.yml, package.json) contain multibyte
|
|
10
|
+
# characters, so any locale-dependent File.read regresses to a crash here.
|
|
11
|
+
|
|
12
|
+
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../../.." && pwd)"
|
|
13
|
+
|
|
14
|
+
echo "Testing locale independence (LC_ALL=C LANG=C)..."
|
|
15
|
+
|
|
16
|
+
assert_true "(cd '$REPO_ROOT' && LC_ALL=C LANG=C ruby scripts/generate-roadmap.rb --check >/dev/null 2>&1)" \
|
|
17
|
+
"generate-roadmap.rb --check survives a C locale"
|
|
18
|
+
|
|
19
|
+
assert_true "(cd '$REPO_ROOT' && LC_ALL=C LANG=C ruby scripts/generate-roadmap.rb --validate >/dev/null 2>&1)" \
|
|
20
|
+
"generate-roadmap.rb --validate survives a C locale"
|
|
21
|
+
|
|
22
|
+
assert_true "(cd '$REPO_ROOT' && LC_ALL=C LANG=C ruby scripts/sync-backlog.rb --check >/dev/null 2>&1)" \
|
|
23
|
+
"sync-backlog.rb --check survives a C locale"
|
|
24
|
+
|
|
25
|
+
assert_true "(cd '$REPO_ROOT' && LC_ALL=C LANG=C ./scripts/lint-pages --strict >/dev/null 2>&1)" \
|
|
26
|
+
"lint-pages --strict survives a C locale"
|
|
27
|
+
|
|
28
|
+
# validate --quick covers the package.json read in scripts/bin/validate
|
|
29
|
+
assert_true "(cd '$REPO_ROOT' && LC_ALL=C LANG=C ./scripts/bin/validate --quick >/dev/null 2>&1)" \
|
|
30
|
+
"validate --quick survives a C locale"
|
|
31
|
+
|
|
32
|
+
echo -e "\n${GREEN}locale-independence tests complete${NC}"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-zer0
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.16.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amr Abdel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -100,6 +100,7 @@ files:
|
|
|
100
100
|
- _data/prompts.yml
|
|
101
101
|
- _data/roadmap.yml
|
|
102
102
|
- _data/statistics_config.yml
|
|
103
|
+
- _data/theme-manifest.yml
|
|
103
104
|
- _data/theme_backgrounds.yml
|
|
104
105
|
- _data/theme_skins.yml
|
|
105
106
|
- _data/ui-text.yml
|
|
@@ -111,6 +112,7 @@ files:
|
|
|
111
112
|
- _includes/analytics/posthog.html
|
|
112
113
|
- _includes/components/README.md
|
|
113
114
|
- _includes/components/admin-tabs.html
|
|
115
|
+
- _includes/components/ai-chat.html
|
|
114
116
|
- _includes/components/analytics-dashboard.html
|
|
115
117
|
- _includes/components/author-card.html
|
|
116
118
|
- _includes/components/author-eeat.html
|
|
@@ -363,9 +365,12 @@ files:
|
|
|
363
365
|
- assets/vendor/mermaid/mermaid.min.js
|
|
364
366
|
- scripts/README.md
|
|
365
367
|
- scripts/analyze-commits.sh
|
|
368
|
+
- scripts/bin/audit-consumer
|
|
366
369
|
- scripts/bin/build
|
|
367
370
|
- scripts/bin/install
|
|
371
|
+
- scripts/bin/manifest
|
|
368
372
|
- scripts/bin/release
|
|
373
|
+
- scripts/bin/sync-plugins
|
|
369
374
|
- scripts/bin/test
|
|
370
375
|
- scripts/bin/validate
|
|
371
376
|
- scripts/build
|
|
@@ -430,6 +435,7 @@ files:
|
|
|
430
435
|
- scripts/install/tui.sh
|
|
431
436
|
- scripts/install/upgrade.sh
|
|
432
437
|
- scripts/lib/README.md
|
|
438
|
+
- scripts/lib/audit.sh
|
|
433
439
|
- scripts/lib/changelog.sh
|
|
434
440
|
- scripts/lib/common.sh
|
|
435
441
|
- scripts/lib/frontmatter.sh
|
|
@@ -483,6 +489,7 @@ files:
|
|
|
483
489
|
- scripts/test/lib/test_changelog.sh
|
|
484
490
|
- scripts/test/lib/test_gem.sh
|
|
485
491
|
- scripts/test/lib/test_git.sh
|
|
492
|
+
- scripts/test/lib/test_locale_independence.sh
|
|
486
493
|
- scripts/test/lib/test_validation.sh
|
|
487
494
|
- scripts/test/lib/test_version.sh
|
|
488
495
|
- scripts/test/theme/validate
|
|
@@ -510,7 +517,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
510
517
|
requirements:
|
|
511
518
|
- - ">="
|
|
512
519
|
- !ruby/object:Gem::Version
|
|
513
|
-
version: 2
|
|
520
|
+
version: '3.2'
|
|
514
521
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
515
522
|
requirements:
|
|
516
523
|
- - ">="
|