From de334c7a8d12cbb2044284d26f32f9b0fd06b0b4 Mon Sep 17 00:00:00 2001
From: Felix Eckhofer <felix@eckhofer.com>
Date: Tue, 21 Jan 2025 10:57:47 +0100
Subject: [PATCH] Remove deprecated hotwire-rails gem

> This gem was aggregating the dependencies of Turbo and Stimulus,
> but offered nothing else. Aggregating dependencies is not enough
> value, so this gem is now deprecated.
> Please use the underlying frameworks directly.
(from https://github.com/hotwired/hotwire-rails)
---
 Gemfile      | 3 ++-
 Gemfile.lock | 7 ++-----
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/Gemfile b/Gemfile
index 627bf93..dd87ab2 100644
--- a/Gemfile
+++ b/Gemfile
@@ -50,7 +50,8 @@ gem "httparty", "> 0"
 
 gem "tailwindcss-rails", "~> 3.1"
 
-gem "hotwire-rails", "~> 0.1.3"
+gem "turbo-rails", "~> 2.0"
+gem "stimulus-rails", "~> 1.3"
 
 gem "importmap-rails", "~> 2.0"
 
diff --git a/Gemfile.lock b/Gemfile.lock
index 4cc6dc4..1e552a9 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -145,10 +145,6 @@ GEM
       raabro (~> 1.4)
     globalid (1.2.1)
       activesupport (>= 6.1)
-    hotwire-rails (0.1.3)
-      rails (>= 6.0.0)
-      stimulus-rails
-      turbo-rails
     httparty (0.22.0)
       csv
       mini_mime (>= 1.0.0)
@@ -339,7 +335,6 @@ DEPENDENCIES
   crono (~> 2.1)
   debug
   devise (~> 4.9)
-  hotwire-rails (~> 0.1.3)
   httparty (> 0)
   icalendar (~> 2.10)
   importmap-rails (~> 2.0)
@@ -350,8 +345,10 @@ DEPENDENCIES
   solid_queue (~> 1.1)
   sprockets-rails (> 0)
   sqlite3 (~> 2.5)
+  stimulus-rails (~> 1.3)
   tailwindcss-rails (~> 3.1)
   telegram-bot-ruby (~> 2.0)
+  turbo-rails (~> 2.0)
   tzinfo-data
   web-console (> 0)
 
-- 
GitLab