Sha256: efbf2f13174fe4a938ea72a3e13d6d297e89f4ca1cee84280084439822c5d82f
Contents?: true
Size: 443 Bytes
Versions: 1
Compression:
Stored size: 443 Bytes
Contents
require 'active_support/configurable' module SqlTracker class Config include ActiveSupport::Configurable config_accessor :tracked_paths, :tracked_sql_command, :output_path class << self def apply_defaults self.tracked_paths ||= %w(app lib) self.tracked_sql_command ||= %w(SELECT INSERT UPDATE DELETE) self.output_path ||= File.join(Rails.root.to_s, 'tmp') self end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sql_tracker-1.0.0 | lib/sql_tracker/config.rb |