From 8c0baf9cdbc91966aaffc522794ccb7e2c28015c Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 9 Jul 2023 14:08:26 +0800 Subject: [PATCH] docs/site: update Gem environment --- docs/Gemfile | 2 ++ docs/Gemfile.lock | 4 ++++ docs/gemset.nix | 39 +++++++++++++++++++++++++++++++++++---- docs/shell.nix | 4 ++-- 4 files changed, 43 insertions(+), 6 deletions(-) diff --git a/docs/Gemfile b/docs/Gemfile index de32b9fd..57481b81 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -7,6 +7,8 @@ gem 'asciidoctor-foodogsquared-extensions' gem 'concurrent-ruby' gem 'open-uri-cached' gem 'rouge' +gem 'slim' +gem 'tilt' group :development do gem 'rake' diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index ba7ae6a3..acf6ac87 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -53,6 +53,8 @@ GEM sorbet-runtime (0.5.10908) syntax_tree (6.1.1) prettier_print (>= 1.2.0) + temple (0.10.2) + tilt (2.2.0) unicode-display_width (2.4.2) PLATFORMS @@ -68,6 +70,8 @@ DEPENDENCIES rouge rubocop ruby-lsp + slim + tilt BUNDLED WITH 2.4.10 diff --git a/docs/gemset.nix b/docs/gemset.nix index accd0620..fb70e27d 100644 --- a/docs/gemset.nix +++ b/docs/gemset.nix @@ -46,10 +46,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0jkc89m22fwjc4qn481rxyv5yif2yqqhw3ib4d6qkqcv2a21448g"; + sha256 = "12qgr84flqm7dnbykw1cz87b62k6akc2z1y35qkb5jx1q8rrsn2c"; type = "gem"; }; - version = "1.0.0"; + version = "1.0.1"; }; ast = { groups = ["default" "lint"]; @@ -245,15 +245,26 @@ }; version = "1.6.3"; }; + slim = { + dependencies = ["temple" "tilt"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0np6jr8apbyvr20ylb6n4m27y4d4vkdm7h41qrf5mdxw00x5irjl"; + type = "gem"; + }; + version = "5.1.1"; + }; sorbet-runtime = { groups = ["default" "development"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1rvyynwl6wj9hpbm1ds08d3djxhj4c1mbg83wqa7dn5gw6ivsgvy"; + sha256 = "1bwnc5shy8zi2lpza53qihdmaf45flj4w1qnpclv3ykjjyy7x3xf"; type = "gem"; }; - version = "0.5.10904"; + version = "0.5.10908"; }; syntax_tree = { dependencies = ["prettier_print"]; @@ -266,6 +277,26 @@ }; version = "6.1.1"; }; + temple = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "09p32vp94sa1mbr0if0adf02yzc4ns00lsmpwns2xbkncwpzrqm4"; + type = "gem"; + }; + version = "0.10.2"; + }; + tilt = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0bmjgbv8158klwp2r3klxjwaj93nh1sbl4xvj9wsha0ic478avz7"; + type = "gem"; + }; + version = "2.2.0"; + }; unicode-display_width = { groups = ["default" "lint"]; platforms = []; diff --git a/docs/shell.nix b/docs/shell.nix index 75d6d8e8..3fe9701d 100644 --- a/docs/shell.nix +++ b/docs/shell.nix @@ -4,7 +4,7 @@ with pkgs; let asciidoctorWrapper = writeShellScriptBin "asciidoctor" '' - ${lib.getBin gems}/bin/asciidoctor -T ${./assets/templates/asciidoctor} + ${lib.getBin gems}/bin/asciidoctor -T ${./assets/templates/asciidoctor} $@ ''; gems = bundlerEnv { @@ -15,11 +15,11 @@ let in mkShell { packages = [ + asciidoctorWrapper gems gems.wrappedRuby bundix - asciidoctorWrapper hugo go nodePackages.prettier