From a014f12df9c528e1bc0e4ea47bc841c48cf0337d Mon Sep 17 00:00:00 2001 From: onerandomusername Date: Sat, 17 May 2025 02:36:11 -0400 Subject: [PATCH] feat: drop unnecessary dependencies due to our usage of safe: true the plugins field was NEVER used in the configuration file see https://jekyllrb.com/docs/plugins/installation/ this simplifies our dependencies and uses the gem for our theme rather than using a remote theme, which means one less dependency to rely upon --- Gemfile | 2 ++ Gemfile.lock | 85 ++++++++++++++++++++++++++++++---------------------- _config.yml | 11 ++----- 3 files changed, 53 insertions(+), 45 deletions(-) diff --git a/Gemfile b/Gemfile index 7fe444c..2f8a04c 100644 --- a/Gemfile +++ b/Gemfile @@ -3,6 +3,8 @@ source "https://rubygems.org" ruby "3.2.2" +gem "minimal-mistakes-jekyll", "=4.24.0" + group :jekyll_plugins do gem "github-pages" gem "jekyll-include-cache" diff --git a/Gemfile.lock b/Gemfile.lock index 90cca3a..77a2886 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,8 +2,9 @@ GEM remote: https://rubygems.org/ specs: Ascii85 (2.0.1) - activesupport (7.2.1) + activesupport (8.0.2) base64 + benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) @@ -13,33 +14,37 @@ GEM minitest (>= 5.1) securerandom (>= 0.3) tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) afm (0.2.2) - async (2.23.1) + async (2.24.0) console (~> 1.29) fiber-annotation io-event (~> 1.9) metrics (~> 0.12) traces (~> 0.15) base64 (0.2.0) + benchmark (0.4.0) bigdecimal (3.1.9) coffee-script (2.4.1) coffee-script-source execjs coffee-script-source (1.12.2) colorator (1.1.0) - commonmarker (0.23.10) - concurrent-ruby (1.3.4) - connection_pool (2.4.1) + commonmarker (0.23.11) + concurrent-ruby (1.3.5) + connection_pool (2.5.3) console (1.30.2) fiber-annotation fiber-local (~> 1.1) json - csv (3.3.0) - dnsruby (1.72.2) + csv (3.3.4) + dnsruby (1.72.4) + base64 (~> 0.2.0) + logger (~> 1.6.5) simpleidn (~> 0.2.1) - dotenv (3.1.7) + dotenv (3.1.8) drb (2.2.1) em-websocket (0.5.3) eventmachine (>= 0.12.9) @@ -47,23 +52,23 @@ GEM ethon (0.16.0) ffi (>= 1.15.0) eventmachine (1.2.7) - execjs (2.9.1) - faraday (2.12.0) - faraday-net_http (>= 2.0, < 3.4) + execjs (2.10.0) + faraday (2.13.1) + faraday-net_http (>= 2.0, < 3.5) json logger - faraday-net_http (3.3.0) - net-http - ffi (1.17.1-aarch64-linux-gnu) - ffi (1.17.1-arm-linux-gnu) - ffi (1.17.1-arm64-darwin) - ffi (1.17.1-x86-linux-gnu) - ffi (1.17.1-x86_64-darwin) - ffi (1.17.1-x86_64-linux-gnu) + faraday-net_http (3.4.0) + net-http (>= 0.5.0) + ffi (1.17.2-aarch64-linux-gnu) + ffi (1.17.2-arm-linux-gnu) + ffi (1.17.2-arm64-darwin) + ffi (1.17.2-x86-linux-gnu) + ffi (1.17.2-x86_64-darwin) + ffi (1.17.2-x86_64-linux-gnu) fiber-annotation (0.2.0) fiber-local (1.1.0) fiber-storage - fiber-storage (1.0.0) + fiber-storage (1.0.1) forwardable-extended (2.6.0) gemoji (4.1.0) github-pages (232) @@ -132,7 +137,7 @@ GEM yell (~> 2.0) zeitwerk (~> 2.5) http_parser.rb (0.8.0) - i18n (1.14.6) + i18n (1.14.7) concurrent-ruby (~> 1.0) io-event (1.10.0) jekyll (3.10.0) @@ -247,7 +252,7 @@ GEM gemoji (>= 3, < 5) html-pipeline (~> 2.2) jekyll (>= 3.0, < 5.0) - json (2.10.2) + json (2.12.0) kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) @@ -256,29 +261,36 @@ GEM listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) - logger (1.6.1) + logger (1.6.6) mercenary (0.3.6) metrics (0.12.2) - mini_portile2 (2.8.8) + mini_portile2 (2.8.9) minima (2.5.1) jekyll (>= 3.5, < 5.0) jekyll-feed (~> 0.9) jekyll-seo-tag (~> 2.1) - minitest (5.25.1) - net-http (0.4.1) + minimal-mistakes-jekyll (4.24.0) + jekyll (>= 3.7, < 5.0) + jekyll-feed (~> 0.1) + jekyll-gist (~> 1.5) + jekyll-include-cache (~> 0.1) + jekyll-paginate (~> 1.1) + jekyll-sitemap (~> 1.3) + minitest (5.25.5) + net-http (0.6.0) uri - nokogiri (1.18.7) + nokogiri (1.18.8) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.18.7-aarch64-linux-gnu) + nokogiri (1.18.8-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.18.7-arm-linux-gnu) + nokogiri (1.18.8-arm-linux-gnu) racc (~> 1.4) - nokogiri (1.18.7-arm64-darwin) + nokogiri (1.18.8-arm64-darwin) racc (~> 1.4) - nokogiri (1.18.7-x86_64-darwin) + nokogiri (1.18.8-x86_64-darwin) racc (~> 1.4) - nokogiri (1.18.7-x86_64-linux-gnu) + nokogiri (1.18.8-x86_64-linux-gnu) racc (~> 1.4) octokit (4.25.1) faraday (>= 1, < 3) @@ -297,10 +309,10 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - rexml (3.3.9) + rexml (3.4.1) rouge (3.30.0) ruby-rc4 (0.1.5) - rubyzip (2.3.2) + rubyzip (2.4.1) safe_yaml (1.0.5) sass (3.7.4) sass-listen (~> 4.0.0) @@ -310,7 +322,7 @@ GEM sawyer (0.9.2) addressable (>= 2.3.5) faraday (>= 0.17.3, < 3) - securerandom (0.3.1) + securerandom (0.4.1) simpleidn (0.2.3) terminal-table (1.8.0) unicode-display_width (~> 1.1, >= 1.1.1) @@ -322,7 +334,7 @@ GEM tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (1.8.0) - uri (0.13.2) + uri (1.0.3) w3c_validators (1.3.7) json (>= 1.8) nokogiri (~> 1.6) @@ -345,6 +357,7 @@ DEPENDENCIES html-proofer jekyll-compose jekyll-include-cache + minimal-mistakes-jekyll (= 4.24.0) w3c_validators webrick diff --git a/_config.yml b/_config.yml index 60a7028..1df1d40 100644 --- a/_config.yml +++ b/_config.yml @@ -22,13 +22,13 @@ mastodon_username: aha@a2mi.social # Build settings kramdown: input: GFM -exclude: ['Gemfile', 'Gemfile.lock', 'README.md', 'LICENSE', 'jekyll-remote-theme-*'] +exclude: ['Gemfile', 'Gemfile.lock', 'README.md', 'LICENSE'] include: ["_pages", ".well-known"] permalink: pretty # Theme settings -remote_theme: mmistakes/minimal-mistakes@4.24.0 +theme: minimal-mistakes-jekyll minimal_mistakes_skin: 'air' title_separator: '|' teaser: /assets/images/electronics-repair.jpg # fallback teaser, overridden in page yaml @@ -54,13 +54,6 @@ footer: url: "https://a2mi.social/@aha" -# Plugins -plugins: - - jekyll-remote-theme - - jekyll-include-cache - - jekyll-feed - - jekyll-seo-tag - - jekyll-sitemap # set the proper timezone timezone: America/Detroit