Sha256: f990f886d069822384bb062b72a056c7a3e75d7a307d545dc958c050db8b5ff4

Contents?: true

Size: 566 Bytes

Versions: 16

Compression:

Stored size: 566 Bytes

Contents

module MetricFu
  class MetricFlay < Metric

    def name
      :flay
    end

    def default_run_options
      { :dirs_to_flay => MetricFu::Io::FileSystem.directory('code_dirs'),
      # MetricFu has been setting the minimum score as 100 for
      # a long time. This is a really big number, considering
      # the default is 16. Setting it to nil to use the Flay default.
      :minimum_score => nil,
      :filetypes => ['rb'] }
    end

    def has_graph?
      true
    end

    def enable
      super
    end

    def activate
      super
    end

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
metric_fu-4.10.0 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.9.0 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.8.0 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.7.4 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.7.3 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.7.2 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.7.1 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.7.0 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.6.0 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.5.2 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.5.1 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.4.4 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.4.3 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.4.2 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.4.1 lib/metric_fu/metrics/flay/init.rb
metric_fu-4.4.0 lib/metric_fu/metrics/flay/init.rb