Sha256: b2ae415900cdd571c892f1e4b239b971846c1d9436829ae879336f9c4285b481

Contents?: true

Size: 665 Bytes

Versions: 9

Compression:

Stored size: 665 Bytes

Contents

# frozen_string_literal: true

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 "kaminari"

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

9 entries across 9 versions & 1 rubygems

Version Path
exception-track-0.6.2 lib/exception-track.rb
exception-track-0.6.1 lib/exception-track.rb
exception-track-0.6.0 lib/exception-track.rb
exception-track-0.5.2 lib/exception-track.rb
exception-track-0.5.1 lib/exception-track.rb
exception-track-0.5.0 lib/exception-track.rb
exception-track-0.4.0 lib/exception-track.rb
exception-track-0.3.1 lib/exception-track.rb
exception-track-0.3.0 lib/exception-track.rb