Module: Hexx::Suit

Defined in:
lib/hexx/suit.rb,
lib/hexx/suit/version.rb,
lib/hexx/suit/install.rb,
lib/hexx/suit/utils/system.rb,
lib/hexx/suit/metrics/base.rb,
lib/hexx/suit/metrics/pippi.rb,
lib/hexx/suit/metrics/rubocop.rb,
lib/hexx/suit/metrics/metric_fu.rb,
lib/hexx/suit/metrics/yardstick.rb,
lib/hexx/suit/metrics/simplecov.rb,
lib/hexx/suit/metrics/metric_fu/flay.rb,
lib/hexx/suit/metrics/metric_fu/cane.rb,
lib/hexx/suit/metrics/metric_fu/base.rb,
lib/hexx/suit/metrics/metric_fu/reek.rb,
lib/hexx/suit/metrics/metric_fu/roodi.rb,
lib/hexx/suit/metrics/metric_fu/churn.rb,
lib/hexx/suit/metrics/metric_fu/saikuro.rb

Overview

Namespace for the module.

Defined Under Namespace

Modules: Metrics, Utils Classes: Install

Constant Summary collapse

VERSION =

The semantic version of the module.

"0.0.1".freeze

Class Method Summary collapse

Class Method Details

.install_tasksself

Loads all the necessary rake tasks

Examples:

Hexx::Suit.install_tasks

Returns:

  • (self)

16
17
18
19
20
21
22
# File 'lib/hexx/suit.rb', line 16

def install_tasks
  load_gem_tasks
  load_rspec_tasks
  load_custom_tasks

  self
end

.load_metrics_for(scope) ⇒ self

Loads runtime metrics in a given scope

Checks if a corresponding environment is set

Examples:

# spec/spec_helper.rb
Hexx::Suit.load_metrics_for(self)

Parameters:

  • scope (Object)

Returns:

  • (self)

35
36
37
38
39
40
# File 'lib/hexx/suit.rb', line 35

def load_metrics_for(scope)
  load_pippi_for(scope)
  load_coverage_for(scope)

  self
end