From 9a8bb00c243a746fd0cd933a2cdf6630991d3371 Mon Sep 17 00:00:00 2001 From: cryptogopher Date: Wed, 6 Dec 2023 20:12:54 +0100 Subject: [PATCH] Upgrade turbo to gain support for autofocus --- Gemfile | 4 +++- Gemfile.lock | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 4ef4372..6e3f7fc 100644 --- a/Gemfile +++ b/Gemfile @@ -13,7 +13,9 @@ gem "devise" gem 'awesome_nested_set' gem 'importmap-rails' -gem 'turbo-rails' +# turborails >= 2.0.0 required with npm v8.0.0 with support for [autofocus] +# attribute in turbo-streams +gem 'turbo-rails', '> 1.5.0' group :development, :test do gem "byebug" diff --git a/Gemfile.lock b/Gemfile.lock index 0b07a02..ee58ecd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -193,7 +193,7 @@ GEM thor (1.3.0) tilt (2.3.0) timeout (0.4.0) - turbo-rails (1.5.0) + turbo-rails (2.0.0.pre.beta.1) actionpack (>= 6.0.0) activejob (>= 6.0.0) railties (>= 6.0.0) @@ -229,7 +229,7 @@ DEPENDENCIES sassc-rails selenium-webdriver sprockets-rails - turbo-rails + turbo-rails (> 1.5.0) tzinfo-data web-console