lib/rom/sql/gateway.rb in rom-sql-3.1.0 vs lib/rom/sql/gateway.rb in rom-sql-3.2.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'logger'
require 'sequel/core'
require 'dry/core/constants'
@@ -19,10 +21,10 @@
include Migration
adapter :sql
CONNECTION_EXTENSIONS = {
- postgres: %i(pg_array pg_json pg_enum)
+ postgres: %i[pg_array pg_json pg_enum]
}.freeze
# @!attribute [r] logger
# @return [Object] configured gateway logger
attr_reader :logger