Sha256: a7c5bd1e88e83d18f50a3ba3e55de07dc61880f63cd77beaf508af0fc7c8cd19

Contents?: true

Size: 557 Bytes

Versions: 2

Compression:

Stored size: 557 Bytes

Contents

require "eye"
require "eye/patch/overrides"

begin
  require "eye/notify/ses"
rescue LoadError
  # Don't worry about loading the ses notifier when `aws/ses` is unavailable
end

module Eye::Patch

  require "eye/patch/settings"
  require "eye/patch/config"
  require "eye/patch/application"
  require "eye/patch/version"

  def self.parse(filename)
    settings = Eye::Patch::Settings.new(filename)

    config = Eye::Config.new(
      Eye::Patch::Config.new(settings),
      Eye::Patch::Application.new(settings))
    config.validate!

    config
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eye-patch-0.0.4 lib/eye/patch.rb
eye-patch-0.0.3 lib/eye/patch.rb