From 87295488da62a8f63564baba522af75a684423c8 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 14 Mar 2020 19:45:24 +0000 Subject: [PATCH] mysql@5.6: fix RuboCop Style/TrailingBodyOnMethodDefinition. --- Formula/mysql@5.6.rb | 58 +++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/Formula/mysql@5.6.rb b/Formula/mysql@5.6.rb index 10c35547eca..e97a7cd639b 100644 --- a/Formula/mysql@5.6.rb +++ b/Formula/mysql@5.6.rb @@ -95,40 +95,42 @@ class MysqlAT56 < Formula end end - def caveats; <<~EOS - A "/etc/my.cnf" from another install may interfere with a Homebrew-built - server starting up correctly. + def caveats + <<~EOS + A "/etc/my.cnf" from another install may interfere with a Homebrew-built + server starting up correctly. - MySQL is configured to only allow connections from localhost by default + MySQL is configured to only allow connections from localhost by default - To connect: - mysql -uroot - EOS + To connect: + mysql -uroot + EOS end plist_options :manual => "#{HOMEBREW_PREFIX}/opt/mysql@5.6/bin/mysql.server start" - def plist; <<~EOS - - - - - KeepAlive - - Label - #{plist_name} - ProgramArguments - - #{opt_bin}/mysqld_safe - --datadir=#{datadir} - - RunAtLoad - - WorkingDirectory - #{datadir} - - - EOS + def plist + <<~EOS + + + + + KeepAlive + + Label + #{plist_name} + ProgramArguments + + #{opt_bin}/mysqld_safe + --datadir=#{datadir} + + RunAtLoad + + WorkingDirectory + #{datadir} + + + EOS end test do