Sha256: c554c882305a0af287f7021b0e42639690a79b9cc05d228f3cbb675f362ff252
Contents?: true
Size: 603 Bytes
Versions: 57
Compression:
Stored size: 603 Bytes
Contents
module NdrDevSupport module RakeCI # This helper persists the SimpleCov::Result class SimpleCovHelper require 'rugged' require 'simplecov' require_relative 'concerns/commit_metadata_persistable' include CommitMetadataPersistable def commit return @commit if @commit repo = Rugged::Repository.new('.') @commit = repo.lookup(repo.head.target_id) end def load_current_result load_current_commit_data end def save_current_result(result) save_current_commit_data(result) end end end end
Version data entries
57 entries across 57 versions & 1 rubygems