Class: TFSGraph::Populators::ForProject
- Inherits:
-
Object
- Object
- TFSGraph::Populators::ForProject
- Includes:
- Utilities
- Defined in:
- lib/tfs_graph/populators/for_project.rb
Constant Summary
Constants included from StoreHelpers
Instance Method Summary collapse
-
#initialize(project) ⇒ ForProject
constructor
A new instance of ForProject.
- #populate ⇒ Object
Methods included from Utilities
#clean, #collect_branches, #collect_changesets, #collect_merges, #collect_projects, #finalize, #generate_branch_tree
Methods included from StoreHelpers
#flush_all, #last_updated_on, #mark_as_updated
Constructor Details
#initialize(project) ⇒ ForProject
Returns a new instance of ForProject.
6 7 8 |
# File 'lib/tfs_graph/populators/for_project.rb', line 6 def initialize(project) @project = project end |
Instance Method Details
#populate ⇒ Object
10 11 12 13 14 15 |
# File 'lib/tfs_graph/populators/for_project.rb', line 10 def populate branches = collect_branches(@project) branches.map {|branch| collect_changesets(branch) } branches.each {|branch| collect_merges(branch) } end |