Class: GitMiner::Dispatch::SimpleDispatch
- Inherits:
-
AbstractDispatch
- Object
- AbstractDispatch
- GitMiner::Dispatch::SimpleDispatch
- Defined in:
- lib/git_miner/dispatch/simple_dispatch.rb
Constant Summary collapse
- IDENTIFIER =
"Simple"
Constants inherited from AbstractDispatch
Instance Method Summary collapse
Methods inherited from AbstractDispatch
Constructor Details
This class inherits a constructor from GitMiner::Dispatch::AbstractDispatch
Instance Method Details
#perform ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/git_miner/dispatch/simple_dispatch.rb', line 6 def perform loop do result = @engine.mine( author_offset: @group_manager., committer_offset: @group_manager.committer_offset, qty: @group_manager.batch_size ) unless result @group_manager.advance! next end return result end end |