lib/torque/postgresql/config.rb in torque-postgresql-0.2.12 vs lib/torque/postgresql/config.rb in torque-postgresql-0.2.13

- old
+ new

@@ -1,8 +1,11 @@ module Torque module PostgreSQL include ActiveSupport::Configurable + # Stores a version check for compatibility purposes + AR521 = (ActiveRecord.gem_version >= Gem::Version.new('5.2.1')) + # Allow nested configurations # :TODO: Rely on +inheritable_copy+ to make nested configurations config.define_singleton_method(:nested) do |name, &block| klass = Class.new(ActiveSupport::Configurable::Configuration).new block.call(klass) if block