changeset 1615:be8eb1d8201b live

Lock this gem
author Chris Cannam
date Tue, 05 Sep 2017 12:49:49 +0100
parents 96bcc0ebd102
children 44f001af7f6a
files Gemfile Gemfile.lock
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Gemfile	Tue Sep 05 11:19:50 2017 +0100
+++ b/Gemfile	Tue Sep 05 12:49:49 2017 +0100
@@ -60,7 +60,11 @@
         gem "mysql", "~> 2.8.1", :platforms => [:mri, :mingw]
         gem "activerecord-jdbcmysql-adapter", :platforms => :jruby
       when /postgresql/
-        gem "pg", ">= 0.11.0", :platforms => [:mri, :mingw]
+        #!!! Lock (temporarily?) to 0.20 to avoid being spammed by
+        # deprecation errors from one of the other users of the gem
+        # outside our control
+#        gem "pg", ">= 0.11.0", :platforms => [:mri, :mingw]
+        gem "pg", "= 0.20.0", :platforms => [:mri, :mingw]
         gem "activerecord-jdbcpostgresql-adapter", :platforms => :jruby
       when /sqlite3/
         gem "sqlite3", :platforms => [:mri, :mingw]
--- a/Gemfile.lock	Tue Sep 05 11:19:50 2017 +0100
+++ b/Gemfile.lock	Tue Sep 05 12:49:49 2017 +0100
@@ -79,7 +79,7 @@
     net-ldap (0.3.1)
     nokogiri (1.8.0)
       mini_portile2 (~> 2.2.0)
-    pg (0.21.0)
+    pg (0.20.0)
     polyglot (0.3.5)
     rack (1.4.7)
     rack-cache (1.7.0)