Sha256: d14964a49e44d89e19525cf2bdfababd4217ae1ec0da61e188e1977d72b1becd
Contents?: true
Size: 741 Bytes
Versions: 1
Compression:
Stored size: 741 Bytes
Contents
require 'wlog/commands/commandable' require 'wlog/commands/fetch_git_commits' require 'wlog/tech/git_commit_parser' module Wlog # We don't set the repo and author - get it directly from keyvalue # Use the other git fetcher if you want something more configurable # @author Simon Symeonidis class FetchGitCommitsStandard < Commandable # @param from date start # @param to date end # authors def initialize(from, to) @from, @to = from, to @author = KeyValue.get('author') @repo = KeyValue.get('git') end # Run the parser on the repo; yield commits def execute cmd = FetchGitCommits.new(@from, @to, @repo, @author) cmd.execute @commits = cmd.commits nil end attr_accessor :commits end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wlog-1.2.2 | lib/wlog/commands/fetch_git_commits_standard.rb |