]> gitweb.michael.orlitzky.com - mailshears.git/commitdiff
Print the plugin name on the same line as the executable, time.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 19 Mar 2013 15:47:13 +0000 (11:47 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 19 Mar 2013 15:47:13 +0000 (11:47 -0400)
bin/mailshears

index a4b082323611500e22e6e159a6e5a35c5e492c17..c033f5e639491210b33cda1e69512179798c8f5c 100755 (executable)
@@ -70,10 +70,10 @@ Plugin.includers.each do |plugin_class|
       header += current_time.iso8601.to_s
     else
       # Fall back to whatever this looks like.
-      header += current_time.to_s + "\n"
+      header += current_time.to_s
     end
 
-    header += 'Plugin: ' + plugin_class.to_s + "\n"
+    header += '(Plugin: ' + plugin_class.to_s + ")\n"
     puts header
     puts '-' * header.size # Underline the header.