Sha256: bc73f1f9f5a7dca6fe90f1524968559603ef01c6e364443680c5a603ed5ed65a

Contents?: true

Size: 646 Bytes

Versions: 20

Compression:

Stored size: 646 Bytes

Contents

module MetricFu
  class MetricStats < Metric

    def name
      :stats
    end

    def default_run_options
      {
        # returns a list of directories that contains the glob of files that have the file_pattern in the file names
        :additional_test_directories => [{glob_pattern: File.join('.','spec','**','*_spec.rb'), file_pattern: 'spec'}],
        :additional_app_directories  => [{glob_pattern: File.join('.','engines','**','*.rb'), file_pattern: ''}],
      }
    end

    def has_graph?
      true
    end

    def enable
      super
    end

    def activate
      activate_library 'code_metrics'
      super
    end

  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
metric_fu-4.11.3 lib/metric_fu/metrics/stats/metric.rb
metric_fu-4.11.2 lib/metric_fu/metrics/stats/metric.rb
metric_fu-4.11.1 lib/metric_fu/metrics/stats/metric.rb
metric_fu-4.11.0 lib/metric_fu/metrics/stats/metric.rb
metric_fu-4.10.0 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.9.0 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.8.0 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.7.4 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.7.3 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.7.2 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.7.1 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.7.0 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.6.0 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.5.2 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.5.1 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.4.4 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.4.3 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.4.2 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.4.1 lib/metric_fu/metrics/stats/init.rb
metric_fu-4.4.0 lib/metric_fu/metrics/stats/init.rb