trino-client 2.2.4 → 2.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86c798d4b43a4371f78cd8dac5e19c62faef5a0d8e5d486a9afe05c94b181fba
4
- data.tar.gz: e19a05e46624e829c3c9e2fe0588875d86c9d3bb6cce53f178079bc949b4c20c
3
+ metadata.gz: 52373d10e6b2a747763c91f89a5f2da08824fa239b97808b6fb50229f0501b6b
4
+ data.tar.gz: 15678aba8084b3ed6845c5784d7fcc2d68699ad5f002776d6fd5897206f2bf23
5
5
  SHA512:
6
- metadata.gz: 90c0f9d87a0c0e038f90b91ad13c522b828930ed6d13185a743613d4a7e955c77c180e368ae2a167cec12ab477fad5534768bf15e14be7ca56c20f8f7cb8b936
7
- data.tar.gz: 54aa3d204e9db250e5108f2e3e21f140cc546def4a01911ba71a8dd9a54eb5ccdeadc036a6073a33f8f90fc6e73225d2d65065609729461e8daebb502513ca24
6
+ metadata.gz: 83a93c0ed41734746f4e69a0b752c7acb978b143188e4d088ef348632ebb2df040b523eae8243b31ee1a94908d61444591405fa0d5f06cfecb2e5767e6d974d4
7
+ data.tar.gz: 32dfdb8fb542c3cd8b7ebe3e01678baa2f2146c21e05a30c185b8a27b84845be96a2a3b57471bb8e667edf9c1a9449354b59e72b9149d4978cd7b8a223a55dc4
data/ChangeLog.md CHANGED
@@ -1,5 +1,21 @@
1
1
  trino-client-ruby
2
2
  ====
3
+ ## 2.2.5
4
+ - Merge pull request [#155](https://github.com/treasure-data/trino-client-ruby/issues/155) from murakami-ta/add-http-debug-logger-option [[143a801](https://github.com/treasure-data/trino-client-ruby/commit/143a801)]
5
+ - Fix http_debug_logger test to work with both Faraday 1 and 2 [[0976be7](https://github.com/treasure-data/trino-client-ruby/commit/0976be7)]
6
+ - Add http_debug_logger option [[b54b20a](https://github.com/treasure-data/trino-client-ruby/commit/b54b20a)]
7
+ - Bump rubygems/release-gem from 1.1.4 to 1.2.0 ([#153](https://github.com/treasure-data/trino-client-ruby/issues/153)) [[52e0e30](https://github.com/treasure-data/trino-client-ruby/commit/52e0e30)]
8
+ - Bump release-drafter/release-drafter from 6 to 7 ([#152](https://github.com/treasure-data/trino-client-ruby/issues/152)) [[851d586](https://github.com/treasure-data/trino-client-ruby/commit/851d586)]
9
+ - Bump rubygems/release-gem from 1.1.2 to 1.1.4 ([#151](https://github.com/treasure-data/trino-client-ruby/issues/151)) [[bca14ae](https://github.com/treasure-data/trino-client-ruby/commit/bca14ae)]
10
+ - Update standard requirement from ~> 1.51.1 to ~> 1.54.0 ([#150](https://github.com/treasure-data/trino-client-ruby/issues/150)) [[9dc220e](https://github.com/treasure-data/trino-client-ruby/commit/9dc220e)]
11
+ - Bump actions/checkout from 5 to 6 ([#147](https://github.com/treasure-data/trino-client-ruby/issues/147)) [[76f9954](https://github.com/treasure-data/trino-client-ruby/commit/76f9954)]
12
+ - Bump github/codeql-action from 3 to 4 ([#145](https://github.com/treasure-data/trino-client-ruby/issues/145)) [[3065e2a](https://github.com/treasure-data/trino-client-ruby/commit/3065e2a)]
13
+ - Update standard requirement from ~> 1.50.0 to ~> 1.51.1 ([#143](https://github.com/treasure-data/trino-client-ruby/issues/143)) [[be846e0](https://github.com/treasure-data/trino-client-ruby/commit/be846e0)]
14
+ - Bump rubygems/release-gem ([#146](https://github.com/treasure-data/trino-client-ruby/issues/146)) [[9821efc](https://github.com/treasure-data/trino-client-ruby/commit/9821efc)]
15
+ - Add DeepWiki badge to README [skip ci] [[82afa57](https://github.com/treasure-data/trino-client-ruby/commit/82afa57)]
16
+ - Update release.rb to increment the version in @lib/trino/client/version.rb [[c2bff61](https://github.com/treasure-data/trino-client-ruby/commit/c2bff61)]
17
+ - Bump actions/checkout from 4 to 5, etc ([#142](https://github.com/treasure-data/trino-client-ruby/issues/142)) [[17eb1d2](https://github.com/treasure-data/trino-client-ruby/commit/17eb1d2)]
18
+
3
19
  ## 2.2.4
4
20
  - Add steps to publish trino-client-ruby [[228f709](https://github.com/treasure-data/trino-client-ruby/commit/228f709)]
5
21
 
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Trino client library for Ruby
2
2
 
3
3
  [![Ruby](https://github.com/treasure-data/trino-client-ruby/actions/workflows/ruby.yml/badge.svg)](https://github.com/treasure-data/trino-client-ruby/actions/workflows/ruby.yml) [![Gem](https://img.shields.io/gem/v/trino-client)](https://rubygems.org/gems/trino-client) [![Gem](https://img.shields.io/gem/dt/trino-client)](https://rubygems.org/gems/trino-client) [![GitHub](https://img.shields.io/github/license/treasure-data/trino-client-ruby)]()
4
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/treasure-data/trino-client-ruby)
4
5
 
5
6
  Trino is a distributed SQL query engine for big data:
6
7
  https://trino.io/
@@ -112,6 +113,7 @@ $ bundle exec rake modelgen:latest
112
113
  * **http_headers** sets custom HTTP headers. It must be a Hash of string to string.
113
114
  * **http_proxy** sets host:port of a HTTP proxy server.
114
115
  * **http_debug** enables debug message to STDOUT for each HTTP requests.
116
+ * **http_debug_logger** sets a custom `Logger` instance for HTTP debug logs. Requires **http_debug** to be `true`.
115
117
  * **http_open_timeout** sets timeout in seconds to open new HTTP connection.
116
118
  * **http_timeout** sets timeout in seconds to read data from a server.
117
119
  * **gzip** enables gzip compression.
@@ -91,7 +91,7 @@ module Trino::Client
91
91
  if options[:gzip]
92
92
  faraday.request :gzip
93
93
  end
94
- faraday.response :logger if options[:http_debug]
94
+ faraday.response :logger, options[:http_debug_logger] if options[:http_debug]
95
95
  faraday.adapter Faraday.default_adapter
96
96
  end
97
97
 
@@ -15,6 +15,6 @@
15
15
  #
16
16
  module Trino
17
17
  module Client
18
- VERSION = "2.2.4"
18
+ VERSION = "2.2.5"
19
19
  end
20
20
  end
data/trino-client.gemspec CHANGED
@@ -31,6 +31,6 @@ Gem::Specification.new do |gem|
31
31
  gem.add_development_dependency "webmock", ["~> 3.0"]
32
32
  gem.add_development_dependency "addressable", "~> 2.8.1" # 2.5.0 doesn't support Ruby 1.9.3
33
33
  gem.add_development_dependency "simplecov", "~> 0.22.0"
34
- gem.add_development_dependency "standard", "~> 1.50.0"
34
+ gem.add_development_dependency "standard", "~> 1.54.0"
35
35
  gem.add_development_dependency "psych", "~> 3"
36
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trino-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-11 00:00:00.000000000 Z
11
+ date: 2026-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -154,14 +154,14 @@ dependencies:
154
154
  requirements:
155
155
  - - "~>"
156
156
  - !ruby/object:Gem::Version
157
- version: 1.50.0
157
+ version: 1.54.0
158
158
  type: :development
159
159
  prerelease: false
160
160
  version_requirements: !ruby/object:Gem::Requirement
161
161
  requirements:
162
162
  - - "~>"
163
163
  - !ruby/object:Gem::Version
164
- version: 1.50.0
164
+ version: 1.54.0
165
165
  - !ruby/object:Gem::Dependency
166
166
  name: psych
167
167
  requirement: !ruby/object:Gem::Requirement