Sha256: 998b89031beec53c4230569aac960b19573998034a350af6e7d09e497e91d5f6

Contents?: true

Size: 329 Bytes

Versions: 4

Compression:

Stored size: 329 Bytes

Contents

class ManualGitCommitLister

  def initialize(commit_processor)
    @commit_processor = commit_processor
  end

  def list(since, until_commit)
    @commit_processor.execute(git_list_commit(since, until_commit))
  end

  def git_list_commit(since, until_commit)
    `git log --pretty=oneline #{since}..#{until_commit}`
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
git_story-0.2.2 lib/manual_git_commit_lister.rb
git_story-0.2.1 lib/manual_git_commit_lister.rb
git_story-0.2.0 lib/manual_git_commit_lister.rb
git_story-0.1.0 lib/manual_git_commit_lister.rb