Sha256: 042c7568e2b622e7a8b45d83a90bebc0bf27fb7fae9f9a1f8924d8aafa870382
Contents?: true
Size: 321 Bytes
Versions: 12
Compression:
Stored size: 321 Bytes
Contents
# -*- encoding : utf-8 -*- module GitStats module GitData class CommandRunner def run(path, command) execute(command, path).encode!('UTF-8', 'UTF-8', :invalid => :replace) end private def execute(command, path) Dir.chdir(path) { %x[#{command}] } end end end end
Version data entries
12 entries across 12 versions & 1 rubygems