Skip to content

Commit

Permalink
DOCS: update release notes and bump version (#44)
Browse files Browse the repository at this point in the history
* DOCS: update release notes and bump version

* Various fixes

- Correct deprecation
- increase test matrix and remove ruby 2.6
- include missing "set" dependency
  • Loading branch information
SamSaffron authored Jan 31, 2022
1 parent bd46c55 commit 20514a4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 3 additions & 0 deletions lib/mini_sql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion lib/mini_sql/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: true
module MiniSql
VERSION = "1.1.3"
VERSION = "1.2.0"
end
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 20514a4

Please sign in to comment.