Sha256: 742f902be38ba7e8e1e04a317ef13190654ff121e2fbc4c3ba66e1dc50ed099b
Contents?: true
Size: 500 Bytes
Versions: 1
Compression:
Stored size: 500 Bytes
Contents
require_relative '../hash_initializable' module GitStats module GitData class Tree include GitStats::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) ((repo == other.repo) && (relative_path == other.relative_path)) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nova_git_stats-2.2.0 | lib/git_stats/git_data/tree.rb |