class NdrDevSupport::RakeCI::SimpleCovHelper

This helper persists the SimpleCov::Result

Public Instance Methods

commit() click to toggle source
# File lib/ndr_dev_support/rake_ci/simple_cov_helper.rb, line 11
def commit
  return @commit if @commit

  repo = Rugged::Repository.new('.')
  @commit = repo.lookup(repo.head.target_id)
end
load_current_result() click to toggle source
# File lib/ndr_dev_support/rake_ci/simple_cov_helper.rb, line 18
def load_current_result
  load_current_commit_data
end
save_current_result(result) click to toggle source
# File lib/ndr_dev_support/rake_ci/simple_cov_helper.rb, line 22
def save_current_result(result)
  save_current_commit_data(result)
end