pgbouncer: fix RuboCop Style/TrailingBodyOnMethodDefinition.

master
Mike McQuaid 2020-03-14 19:45:36 +00:00
parent dc9d494824
commit 0fbf4d3743
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
1 changed files with 8 additions and 7 deletions

View File

@ -28,14 +28,15 @@ class Pgbouncer < Formula
etc.install %w[etc/pgbouncer.ini etc/userlist.txt] etc.install %w[etc/pgbouncer.ini etc/userlist.txt]
end end
def caveats; <<~EOS def caveats
The config file: #{etc}/pgbouncer.ini is in the "ini" format and you <<~EOS
will need to edit it for your particular setup. See: The config file: #{etc}/pgbouncer.ini is in the "ini" format and you
https://pgbouncer.github.io/config.html 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 The auth_file option should point to the #{etc}/userlist.txt file which
can be populated by the #{bin}/mkauth.py script. can be populated by the #{bin}/mkauth.py script.
EOS EOS
end end
plist_options :manual => "pgbouncer -q #{HOMEBREW_PREFIX}/etc/pgbouncer.ini" plist_options :manual => "pgbouncer -q #{HOMEBREW_PREFIX}/etc/pgbouncer.ini"