Sha256: 81f31a0dbaf18cb80629b95c9f61e7eaca851dd98bdfd81001a12f5cc50a27e4

Contents?: true

Size: 483 Bytes

Versions: 10

Compression:

Stored size: 483 Bytes

Contents

module MetricFu
  class MetricChurn < Metric

    def name
      :churn
    end

    def default_run_options
      {
        :start_date => %q("1 year ago"),
        :minimum_churn_count => 10,
        :ignore_files => [],
        :data_directory => MetricFu::Io::FileSystem.scratch_directory(name)
      }
    end

    def has_graph?
      false
    end

    def enable
      super
    end

    def activate
      activate_library('churn/calculator')
      super
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
metric_fu-4.11.3 lib/metric_fu/metrics/churn/metric.rb
metric_fu-4.11.2 lib/metric_fu/metrics/churn/metric.rb
metric_fu-4.11.1 lib/metric_fu/metrics/churn/metric.rb
metric_fu-4.11.0 lib/metric_fu/metrics/churn/metric.rb
metric_fu-4.10.0 lib/metric_fu/metrics/churn/init.rb
metric_fu-4.9.0 lib/metric_fu/metrics/churn/init.rb
metric_fu-4.8.0 lib/metric_fu/metrics/churn/init.rb
metric_fu-4.7.4 lib/metric_fu/metrics/churn/init.rb
metric_fu-4.7.3 lib/metric_fu/metrics/churn/init.rb
metric_fu-4.7.2 lib/metric_fu/metrics/churn/init.rb