upgrade pagy (#628)

This commit is contained in:
Echo 2025-11-15 18:34:28 -05:00 committed by GitHub
parent 3148995958
commit 6b21c0f402
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 1 deletions

View file

@ -90,6 +90,8 @@ gem "ahoy_matey"
gem "geocoder"
gem "ahoy_captain", git: "https://github.com/johnmcdowall/ahoy_captain.git", branch: "fix_importmaps"
gem "pagy", "~> 43.0"
# Airtable syncing
gem "norairrecord", "~> 0.4.1"

View file

@ -323,7 +323,9 @@ GEM
faraday-net_http_persistent
net-http-persistent
ostruct (0.6.3)
pagy (9.4.0)
pagy (43.0.6)
json
yaml
paper_trail (17.0.0)
activerecord (>= 7.1)
request_store (~> 1.4)
@ -601,6 +603,7 @@ DEPENDENCIES
letter_opener_web (~> 3.0)
memory_profiler
norairrecord (~> 0.4.1)
pagy (~> 43.0)
paper_trail
pg
propshaft

View file

@ -0,0 +1,10 @@
# pagy did a massive update, reworked a bunch of shit, but ahoy-captain is still using the old API
# this is a fuck ass workaround to update the version of pagy but not make ahoy-captain crash and burn builds
# https://github.com/ddnexus/pagy/releases/tag/v43.0.0
class Pagy
module Frontend
# null
end
Backend = Method unless const_defined?(:Backend)
end