From 7b1b59df95a31e39e9a99db36a31e408087468e9 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 14 Mar 2020 19:45:47 +0000 Subject: [PATCH] riemann: fix RuboCop Style/TrailingBodyOnMethodDefinition. --- Formula/riemann.rb | 62 ++++++++++++++++++++++++---------------------- 1 file changed, 32 insertions(+), 30 deletions(-) diff --git a/Formula/riemann.rb b/Formula/riemann.rb index b2699d56075..f99e77a7d9a 100644 --- a/Formula/riemann.rb +++ b/Formula/riemann.rb @@ -28,40 +28,42 @@ class Riemann < Formula (bin+"riemann").write shim_script end - def caveats; <<~EOS - You may also wish to install these Ruby gems: - riemann-client - riemann-tools - riemann-dash - EOS + def caveats + <<~EOS + You may also wish to install these Ruby gems: + riemann-client + riemann-tools + riemann-dash + EOS end plist_options :manual => "riemann" - def plist; <<~EOS - - - - - KeepAlive - - Label - #{plist_name} - ProgramArguments - - #{opt_bin}/riemann - #{etc}/riemann.config - - RunAtLoad - - StandardErrorPath - #{var}/log/riemann.log - StandardOutPath - #{var}/log/riemann.log - - - EOS + def plist + <<~EOS + + + + + KeepAlive + + Label + #{plist_name} + ProgramArguments + + #{opt_bin}/riemann + #{etc}/riemann.config + + RunAtLoad + + StandardErrorPath + #{var}/log/riemann.log + StandardOutPath + #{var}/log/riemann.log + + + EOS end test do