Module: DatabaseConsistency::Processors

Defined in:
lib/database_consistency/processors/base_processor.rb,
lib/database_consistency/processors/enums_processor.rb,
lib/database_consistency/processors/models_processor.rb,
lib/database_consistency/processors/columns_processor.rb,
lib/database_consistency/processors/indexes_processor.rb,
lib/database_consistency/processors/validators_processor.rb,
lib/database_consistency/processors/associations_processor.rb,
lib/database_consistency/processors/validators_fractions_processor.rb

Overview

The module for processors

Defined Under Namespace

Classes: AssociationsProcessor, BaseProcessor, ColumnsProcessor, EnumsProcessor, IndexesProcessor, ModelsProcessor, ValidatorsFractionsProcessor, ValidatorsProcessor

Class Method Summary collapse

Class Method Details

.reports(configuration) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/database_consistency/processors/base_processor.rb', line 6

def self.reports(configuration)
  [
    ColumnsProcessor,
    ValidatorsProcessor,
    AssociationsProcessor,
    ValidatorsFractionsProcessor,
    IndexesProcessor,
    EnumsProcessor,
    ModelsProcessor
  ].flat_map do |processor|
    processor.new(configuration).reports
  end
end