Sha256: 343f61e7619d1c5d88579356624f8d853fc813ba1ab33dd51feb2f0239153427

Contents?: true

Size: 1.37 KB

Versions: 34

Compression:

Stored size: 1.37 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 :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

34 entries across 34 versions & 1 rubygems

Version Path
codeclimate-0.57.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.56.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.55.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.54.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.53.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.52.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.51.3 lib/cc/analyzer/issue_validations.rb
codeclimate-0.51.2 lib/cc/analyzer/issue_validations.rb
codeclimate-0.51.1 lib/cc/analyzer/issue_validations.rb
codeclimate-0.51.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.50.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.49.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.48.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.47.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.46.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.45.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.44.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.43.1 lib/cc/analyzer/issue_validations.rb
codeclimate-0.43.0 lib/cc/analyzer/issue_validations.rb
codeclimate-0.42.1 lib/cc/analyzer/issue_validations.rb