07d3d44775
And use .rubocop.yml to exclude paths we don't care, rather than using the cop itself to exclude.
11 lines
285 B
Ruby
11 lines
285 B
Ruby
module Gitlab
|
|
module CycleAnalytics
|
|
module ProductionHelper
|
|
def stage_query
|
|
super
|
|
.where(mr_metrics_table[:first_deployed_to_production_at]
|
|
.gteq(@options[:from])) # rubocop:disable Gitlab/ModuleWithInstanceVariables
|
|
end
|
|
end
|
|
end
|
|
end
|