Sha256: 110c5dee561ac6a1400b00317f04615db8a11c849be4664533288b13388cd13c

Contents?: true

Size: 523 Bytes

Versions: 4

Compression:

Stored size: 523 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 = Settings.new(filename)

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

    config
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eye-patch-0.0.8 lib/eye/patch.rb
eye-patch-0.0.7 lib/eye/patch.rb
eye-patch-0.0.6 lib/eye/patch.rb
eye-patch-0.0.5 lib/eye/patch.rb