Sha256: 1931d8650d545aefb847819940b6eb462fa5191b5175215187853fbe9e3b3671
Contents?: true
Size: 532 Bytes
Versions: 6
Compression:
Stored size: 532 Bytes
Contents
# -*- encoding : utf-8 -*- require 'git_stats/hash_initializable' module GitStats module GitData class Tree include HashInitializable attr_reader :repo, :relative_path def authors @authors ||= run_and_parse("git shortlog -se #{commit_range}").map do |author| Author.new(repo: self, name: author[:name], email: author[:email]) end end def ==(other) ((self.repo == other.repo) && (self.relative_path == other.relative_path)) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems