Sha256: 4d8b7fa251c64e983101252b69624404b03b162c9cf2742e70567855af59f57d

Contents?: true

Size: 216 Bytes

Versions: 3

Compression:

Stored size: 216 Bytes

Contents

class GitClient
  def initialize(dir)
    @dir = dir
  end
  def stat_history
    ret = nil
    Dir.chdir(@dir) do
      ret = `git log --numstat --pretty=format:"commit: %H %cd" --reverse`
    end
    ret
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
git_heat-0.2.0 lib/git_heat/git_client.rb
git_heat-0.1.0 lib/git_heat/git_client.rb
git_heat-0.0.1 lib/git_heat/git_client.rb