From ec05b3c062a33ae1c4d057f77bf8c91fee559e90 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 14 Oct 2023 21:14:02 +0200 Subject: [PATCH] Update `hcaptcha` gem to forked version with fixed Turbo handling --- Gemfile | 2 +- Gemfile.lock | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index dac7c564..02cf3416 100644 --- a/Gemfile +++ b/Gemfile @@ -31,7 +31,7 @@ gem "fog-aws" gem "fog-core" gem "fog-local" gem "haml", "~> 6.1" -gem "hcaptcha", "~> 7.0" +gem "hcaptcha", git: "https://github.com/raccube/hcaptcha", ref: "fix/flash-in-turbo-streams" gem "mini_magick" gem "oj" gem "rpush" diff --git a/Gemfile.lock b/Gemfile.lock index ae7fcfbf..539ed2e2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,6 +6,14 @@ GIT carrierwave (>= 0.5, <= 2.1) mime-types (>= 3.0.0) +GIT + remote: https://github.com/raccube/hcaptcha + revision: f8de70ee2d629ac34395902dbee724c21297960c + ref: fix/flash-in-turbo-streams + specs: + hcaptcha (7.1.0) + json + GEM remote: https://rubygems.org/ specs: @@ -193,8 +201,6 @@ GEM rainbow rubocop (>= 1.0) sysexits (~> 1.1) - hcaptcha (7.1.0) - json hkdf (0.3.0) http-2 (0.11.0) httparty (0.21.0) @@ -520,7 +526,7 @@ DEPENDENCIES fog-local haml (~> 6.1) haml_lint - hcaptcha (~> 7.0) + hcaptcha! httparty i18n-js (= 4.0) jsbundling-rails (~> 1.2)