Module: GitStory

Defined in:
lib/git_story.rb,
lib/git_story/version.rb

Constant Summary collapse

VERSION =
"0.1.0"

Instance Method Summary collapse

Instance Method Details

#commit_state_factoryObject



14
15
16
17
18
19
# File 'lib/git_story.rb', line 14

def commit_state_factory
  renderer = PutsRenderer.new
  state_mapper = TrackerFetchedMapper.new(renderer)
  commit_processor = SplitAndMatchProcessor.new(state_mapper)
  ManualGitCommitLister.new(commit_processor)
end

#state(since, until_commit) ⇒ Object



10
11
12
# File 'lib/git_story.rb', line 10

def state(since, until_commit)
  commit_state_factory.list(since, until_commit)
end