Module: Knapsack
- Defined in:
- lib/knapsack.rb,
lib/knapsack/logger.rb,
lib/knapsack/report.rb,
lib/knapsack/tracker.rb,
lib/knapsack/version.rb,
lib/knapsack/allocator.rb,
lib/knapsack/presenter.rb,
lib/knapsack/config/env.rb,
lib/knapsack/task_loader.rb,
lib/knapsack/config/tracker.rb,
lib/knapsack/allocator_builder.rb,
lib/knapsack/runners/rspec_runner.rb,
lib/knapsack/adapters/base_adapter.rb,
lib/knapsack/adapters/rspec_adapter.rb,
lib/knapsack/runners/spinach_runner.rb,
lib/knapsack/runners/cucumber_runner.rb,
lib/knapsack/runners/minitest_runner.rb,
lib/knapsack/adapters/spinach_adapter.rb,
lib/knapsack/adapters/cucumber_adapter.rb,
lib/knapsack/adapters/minitest_adapter.rb,
lib/knapsack/distributors/base_distributor.rb,
lib/knapsack/distributors/report_distributor.rb,
lib/knapsack/distributors/leftover_distributor.rb
Defined Under Namespace
Modules: Adapters, Config, Distributors, Runners
Classes: Allocator, AllocatorBuilder, Logger, Presenter, Report, TaskLoader, Tracker
Constant Summary
collapse
- VERSION =
'4.0.0'
- @@logger =
nil
Class Method Summary
collapse
Class Method Details
.load_tasks ⇒ Object
43
44
45
46
|
# File 'lib/knapsack.rb', line 43
def load_tasks
task_loader = Knapsack::TaskLoader.new
task_loader.load_tasks
end
|
.logger=(value) ⇒ Object
55
56
57
|
# File 'lib/knapsack.rb', line 55
def logger=(value)
@@logger = value
end
|
.report ⇒ Object
35
36
37
|
# File 'lib/knapsack.rb', line 35
def report
Knapsack::Report.instance
end
|
.root ⇒ Object
39
40
41
|
# File 'lib/knapsack.rb', line 39
def root
File.expand_path('../..', __FILE__)
end
|
.tracker ⇒ Object
31
32
33
|
# File 'lib/knapsack.rb', line 31
def tracker
Knapsack::Tracker.instance
end
|