From 9cbb8e9e87eeda7dd1ff3c6fe59a28d95efedad1 Mon Sep 17 00:00:00 2001 From: Martin Kangur Date: Wed, 31 Jan 2018 12:47:28 +0200 Subject: [PATCH] Update application.rb Use PG.connect instead of PGconn.connect --- lib/pg_ldap_sync/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pg_ldap_sync/application.rb b/lib/pg_ldap_sync/application.rb index b0136bd..3ba1ae3 100644 --- a/lib/pg_ldap_sync/application.rb +++ b/lib/pg_ldap_sync/application.rb @@ -314,7 +314,7 @@ class Application ldap_groups = uniq_names search_ldap_groups # gather PGs users and groups - @pgconn = PGconn.connect @config[:pg_connection] + @pgconn = PG.connect @config[:pg_connection] pg_users = uniq_names search_pg_users pg_groups = uniq_names search_pg_groups