gitlab-org--gitlab-foss/lib/gitlab/cycle_analytics/production_helper.rb
Lin Jen-Shin 07d3d44775 Move ModuleWithInstanceVariables to Gitlab namespace
And use .rubocop.yml to exclude paths we don't care,
rather than using the cop itself to exclude.
2017-11-22 17:06:57 +08:00

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