Sha256: 69c179b0c6e59464435faee2c37a0ef34e50f17cf9efdd2472309de1f1466df5

Contents?: true

Size: 1.56 KB

Versions: 92

Compression:

Stored size: 1.56 KB

Contents

module CC
  module Analyzer
    module IssueValidations
      autoload :CategoryValidation, "cc/analyzer/issue_validations/category_validation"
      autoload :CheckNamePresenceValidation, "cc/analyzer/issue_validations/check_name_presence_validation"
      autoload :ContentValidation, "cc/analyzer/issue_validations/content_validation"
      autoload :DescriptionPresenceValidation, "cc/analyzer/issue_validations/description_presence_validation"
      autoload :LocationFormatValidation, "cc/analyzer/issue_validations/location_format_validation"
      autoload :OtherLocationsFormatValidation, "cc/analyzer/issue_validations/other_locations_format_validation"
      autoload :PathExistenceValidation, "cc/analyzer/issue_validations/path_existence_validation"
      autoload :PathIsFileValidation, "cc/analyzer/issue_validations/path_is_file_validation"
      autoload :PathPresenceValidation, "cc/analyzer/issue_validations/path_presence_validation"
      autoload :RelativePathValidation, "cc/analyzer/issue_validations/relative_path_validation"
      autoload :RemediationPointsValidation, "cc/analyzer/issue_validations/remediation_points_validation"
      autoload :SeverityValidation, "cc/analyzer/issue_validations/severity_validation"
      autoload :TypeValidation, "cc/analyzer/issue_validations/type_validation"
      autoload :Validation, "cc/analyzer/issue_validations/validation"

      def self.validations
        constants.sort.map(&method(:const_get)).select do |klass|
          klass.is_a?(Class) && klass.superclass == Validation
        end
      end
    end
  end
end

Version data entries

92 entries across 92 versions & 2 rubygems

Version Path
codeclimate-0.85.27 lib/cc/analyzer/issue_validations.rb
codeclimate-0.85.26 lib/cc/analyzer/issue_validations.rb
codeclimate-0.85.25 lib/cc/analyzer/issue_validations.rb
codeclimate-0.85.24 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.54 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.53 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.52 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.51 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.50 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.49 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.48 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.47 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.46 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.45 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.44 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.43 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.42 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.41 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.40 lib/cc/analyzer/issue_validations.rb
codeclimate-fede-0.85.39 lib/cc/analyzer/issue_validations.rb