From ad32dffcdf9404a4e7748664f1249de1bf5321c9 Mon Sep 17 00:00:00 2001 From: Benjamin Oakes Date: Thu, 20 Jun 2024 17:27:11 -0500 Subject: [PATCH] Add `slim` gem Closes #2 --- Gemfile | 3 +++ Gemfile.lock | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/Gemfile b/Gemfile index c3b1136..809bcca 100644 --- a/Gemfile +++ b/Gemfile @@ -17,6 +17,9 @@ gem "puma", ">= 5.0" # Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails] gem "importmap-rails" +# Use Slim templates [https://slim-template.github.io/] +gem "slim", "~> 5.2" + # Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev] gem "turbo-rails" diff --git a/Gemfile.lock b/Gemfile.lock index f66ce0d..a256ccf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -199,6 +199,9 @@ GEM rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) + slim (5.2.1) + temple (~> 0.10.0) + tilt (>= 2.1.0) sprockets (4.2.1) concurrent-ruby (~> 1.0) rack (>= 2.2.4, < 4) @@ -211,7 +214,9 @@ GEM railties (>= 6.0.0) stringio (3.1.1) strscan (3.1.0) + temple (0.10.3) thor (1.3.1) + tilt (2.3.0) timeout (0.4.1) turbo-rails (2.0.5) actionpack (>= 6.0.0) @@ -245,6 +250,7 @@ DEPENDENCIES puma (>= 5.0) rails (~> 7.1.3, >= 7.1.3.4) selenium-webdriver + slim (~> 5.2) sprockets-rails sqlite3 (~> 1.4) stimulus-rails