diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da01e7f..ca34531 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0", "2.7", "2.6"] + ruby: ["3.1", "3.0", "2.7"] experimental: [false] include: - ruby: ruby-head diff --git a/CHANGELOG b/CHANGELOG index 8b79454..d0bbf47 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,6 @@ -Pending: +2022-31-01 - 1.2.0 +- Ruby 2.6 is EOL support removed - FIX: when multiple params shared a prefix inline encoder may work in unexpected ways - FEATURE: add sql_literal for injecting sql in sql builder diff --git a/lib/mini_sql.rb b/lib/mini_sql.rb index 326cb16..ba1eb00 100644 --- a/lib/mini_sql.rb +++ b/lib/mini_sql.rb @@ -3,6 +3,9 @@ # we need this for a coder require "bigdecimal" +# used for builder +require "set" + require_relative "mini_sql/version" require_relative "mini_sql/connection" require_relative "mini_sql/deserializer_cache" diff --git a/lib/mini_sql/version.rb b/lib/mini_sql/version.rb index de4c7ca..133509a 100644 --- a/lib/mini_sql/version.rb +++ b/lib/mini_sql/version.rb @@ -1,4 +1,4 @@ # frozen_string_literal: true module MiniSql - VERSION = "1.1.3" + VERSION = "1.2.0" end diff --git a/test/test_helper.rb b/test/test_helper.rb index 16b7e0e..2c103a4 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -42,7 +42,7 @@ def pg_connection(options = {}) args[name] = val end end - pg_conn = PG.connect(args) + pg_conn = PG.connect(**args) MiniSql::Connection.get(pg_conn, options) end