Sha256: f6a34c33c5dc80acbd0f5a70434fde192899c2b604d7b4490642187065527ee4

Contents?: true

Size: 574 Bytes

Versions: 142

Compression:

Stored size: 574 Bytes

Contents

require 'brakeman/processors/base_processor'
require 'brakeman/processors/alias_processor'
require 'brakeman/processors/lib/rails4_config_processor.rb'
require 'brakeman/processors/lib/rails3_config_processor.rb'
require 'brakeman/processors/lib/rails2_config_processor.rb'

class Brakeman::ConfigProcessor
  def self.new tracker
    if tracker.options[:rails4]
      Brakeman::Rails4ConfigProcessor.new tracker
    elsif tracker.options[:rails3]
      Brakeman::Rails3ConfigProcessor.new tracker
    else
      Brakeman::Rails2ConfigProcessor.new tracker
    end
  end
end

Version data entries

142 entries across 128 versions & 4 rubygems

Version Path
brakeman-6.2.2 lib/brakeman/processors/config_processor.rb
brakeman-lib-6.2.2 lib/brakeman/processors/config_processor.rb
brakeman-min-6.2.2 lib/brakeman/processors/config_processor.rb
brakeman-6.2.2.rc1 lib/brakeman/processors/config_processor.rb
brakeman-min-6.2.1 lib/brakeman/processors/config_processor.rb
brakeman-lib-6.2.1 lib/brakeman/processors/config_processor.rb
brakeman-6.2.1 lib/brakeman/processors/config_processor.rb
brakeman-6.2.0 lib/brakeman/processors/config_processor.rb
brakeman-lib-6.2.0 lib/brakeman/processors/config_processor.rb
brakeman-min-6.2.0 lib/brakeman/processors/config_processor.rb
brakeman-6.1.2 lib/brakeman/processors/config_processor.rb
brakeman-lib-6.1.2 lib/brakeman/processors/config_processor.rb
brakeman-min-6.1.2 lib/brakeman/processors/config_processor.rb
brakeman-min-6.1.1 lib/brakeman/processors/config_processor.rb
brakeman-lib-6.1.1 lib/brakeman/processors/config_processor.rb
brakeman-6.1.1 lib/brakeman/processors/config_processor.rb
brakeman-6.1.0 lib/brakeman/processors/config_processor.rb
brakeman-lib-6.1.0 lib/brakeman/processors/config_processor.rb
brakeman-min-6.1.0 lib/brakeman/processors/config_processor.rb
brakeman-6.0.1 lib/brakeman/processors/config_processor.rb