mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-07-25 17:08:32 +00:00
25 lines
404 B
Ruby
25 lines
404 B
Ruby
# frozen_string_literal: true
|
|
|
|
module GraphHelper
|
|
def refs(repo, commit)
|
|
refs = [commit.ref_names(repo).join(' ')]
|
|
|
|
refs.join
|
|
end
|
|
|
|
def parents_zip_spaces(parents, parent_spaces)
|
|
ids = parents.map(&:id)
|
|
ids.zip(parent_spaces)
|
|
end
|
|
|
|
def should_render_dora_charts
|
|
false
|
|
end
|
|
|
|
def should_render_quality_summary
|
|
false
|
|
end
|
|
end
|
|
|
|
GraphHelper.prepend_mod_with('GraphHelper')
|