From 37b1bc17a07a0c520df7aeec066d1e7f8a7f14b1 Mon Sep 17 00:00:00 2001 From: Lars Kanis Date: Sat, 3 Dec 2022 12:23:26 +0100 Subject: [PATCH] Add ruby-version as a comment --- lib/pg_ldap_sync/compat.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pg_ldap_sync/compat.rb b/lib/pg_ldap_sync/compat.rb index 24f7845..8144a43 100644 --- a/lib/pg_ldap_sync/compat.rb +++ b/lib/pg_ldap_sync/compat.rb @@ -1,6 +1,7 @@ #!/usr/bin/env ruby class Hash + # transform_keys was added in ruby-2.5 def transform_keys map do |k, v| [yield(k), v]