Sha256: 2269f4b4fc86a23aa4b53d051d7ca9db5462351adeb4f8a0345b8a20132e6c3f
Contents?: true
Size: 340 Bytes
Versions: 9
Compression:
Stored size: 340 Bytes
Contents
require 'git' # TestDiff module module TestDiff # Class used to calculate the tests than need to be run class TrackBuild def initialize(sha) @sha = sha end def run git = Git.open('.') sha = git.object(@sha || 'HEAD').sha File.open('test_diff_coverage/sha', 'w+') { |f| f << sha } end end end
Version data entries
9 entries across 9 versions & 1 rubygems