From 0723dc7f28e7908a2ef7336aef2c8bc460cce063 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Feb 2023 12:10:56 +0000 Subject: [PATCH 1/4] Update standard requirement from ~> 1.12.1 to ~> 1.24.3 Updates the requirements on [standard](https://github.com/testdouble/standard) to permit the latest version. - [Release notes](https://github.com/testdouble/standard/releases) - [Changelog](https://github.com/testdouble/standard/blob/main/CHANGELOG.md) - [Commits](https://github.com/testdouble/standard/compare/v1.12.1...v1.24.3) --- updated-dependencies: - dependency-name: standard dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- trino-client.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trino-client.gemspec b/trino-client.gemspec index a530f53c..fe88153e 100644 --- a/trino-client.gemspec +++ b/trino-client.gemspec @@ -27,5 +27,5 @@ Gem::Specification.new do |gem| gem.add_development_dependency "webmock", ["~> 3.0"] gem.add_development_dependency "addressable", "~> 2.8.1" # 2.5.0 doesn't support Ruby 1.9.3 gem.add_development_dependency "simplecov", "~> 0.22.0" - gem.add_development_dependency "standard", "~> 1.12.1" + gem.add_development_dependency "standard", "~> 1.24.3" end From b52d244a503cc4a5353eb05fac4abbf94b31f1cb Mon Sep 17 00:00:00 2001 From: TATSUNO Yasuhiro Date: Tue, 21 Feb 2023 16:29:58 +0900 Subject: [PATCH 2/4] Remove redundant escape --- release.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.rb b/release.rb index 13c45564..16d3113f 100644 --- a/release.rb +++ b/release.rb @@ -19,7 +19,7 @@ logs = logs.gsub(/\#([0-9]+)/, "[#\\1](#{PREFIX}/issues/\\1)") new_release_notes = [] -new_release_notes <<= "\#\# #{next_version}\n" +new_release_notes <<= "## #{next_version}\n" new_release_notes <<= logs.split("\n") .reject { |line| line.include?("#{last_version} release notes") } .map { |x| From c6351b72540adf8e7dbbe22b12021e70af12e465 Mon Sep 17 00:00:00 2001 From: TATSUNO Yasuhiro Date: Tue, 21 Feb 2023 16:30:38 +0900 Subject: [PATCH 3/4] Use parentheses with complex conditions --- modelgen/modelgen.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modelgen/modelgen.rb b/modelgen/modelgen.rb index ece6ff66..ccc00943 100644 --- a/modelgen/modelgen.rb +++ b/modelgen/modelgen.rb @@ -81,7 +81,7 @@ TableWriterInfo core/trino-main/src/main/java/io/trino/operator/TableWriterOperator.java TableInfo core/trino-main/src/main/java/io/trino/execution/TableInfo.java DynamicFiltersStats core/trino-main/src/main/java/io/trino/server/DynamicFilterService.java -].map.with_index { |v, i| i % 2 == 0 ? v : (source_path + "/" + v) }] +].map.with_index { |v, i| (i % 2 == 0) ? v : (source_path + "/" + v) }] # model => [ [key,nullable,type], ... ] extra_fields = { From 7e037742ef0a9fcbc2a0892fcb76abc16014718b Mon Sep 17 00:00:00 2001 From: TATSUNO Yasuhiro Date: Tue, 21 Feb 2023 16:31:44 +0900 Subject: [PATCH 4/4] Remove the deprecated "test_files" to make the gem package smaller --- trino-client.gemspec | 1 - 1 file changed, 1 deletion(-) diff --git a/trino-client.gemspec b/trino-client.gemspec index fe88153e..e06fe590 100644 --- a/trino-client.gemspec +++ b/trino-client.gemspec @@ -13,7 +13,6 @@ Gem::Specification.new do |gem| gem.files = `git ls-files`.split($\) gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) } - gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.require_paths = ["lib"] gem.required_ruby_version = ">= 2.7.0"