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