From 302d35ac47641d6ba1554b7b097cdca82c42a0da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 6 Sep 2023 13:19:23 +0200 Subject: [PATCH] Revert "Bump pg from 1.4.3 to 1.5.4" We were getting warnings due to an incompatibility between pg 1.5.x and Active Record. I thought it was fixed in Active Record 6.1.x, but it isn't, so we're using pg 1.4.x until we upgrade to Rails 7. The warning was: ``` PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from activerecord-6.0.6.1/lib/active_record/connection_adapters/postgresql_adapter.rb:883:in `new' ``` This reverts commit c03f4243f. --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index ee5447ae4..5022848c0 100644 --- a/Gemfile +++ b/Gemfile @@ -44,7 +44,7 @@ gem "omniauth-google-oauth2", "~> 1.1.1" gem "omniauth-rails_csrf_protection", "~> 1.0.1" gem "omniauth-twitter", "~> 1.4.0" gem "paranoia", "~> 2.6.2" -gem "pg", "~> 1.5.4" +gem "pg", "~> 1.4.3" gem "pg_search", "~> 2.3.6" gem "puma", "~> 4.3.12" gem "recipient_interceptor", "~> 0.3.1" diff --git a/Gemfile.lock b/Gemfile.lock index 7fbac83bb..892c06273 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -406,7 +406,7 @@ GEM parser (3.2.2.3) ast (~> 2.4.1) racc - pg (1.5.4) + pg (1.4.3) pg_search (2.3.6) activerecord (>= 5.2) activesupport (>= 5.2) @@ -727,7 +727,7 @@ DEPENDENCIES omniauth-rails_csrf_protection (~> 1.0.1) omniauth-twitter (~> 1.4.0) paranoia (~> 2.6.2) - pg (~> 1.5.4) + pg (~> 1.4.3) pg_search (~> 2.3.6) pronto (~> 0.11.1) pronto-erb_lint (~> 0.1.6)