lib/postgres/vacuum/monitor.rb in postgres-vacuum-monitor-0.10.1 vs lib/postgres/vacuum/monitor.rb in postgres-vacuum-monitor-0.11.0
- old
+ new
@@ -1,6 +1,9 @@
+# frozen_string_literal: true
+
require 'active_record'
+require 'postgres/vacuum/compatibility'
require 'postgres/vacuum/configuration'
require 'postgres/vacuum/monitor/version'
require 'postgres/vacuum/monitor/query'
require 'postgres/vacuum/jobs/monitor_job'
@@ -10,10 +13,10 @@
class << self
attr_accessor :config
end
def self.configuration
- @config ||= Configuration.new
+ @configuration ||= Configuration.new
end
def self.reset
@config = Configuration.new
end