Sha256: cd3e2aa6b35b7a1e98d17b3cff9339e424223aef6f163c5053bb0881cd0289e3

Contents?: true

Size: 677 Bytes

Versions: 4

Compression:

Stored size: 677 Bytes

Contents

require 'exception-track/version'
require 'exception-track/configuration'
require 'exception-track/engine'

require 'exception_notification'
require 'exception_notification/rails'
require 'exception_notifier/exception_track_notifier'

require 'will_paginate'
require 'will_paginate/active_record'

module ExceptionTrack
  class << self
    def config
      return @config if defined?(@config)
      @config = Configuration.new
      @config.environments = %i(development production)
      @config
    end

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

ExceptionNotification.configure do |config|
  config.add_notifier :exception_track, {}
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
exception-track-0.1.5 lib/exception-track.rb
exception-track-0.1.4 lib/exception-track.rb
exception-track-0.1.3 lib/exception-track.rb
exception-track-0.1.2 lib/exception-track.rb