From 0fbf4d37435543e3e0561477565d9363eb834fa6 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 14 Mar 2020 19:45:36 +0000 Subject: [PATCH] pgbouncer: fix RuboCop Style/TrailingBodyOnMethodDefinition. --- Formula/pgbouncer.rb | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Formula/pgbouncer.rb b/Formula/pgbouncer.rb index e40e9d41b58..b27c74b1266 100644 --- a/Formula/pgbouncer.rb +++ b/Formula/pgbouncer.rb @@ -28,14 +28,15 @@ class Pgbouncer < Formula etc.install %w[etc/pgbouncer.ini etc/userlist.txt] end - def caveats; <<~EOS - The config file: #{etc}/pgbouncer.ini is in the "ini" format and you - will need to edit it for your particular setup. See: - https://pgbouncer.github.io/config.html + def caveats + <<~EOS + The config file: #{etc}/pgbouncer.ini is in the "ini" format and you + will need to edit it for your particular setup. See: + https://pgbouncer.github.io/config.html - The auth_file option should point to the #{etc}/userlist.txt file which - can be populated by the #{bin}/mkauth.py script. - EOS + The auth_file option should point to the #{etc}/userlist.txt file which + can be populated by the #{bin}/mkauth.py script. + EOS end plist_options :manual => "pgbouncer -q #{HOMEBREW_PREFIX}/etc/pgbouncer.ini"