Module: DataChecks

Extended by:
ActiveSupport::Autoload
Defined in:
lib/data_checks.rb,
lib/data_checks/check.rb,
lib/data_checks/config.rb,
lib/data_checks/runner.rb,
lib/data_checks/railtie.rb,
lib/data_checks/version.rb,
lib/data_checks/check_run.rb,
lib/data_checks/ensure_no.rb,
lib/data_checks/notifiers.rb,
lib/data_checks/ensure_less.rb,
lib/data_checks/ensure_more.rb,
lib/data_checks/check_result.rb,
lib/data_checks/ensure_equal.rb,
lib/data_checks/status_printer.rb,
lib/data_checks/notifiers/notifier.rb,
lib/data_checks/notifiers/email_notifier.rb,
lib/data_checks/notifiers/slack_notifier.rb,
lib/data_checks/notifiers/logger_notifier.rb,
lib/generators/data_checks/install_generator.rb,
lib/data_checks/notifiers/email_default_formatter.rb,
lib/data_checks/notifiers/slack_default_formatter.rb,
lib/data_checks/notifiers/logger_default_formatter.rb

Defined Under Namespace

Modules: Notifiers Classes: Check, CheckResult, CheckRun, Config, EnsureEqual, EnsureLess, EnsureMore, EnsureNo, InstallGenerator, Railtie, Runner, StatusPrinter

Constant Summary collapse

VERSION =
"0.2.0"

Class Method Summary collapse

Class Method Details

.configObject



24
25
26
# File 'lib/data_checks.rb', line 24

def config
  @config ||= Config.new
end

.configure(&block) ⇒ Object



28
29
30
# File 'lib/data_checks.rb', line 28

def configure(&block)
  config.instance_exec(&block)
end