Sha256: 16b22a85b5c0f8fc7ac39e0bb044b7ce45a18841c5ca87e5b172ab6304b6b69e

Contents?: true

Size: 530 Bytes

Versions: 13

Compression:

Stored size: 530 Bytes

Contents

require 'active_record'
require 'postgres/vacuum/configuration'
require 'postgres/vacuum/monitor/version'
require 'postgres/vacuum/monitor/query'
require 'postgres/vacuum/jobs/monitor_job'

module Postgres
  module Vacuum
    module Monitor
      class << self
        attr_accessor :config
      end

      def self.configuration
        @config ||= Configuration.new
      end

      def self.reset
        @config = Configuration.new
      end

      def self.configure
        yield(configuration)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
postgres-vacuum-monitor-0.10.1 lib/postgres/vacuum/monitor.rb
postgres-vacuum-monitor-0.10.0 lib/postgres/vacuum/monitor.rb
postgres-vacuum-monitor-0.9.0 lib/postgres/vacuum/monitor.rb
postgres-vacuum-monitor-0.8.0 lib/postgres/vacuum/monitor.rb
postgres-vacuum-monitor-0.7.0 lib/postgres/vacuum/monitor.rb
postgres-vacuum-monitor-0.6.0 lib/postgres/vacuum/monitor.rb
postgres-vacuum-monitor-0.5.0 lib/postgres/vacuum/monitor.rb
postgres-vacuum-monitor-0.4.0 lib/postgres/vacuum/monitor.rb
postgres-vacuum-monitor-0.3.2 lib/postgres/vacuum/monitor.rb
postgres-vacuum-monitor-0.3.1 lib/postgres/vacuum/monitor.rb
postgres-vacuum-monitor-0.3.0 lib/postgres/vacuum/monitor.rb
postgres-vacuum-monitor-0.2.3 lib/postgres/vacuum/monitor.rb
postgres-vacuum-monitor-0.2.2 lib/postgres/vacuum/monitor.rb