rabbitmq: fix RuboCop Style/TrailingBodyOnMethodDefinition.

master
Mike McQuaid 2020-03-14 19:45:45 +00:00
parent b0fcaada20
commit 72a5b8d2ce
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
1 changed files with 38 additions and 35 deletions

View File

@ -53,12 +53,14 @@ class Rabbitmq < Formula
(bash_completion/"rabbitmqadmin.bash").write Utils.popen_read("#{sbin}/rabbitmqadmin --bash-completion")
end
def caveats; <<~EOS
def caveats
<<~EOS
Management Plugin enabled by default at http://localhost:15672
EOS
end
def rabbitmq_env; <<~EOS
def rabbitmq_env
<<~EOS
CONFIG_FILE=#{etc}/rabbitmq/rabbitmq
NODE_IP_ADDRESS=127.0.0.1
NODENAME=rabbit@localhost
@ -68,7 +70,8 @@ class Rabbitmq < Formula
plist_options :manual => "rabbitmq-server"
def plist; <<~EOS
def plist
<<~EOS
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">