fix bad merge
This commit is contained in:
parent
fc6f8f2056
commit
8639ea1b03
|
@ -12,15 +12,17 @@ class CycleAnalytics
|
||||||
|
|
||||||
def method_missing(method_sym, *arguments, &block)
|
def method_missing(method_sym, *arguments, &block)
|
||||||
classify_stage(method_sym).new(project: @project, options: @options, stage: method_sym)
|
classify_stage(method_sym).new(project: @project, options: @options, stage: method_sym)
|
||||||
|
end
|
||||||
|
|
||||||
def permissions(user:)
|
def permissions(user:)
|
||||||
Gitlab::CycleAnalytics::Permissions.get(user: user, project: @project)
|
Gitlab::CycleAnalytics::Permissions.get(user: user, project: @project)
|
||||||
end
|
end
|
||||||
|
|
||||||
def issue
|
def issue
|
||||||
@fetcher.calculate_metric(:issue,
|
@fetcher.calculate_metric(:issue,
|
||||||
Issue.arel_table[:created_at],
|
Issue.arel_table[:created_at],
|
||||||
[Issue::Metrics.arel_table[:first_associated_with_milestone_at],
|
[Issue::Metrics.arel_table[:first_associated_with_milestone_at],
|
||||||
Issue::Metrics.arel_table[:first_added_to_board_at]])
|
Issue::Metrics.arel_table[:first_added_to_board_at]])
|
||||||
end
|
end
|
||||||
|
|
||||||
def classify_stage(method_sym)
|
def classify_stage(method_sym)
|
||||||
|
|
Loading…
Reference in New Issue