lib/statsd/instrument/rubocop.rb in statsd-instrument-3.5.9 vs lib/statsd/instrument/rubocop.rb in statsd-instrument-3.5.10

- old
+ new

@@ -3,14 +3,27 @@ module RuboCop module Cop module StatsD METRIC_METHODS = [:increment, :gauge, :measure, :set, :histogram, :distribution, :key_value] - METAPROGRAMMING_METHODS = [:statsd_measure, :statsd_distribution, :statsd_count_success, :statsd_count_if, - :statsd_count,] + METAPROGRAMMING_METHODS = [ + :statsd_measure, + :statsd_distribution, + :statsd_count_success, + :statsd_count_if, + :statsd_count, + ] - SINGLETON_CONFIGURATION_METHODS = [:backend, :"backend=", :prefix, :"prefix=", :default_tags, :"default_tags=", - :default_sample_rate, :"default_sample_rate=",] + SINGLETON_CONFIGURATION_METHODS = [ + :backend, + :"backend=", + :prefix, + :"prefix=", + :default_tags, + :"default_tags=", + :default_sample_rate, + :"default_sample_rate=", + ] private def metaprogramming_method?(node) METAPROGRAMMING_METHODS.include?(node.method_name)