From b9e8cc45e488ce764e7b6a31ff2e42033b2b50c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hrvoje=20=C5=A0imi=C4=87?= Date: Tue, 14 Jul 2026 09:50:25 +0200 Subject: [PATCH] Release 1.2.2 Co-Authored-By: Claude Fable 5 --- CHANGELOG.md | 6 +++++- Gemfile.lock | 2 +- lib/booqable/version.rb | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bbd3211..3c2600d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ -## [Unreleased] +## [1.2.2] - 2026-07-14 - Support Ruby 4.0 +- Require `cgi` and declare it as a runtime dependency. Fixes + `undefined method 'parse' for class CGI` when handling `invalid_grant` + OAuth errors in apps that don't load the full cgi library themselves + (e.g. Rails 8.1+, which only loads `cgi/escape`). ## [1.2.1] - 2026-06-10 diff --git a/Gemfile.lock b/Gemfile.lock index 8b9a7b3..44f77c9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - booqable (1.2.1) + booqable (1.2.2) addressable (~> 2.8) cgi (~> 0.5) faraday (~> 2.13) diff --git a/lib/booqable/version.rb b/lib/booqable/version.rb index 98aae7b..fb730ed 100644 --- a/lib/booqable/version.rb +++ b/lib/booqable/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Booqable - VERSION = "1.2.1" + VERSION = "1.2.2" end