pgtk 0.17.1 → 0.17.2

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: 72b30fd73fd65ec23cd7853399d575b696aef7db096b76e53d3448b881cbcf6c
4
- data.tar.gz: 02f7a7c50eea3ce4b20862b6fcbb762e89de2259722dc034dd10c3a712345386
3
+ metadata.gz: 3577b7eb7011e8eb76be9d173b76ea39db2b474768833933f97879833bde592e
4
+ data.tar.gz: 621c8add84f8c495fd40f148fadc432a271c9dca84c14bfaa7d28d67045c7a9c
5
5
  SHA512:
6
- metadata.gz: 30707ad9cf31b00a9fca53e8c83e1197d2e6f7c3bce07856fc0f93efa5240091f31e82f99cf91940c3466e499e4cf10f46b3bf16a4476a48256ab7b120fb3f84
7
- data.tar.gz: 0adf7b70d2921a681af1f65cd6fbc77025a96a53d678ca25f50d1c7a6c7d6173240fcd8f4475eb16383dc4d5d92868420035d64744b5660a230cca57f304b54b
6
+ metadata.gz: a9e7290f1f6ae34dfc7e68214bcb72f4d283fa64e766e7b3048570ce40b6ddc3fcc0ae1c4f83e10a109446f1bff731c430670df3a9ef1fd1cb627d441337804e
7
+ data.tar.gz: 1ee9be6615be8f64cb7beb4e223c3e15e9c85e75ba41273454e8ec36cd8347f20d07bb7c7ab83a0050f16815faf2d52ea7f3f6aebb78d795aacf8567679aeace
@@ -12,4 +12,4 @@ jobs:
12
12
  runs-on: ubuntu-24.04
13
13
  steps:
14
14
  - uses: actions/checkout@v4
15
- - uses: yegor256/copyrights-action@0.0.10
15
+ - uses: yegor256/copyrights-action@0.0.12
@@ -16,4 +16,4 @@ jobs:
16
16
  runs-on: ubuntu-24.04
17
17
  steps:
18
18
  - uses: actions/checkout@v4
19
- - uses: crate-ci/typos@v1.32.0
19
+ - uses: crate-ci/typos@v1.33.1
data/Gemfile.lock CHANGED
@@ -17,7 +17,7 @@ GEM
17
17
  specs:
18
18
  ansi (1.5.0)
19
19
  ast (2.4.3)
20
- backtrace (0.4.0)
20
+ backtrace (0.4.1)
21
21
  builder (3.3.0)
22
22
  concurrent-ruby (1.3.5)
23
23
  differ (0.1.2)
@@ -57,14 +57,14 @@ GEM
57
57
  loog (> 0)
58
58
  tago (> 0)
59
59
  racc (1.8.1)
60
- rack (3.1.15)
60
+ rack (3.1.16)
61
61
  rainbow (3.1.1)
62
- rake (13.2.1)
62
+ rake (13.3.0)
63
63
  random-port (0.7.5)
64
64
  tago (> 0)
65
65
  regexp_parser (2.10.0)
66
66
  rexml (3.4.1)
67
- rubocop (1.75.7)
67
+ rubocop (1.76.0)
68
68
  json (~> 2.3)
69
69
  language_server-protocol (~> 3.17.0.2)
70
70
  lint_roller (~> 1.1.0)
@@ -72,13 +72,13 @@ GEM
72
72
  parser (>= 3.3.0.2)
73
73
  rainbow (>= 2.2.2, < 4.0)
74
74
  regexp_parser (>= 2.9.3, < 3.0)
75
- rubocop-ast (>= 1.44.0, < 2.0)
75
+ rubocop-ast (>= 1.45.0, < 2.0)
76
76
  ruby-progressbar (~> 1.7)
77
77
  unicode-display_width (>= 2.4.0, < 4.0)
78
- rubocop-ast (1.44.1)
78
+ rubocop-ast (1.45.0)
79
79
  parser (>= 3.3.7.2)
80
80
  prism (~> 1.4)
81
- rubocop-minitest (0.38.0)
81
+ rubocop-minitest (0.38.1)
82
82
  lint_roller (~> 1.1)
83
83
  rubocop (>= 1.75.0, < 2.0)
84
84
  rubocop-ast (>= 1.38.0, < 2.0)
@@ -86,6 +86,7 @@ class Pgtk::Impatient
86
86
  token = SecureRandom.uuid
87
87
  begin
88
88
  Timeout.timeout(@timeout, Timeout::Error, token) do
89
+ @pool.exec("SET LOCAL statement_timeout = #{(@timeout * 1000).to_i}")
89
90
  @pool.exec(sql, *args)
90
91
  end
91
92
  rescue Timeout::Error => e
data/lib/pgtk/version.rb CHANGED
@@ -11,5 +11,5 @@ require_relative '../pgtk'
11
11
  # License:: MIT
12
12
  module Pgtk
13
13
  # Current version of the library.
14
- VERSION = '0.17.1'
14
+ VERSION = '0.17.2'
15
15
  end
data/resources/pom.xml CHANGED
@@ -10,7 +10,7 @@
10
10
  <version>0.0.0</version>
11
11
  <packaging>pom</packaging>
12
12
  <properties>
13
- <postgresql.version>42.7.5</postgresql.version>
13
+ <postgresql.version>42.7.6</postgresql.version>
14
14
  <liquibase.version>4.32.0</liquibase.version>
15
15
  </properties>
16
16
  <dependencies>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.1
4
+ version: 0.17.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko