Skip to content
Snippets Groups Projects

Enable (and disable) more rubocops

Merged Douwe Maan requested to merge dm-meer-blauw-op-straat into master
1 unresolved thread
13 files
+ 19
33
Compare changes
  • Side-by-side
  • Inline
Files
13
+ 1
1
@@ -23,7 +23,7 @@ def persisted_environment
@@ -23,7 +23,7 @@ def persisted_environment
serialize :yaml_variables, Gitlab::Serializer::Ci::Variables
serialize :yaml_variables, Gitlab::Serializer::Ci::Variables
validates :coverage, numericality: true, allow_blank: true
validates :coverage, numericality: true, allow_blank: true
validates_presence_of :ref
validates :ref, presence: true
scope :unstarted, ->() { where(runner_id: nil) }
scope :unstarted, ->() { where(runner_id: nil) }
scope :ignore_failures, ->() { where(allow_failure: false) }
scope :ignore_failures, ->() { where(allow_failure: false) }
Loading