pgtk 0.9.6 → 0.10.0

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: 04bf16143dbb42f1081b9ccbbe914b689437b851a639c8aa3260f26f6fbe7bb7
4
- data.tar.gz: 6baa628d9a3fa5d559120cd85479caa281b0b45bd332878882c13b1d9536fdc1
3
+ metadata.gz: c0e3dc64528c0ea54e3e2cc1d75e142f30ad127bf79ede0fcca307656bc42920
4
+ data.tar.gz: c671bfbce992f4c922ecbf228211465bea1623d66d54796802d97d17052ad152
5
5
  SHA512:
6
- metadata.gz: fe16da33edcbecc5d946c87576df7cc9df2095ad82b3f4f7dc62e8f7974bc2bdbfb783dedb053abab4dc9adeb5e2f45354e5d4cc1f0787a39607f783711427fd
7
- data.tar.gz: 25301a409afe7a607262104d790943a64903c0d07a21efba0476f5667413e860970bc596cd7604b09a61b7b7ebb15ec9f776b6e69d6004ccdbdbd69becb9ca10
6
+ metadata.gz: b6324e9656ae42a7735fa875fc9daffd306370f0f8afe2630900c9b2c76967eb666ba13b91cdf68eff7581c1f66110c5bf0a6bb617e2483ef5461b6f5e614914
7
+ data.tar.gz: 7336b30c06b4f34c3a2e4df89ed633a1cdc49f2dcd20020fbb3e65bd9f198508f5a69b6d7729301e0775381d3dd0e8522c41cfe217c3176e2248c1c719c35b1c
@@ -28,7 +28,7 @@ name: actionlint
28
28
  - master
29
29
  jobs:
30
30
  actionlint:
31
- runs-on: ubuntu-22.04
31
+ runs-on: ubuntu-24.04
32
32
  steps:
33
33
  - uses: actions/checkout@v4
34
34
  - name: Download actionlint
@@ -25,7 +25,7 @@ on:
25
25
  - master
26
26
  jobs:
27
27
  codecov:
28
- runs-on: ubuntu-22.04
28
+ runs-on: ubuntu-24.04
29
29
  steps:
30
30
  - uses: actions/checkout@v4
31
31
  - uses: ruby/setup-ruby@v1
@@ -34,9 +34,9 @@ jobs:
34
34
  bundler-cache: true
35
35
  - run: |
36
36
  sudo apt-get update
37
- sudo apt-get install -y postgresql-14
38
- sudo ln -s /usr/lib/postgresql/14/bin/initdb /bin/initdb
39
- sudo ln -s /usr/lib/postgresql/14/bin/postgres /bin/postgres
37
+ sudo apt-get install -y libpq-dev postgresql-client postgresql
38
+ sudo ln -s "$(realpath /usr/lib/postgresql/*/bin/initdb)" /bin/initdb
39
+ sudo ln -s "$(realpath /usr/lib/postgresql/*/bin/postgres)" /bin/postgres
40
40
  - run: bundle install
41
41
  - run: bundle exec rake
42
42
  - uses: codecov/codecov-action@v4
@@ -24,7 +24,7 @@ name: copyrights
24
24
  pull_request:
25
25
  jobs:
26
26
  copyrights:
27
- runs-on: ubuntu-22.04
27
+ runs-on: ubuntu-24.04
28
28
  steps:
29
29
  - uses: actions/checkout@v4
30
30
  - uses: yegor256/copyrights-action@0.0.5
@@ -28,7 +28,7 @@ name: license
28
28
  - master
29
29
  jobs:
30
30
  license:
31
- runs-on: ubuntu-22.04
31
+ runs-on: ubuntu-24.04
32
32
  steps:
33
33
  - uses: actions/checkout@v4
34
34
  - shell: bash
@@ -32,7 +32,7 @@ concurrency:
32
32
  cancel-in-progress: true
33
33
  jobs:
34
34
  markdown-lint:
35
- runs-on: ubuntu-22.04
35
+ runs-on: ubuntu-24.04
36
36
  steps:
37
37
  - uses: actions/checkout@v4
38
38
  - uses: articulate/actions-markdownlint@v1
@@ -28,7 +28,7 @@ on:
28
28
  - master
29
29
  jobs:
30
30
  pdd:
31
- runs-on: ubuntu-22.04
31
+ runs-on: ubuntu-24.04
32
32
  steps:
33
33
  - uses: actions/checkout@v4
34
34
  - uses: volodya-lombrozo/pdd-action@master
@@ -31,16 +31,16 @@ jobs:
31
31
  name: test
32
32
  strategy:
33
33
  matrix:
34
- os: [ubuntu-20.04]
34
+ os: [ubuntu-24.04]
35
35
  ruby: [3.2]
36
36
  runs-on: ${{ matrix.os }}
37
37
  steps:
38
38
  - uses: actions/checkout@v4
39
39
  - run: |
40
40
  sudo apt-get update
41
- sudo apt-get install -y postgresql-14
42
- sudo ln -s /usr/lib/postgresql/14/bin/initdb /bin/initdb
43
- sudo ln -s /usr/lib/postgresql/14/bin/postgres /bin/postgres
41
+ sudo apt-get install -y postgresql
42
+ sudo ln -s "$(realpath /usr/lib/postgresql/*/bin/initdb)" /bin/initdb
43
+ sudo ln -s "$(realpath /usr/lib/postgresql/*/bin/postgres)" /bin/postgres
44
44
  - uses: ruby/setup-ruby@v1
45
45
  with:
46
46
  ruby-version: ${{ matrix.ruby }}
@@ -28,7 +28,7 @@ name: xcop
28
28
  - master
29
29
  jobs:
30
30
  xcop:
31
- runs-on: ubuntu-22.04
31
+ runs-on: ubuntu-24.04
32
32
  steps:
33
33
  - uses: actions/checkout@v4
34
34
  - uses: g4s8/xcop-action@master
@@ -28,7 +28,7 @@ name: yamllint
28
28
  - master
29
29
  jobs:
30
30
  yamllint:
31
- runs-on: ubuntu-22.04
31
+ runs-on: ubuntu-24.04
32
32
  steps:
33
33
  - uses: actions/checkout@v4
34
34
  - uses: ibiqlik/action-yamllint@v3
data/.rultor.yml CHANGED
@@ -19,10 +19,14 @@
19
19
  # SOFTWARE.
20
20
  ---
21
21
  docker:
22
- image: yegor256/rultor-image:1.23.1
22
+ image: yegor256/rultor-java
23
23
  assets:
24
24
  rubygems.yml: yegor256/home#assets/rubygems.yml
25
25
  install: |
26
+ sudo apt-get -y update
27
+ sudo apt-get -y install libpq-dev postgresql-client postgresql
28
+ sudo ln -s "$(realpath /usr/lib/postgresql/*/bin/initdb)" /bin/initdb
29
+ sudo ln -s "$(realpath /usr/lib/postgresql/*/bin/postgres)" /bin/postgres
26
30
  pdd -f /dev/null
27
31
  bundle install --no-color
28
32
  release:
data/.yamllint.yml CHANGED
@@ -20,5 +20,5 @@
20
20
  ---
21
21
  rules:
22
22
  line-length:
23
- max: 80
23
+ max: 200
24
24
  allow-non-breakable-words: true
data/Gemfile CHANGED
@@ -23,11 +23,13 @@
23
23
  source 'https://rubygems.org'
24
24
  gemspec
25
25
 
26
- gem 'minitest', '5.24.1', require: false
26
+ gem 'minitest', '5.25.1', require: false
27
+ gem 'minitest-reporters', '~>1.7', require: false
27
28
  gem 'rack', '3.1.7', require: false
28
29
  gem 'rake', '13.2.1', require: false
29
- gem 'rspec-rails', '6.1.3', require: false
30
- gem 'rubocop', '1.65.0', require: false
31
- gem 'rubocop-rspec', '3.0.3', require: false
30
+ gem 'rspec-rails', '7.0.1', require: false
31
+ gem 'rubocop', '1.66.1', require: false
32
+ gem 'rubocop-rspec', '3.0.5', require: false
32
33
  gem 'simplecov', '0.22.0', require: false
34
+ gem 'simplecov-cobertura', '~>2.1'
33
35
  gem 'xcop', '0.7.1', require: false
data/Gemfile.lock CHANGED
@@ -2,52 +2,59 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  pgtk (0.0.0)
5
- backtrace (~> 0.3)
6
- loog (~> 0.2)
5
+ backtrace (> 0)
6
+ loog (> 0)
7
7
  pg (~> 1.1)
8
- random-port (~> 0.3)
8
+ qbash (> 0)
9
+ random-port (> 0)
9
10
 
10
11
  GEM
11
12
  remote: https://rubygems.org/
12
13
  specs:
13
- actionpack (7.1.3.4)
14
- actionview (= 7.1.3.4)
15
- activesupport (= 7.1.3.4)
14
+ actionpack (7.2.1)
15
+ actionview (= 7.2.1)
16
+ activesupport (= 7.2.1)
16
17
  nokogiri (>= 1.8.5)
17
18
  racc
18
- rack (>= 2.2.4)
19
+ rack (>= 2.2.4, < 3.2)
19
20
  rack-session (>= 1.0.1)
20
21
  rack-test (>= 0.6.3)
21
22
  rails-dom-testing (~> 2.2)
22
23
  rails-html-sanitizer (~> 1.6)
23
- actionview (7.1.3.4)
24
- activesupport (= 7.1.3.4)
24
+ useragent (~> 0.16)
25
+ actionview (7.2.1)
26
+ activesupport (= 7.2.1)
25
27
  builder (~> 3.1)
26
28
  erubi (~> 1.11)
27
29
  rails-dom-testing (~> 2.2)
28
30
  rails-html-sanitizer (~> 1.6)
29
- activesupport (7.1.3.4)
31
+ activesupport (7.2.1)
30
32
  base64
31
33
  bigdecimal
32
- concurrent-ruby (~> 1.0, >= 1.0.2)
34
+ concurrent-ruby (~> 1.0, >= 1.3.1)
33
35
  connection_pool (>= 2.2.5)
34
36
  drb
35
37
  i18n (>= 1.6, < 2)
38
+ logger (>= 1.4.2)
36
39
  minitest (>= 5.1)
37
- mutex_m
38
- tzinfo (~> 2.0)
40
+ securerandom (>= 0.3)
41
+ tzinfo (~> 2.0, >= 2.0.5)
42
+ ansi (1.5.0)
39
43
  ast (2.4.2)
40
44
  backtrace (0.4.0)
41
45
  base64 (0.2.0)
42
46
  bigdecimal (3.1.8)
43
47
  builder (3.3.0)
44
- concurrent-ruby (1.3.3)
48
+ concurrent-ruby (1.3.4)
45
49
  connection_pool (2.4.1)
46
50
  crass (1.0.6)
47
51
  diff-lcs (1.5.1)
48
52
  differ (0.1.2)
49
53
  docile (1.4.0)
50
54
  drb (2.2.1)
55
+ elapsed (0.0.1)
56
+ loog (> 0)
57
+ tago (> 0)
51
58
  erubi (1.13.0)
52
59
  i18n (1.14.5)
53
60
  concurrent-ruby (~> 1.0)
@@ -57,24 +64,33 @@ GEM
57
64
  reline (>= 0.4.2)
58
65
  json (2.7.2)
59
66
  language_server-protocol (3.17.0.3)
67
+ logger (1.6.1)
60
68
  loofah (2.22.0)
61
69
  crass (~> 1.0.2)
62
70
  nokogiri (>= 1.12.0)
63
71
  loog (0.5.2)
64
- minitest (5.24.1)
65
- mutex_m (0.2.0)
66
- nokogiri (1.16.6-arm64-darwin)
72
+ minitest (5.25.1)
73
+ minitest-reporters (1.7.1)
74
+ ansi
75
+ builder
76
+ minitest (>= 5.0)
77
+ ruby-progressbar
78
+ nokogiri (1.16.7-arm64-darwin)
67
79
  racc (~> 1.4)
68
- nokogiri (1.16.6-x86_64-linux)
80
+ nokogiri (1.16.7-x86_64-linux)
69
81
  racc (~> 1.4)
70
- parallel (1.25.1)
71
- parser (3.3.4.0)
82
+ parallel (1.26.3)
83
+ parser (3.3.5.0)
72
84
  ast (~> 2.4.1)
73
85
  racc
74
86
  pg (1.5.6)
75
87
  psych (5.1.2)
76
88
  stringio
77
- racc (1.8.0)
89
+ qbash (0.0.4)
90
+ backtrace (> 0)
91
+ elapsed (> 0)
92
+ loog (> 0)
93
+ racc (1.8.1)
78
94
  rack (3.1.7)
79
95
  rack-session (2.0.0)
80
96
  rack (>= 3.0.0)
@@ -90,10 +106,10 @@ GEM
90
106
  rails-html-sanitizer (1.6.0)
91
107
  loofah (~> 2.21)
92
108
  nokogiri (~> 1.14)
93
- railties (7.1.3.4)
94
- actionpack (= 7.1.3.4)
95
- activesupport (= 7.1.3.4)
96
- irb
109
+ railties (7.2.1)
110
+ actionpack (= 7.2.1)
111
+ activesupport (= 7.2.1)
112
+ irb (~> 1.13)
97
113
  rackup (>= 1.0.0)
98
114
  rake (>= 12.2)
99
115
  thor (~> 1.0, >= 1.2.2)
@@ -106,76 +122,81 @@ GEM
106
122
  regexp_parser (2.9.2)
107
123
  reline (0.5.9)
108
124
  io-console (~> 0.5)
109
- rexml (3.3.1)
110
- strscan
111
- rspec-core (3.13.0)
125
+ rexml (3.3.8)
126
+ rspec-core (3.13.1)
112
127
  rspec-support (~> 3.13.0)
113
- rspec-expectations (3.13.1)
128
+ rspec-expectations (3.13.2)
114
129
  diff-lcs (>= 1.2.0, < 2.0)
115
130
  rspec-support (~> 3.13.0)
116
131
  rspec-mocks (3.13.1)
117
132
  diff-lcs (>= 1.2.0, < 2.0)
118
133
  rspec-support (~> 3.13.0)
119
- rspec-rails (6.1.3)
120
- actionpack (>= 6.1)
121
- activesupport (>= 6.1)
122
- railties (>= 6.1)
134
+ rspec-rails (7.0.1)
135
+ actionpack (>= 7.0)
136
+ activesupport (>= 7.0)
137
+ railties (>= 7.0)
123
138
  rspec-core (~> 3.13)
124
139
  rspec-expectations (~> 3.13)
125
140
  rspec-mocks (~> 3.13)
126
141
  rspec-support (~> 3.13)
127
142
  rspec-support (3.13.1)
128
- rubocop (1.65.0)
143
+ rubocop (1.66.1)
129
144
  json (~> 2.3)
130
145
  language_server-protocol (>= 3.17.0)
131
146
  parallel (~> 1.10)
132
147
  parser (>= 3.3.0.2)
133
148
  rainbow (>= 2.2.2, < 4.0)
134
149
  regexp_parser (>= 2.4, < 3.0)
135
- rexml (>= 3.2.5, < 4.0)
136
- rubocop-ast (>= 1.31.1, < 2.0)
150
+ rubocop-ast (>= 1.32.2, < 2.0)
137
151
  ruby-progressbar (~> 1.7)
138
152
  unicode-display_width (>= 2.4.0, < 3.0)
139
- rubocop-ast (1.31.3)
153
+ rubocop-ast (1.32.3)
140
154
  parser (>= 3.3.1.0)
141
- rubocop-rspec (3.0.3)
155
+ rubocop-rspec (3.0.5)
142
156
  rubocop (~> 1.61)
143
157
  ruby-progressbar (1.13.0)
158
+ securerandom (0.3.1)
144
159
  simplecov (0.22.0)
145
160
  docile (~> 1.1)
146
161
  simplecov-html (~> 0.11)
147
162
  simplecov_json_formatter (~> 0.1)
163
+ simplecov-cobertura (2.1.0)
164
+ rexml
165
+ simplecov (~> 0.19)
148
166
  simplecov-html (0.12.3)
149
167
  simplecov_json_formatter (0.1.4)
150
168
  slop (4.10.1)
151
169
  stringio (3.1.1)
152
- strscan (3.1.0)
153
- thor (1.3.1)
170
+ tago (0.0.2)
171
+ thor (1.3.2)
154
172
  tzinfo (2.0.6)
155
173
  concurrent-ruby (~> 1.0)
156
174
  unicode-display_width (2.5.0)
175
+ useragent (0.16.10)
157
176
  webrick (1.8.1)
158
177
  xcop (0.7.1)
159
178
  differ (~> 0.1.2)
160
179
  nokogiri (~> 1.10)
161
180
  rainbow (~> 3.0)
162
181
  slop (~> 4.4)
163
- zeitwerk (2.6.16)
182
+ zeitwerk (2.6.18)
164
183
 
165
184
  PLATFORMS
166
185
  arm64-darwin-22
167
186
  x86_64-linux
168
187
 
169
188
  DEPENDENCIES
170
- minitest (= 5.24.1)
189
+ minitest (= 5.25.1)
190
+ minitest-reporters (~> 1.7)
171
191
  pgtk!
172
192
  rack (= 3.1.7)
173
193
  rake (= 13.2.1)
174
- rspec-rails (= 6.1.3)
175
- rubocop (= 1.65.0)
176
- rubocop-rspec (= 3.0.3)
194
+ rspec-rails (= 7.0.1)
195
+ rubocop (= 1.66.1)
196
+ rubocop-rspec (= 3.0.5)
177
197
  simplecov (= 0.22.0)
198
+ simplecov-cobertura (~> 2.1)
178
199
  xcop (= 0.7.1)
179
200
 
180
201
  BUNDLED WITH
181
- 2.5.6
202
+ 2.5.18
@@ -21,6 +21,7 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  require 'English'
24
+ require 'qbash'
24
25
  require 'rake'
25
26
  require 'rake/tasklib'
26
27
  require 'shellwords'
@@ -79,7 +80,7 @@ class Pgtk::LiquibaseTask < Rake::TaskLib
79
80
  password = yml['pgsql']['password']
80
81
  raise "The 'password' is not set in the config (YAML)" if password.nil?
81
82
  Dir.chdir(File.dirname(@master)) do
82
- system(
83
+ qbash(
83
84
  [
84
85
  'mvn verify',
85
86
  '--errors',
@@ -101,9 +102,8 @@ class Pgtk::LiquibaseTask < Rake::TaskLib
101
102
  '--define',
102
103
  "liquibase.password=#{Shellwords.escape(password)}",
103
104
  '2>&1'
104
- ].join(' ')
105
+ ]
105
106
  )
106
107
  end
107
- raise unless $CHILD_STATUS.exitstatus.zero?
108
108
  end
109
109
  end
@@ -22,6 +22,7 @@
22
22
 
23
23
  require 'cgi'
24
24
  require 'English'
25
+ require 'qbash'
25
26
  require 'rake'
26
27
  require 'rake/tasklib'
27
28
  require 'random-port'
@@ -66,45 +67,53 @@ class Pgtk::PgsqlTask < Rake::TaskLib
66
67
  out = "2>&1 #{@quiet ? '>/dev/null' : ''}"
67
68
  Tempfile.open do |pwfile|
68
69
  File.write(pwfile.path, @password)
69
- system(
70
+ qbash(
70
71
  [
71
72
  'initdb --auth=trust',
72
- "-D #{Shellwords.escape(home)}",
73
+ '-D',
74
+ Shellwords.escape(home),
73
75
  '--username',
74
76
  Shellwords.escape(@user),
75
77
  '--pwfile',
76
78
  Shellwords.escape(pwfile.path),
77
79
  out
78
- ].join(' ')
80
+ ]
79
81
  )
80
82
  end
81
- raise unless $CHILD_STATUS.exitstatus.zero?
82
83
  port = @port
83
84
  if port.nil?
84
85
  port = RandomPort::Pool::SINGLETON.acquire
85
- puts "Random TCP port #{port} is used"
86
+ puts "Random TCP port #{port} is used for PostgreSQL server" unless @quiet
86
87
  else
87
- puts "Required TCP port #{port} is used"
88
+ puts "Required TCP port #{port} is used for PostgreSQL server" unless @quiet
88
89
  end
89
- pid = Process.spawn('postgres', '-k', home, '-D', home, "--port=#{port}")
90
+ pid = Process.spawn(
91
+ [
92
+ 'postgres',
93
+ '-k', Shellwords.escape(home),
94
+ '-D', Shellwords.escape(home),
95
+ "--port=#{port}"
96
+ ].join(' '),
97
+ $stdout => File.join(home, 'stdout.txt'),
98
+ $stderr => File.join(home, 'stderr.txt')
99
+ )
90
100
  File.write(File.join(@dir, 'pid'), pid)
91
101
  at_exit do
92
102
  `kill -TERM #{pid}`
93
- puts "PostgreSQL killed in PID #{pid}"
103
+ puts "PostgreSQL killed in PID #{pid}" unless @quiet
94
104
  end
95
105
  sleep 1
96
106
  attempt = 0
97
107
  begin
98
- system(
108
+ qbash(
99
109
  [
100
110
  "createdb -h localhost -p #{port}",
101
111
  '--username',
102
112
  Shellwords.escape(@user),
103
113
  Shellwords.escape(@dbname),
104
114
  out
105
- ].join(' ')
115
+ ]
106
116
  )
107
- raise unless $CHILD_STATUS.exitstatus.zero?
108
117
  rescue StandardError => e
109
118
  puts e.message
110
119
  sleep(5)
@@ -128,6 +137,6 @@ class Pgtk::PgsqlTask < Rake::TaskLib
128
137
  }
129
138
  }.to_yaml
130
139
  )
131
- puts "PostgreSQL has been started in process ##{pid}, port #{port}"
140
+ puts "PostgreSQL has been started in process ##{pid}, port #{port}" unless @quiet
132
141
  end
133
142
  end
data/lib/pgtk/version.rb CHANGED
@@ -28,5 +28,5 @@ require_relative '../pgtk'
28
28
  # License:: MIT
29
29
  module Pgtk
30
30
  # Current version of the library.
31
- VERSION = '0.9.6'
31
+ VERSION = '0.10.0'
32
32
  end
data/pgtk.gemspec CHANGED
@@ -32,9 +32,10 @@ Gem::Specification.new do |s|
32
32
  s.version = Pgtk::VERSION
33
33
  s.license = 'MIT'
34
34
  s.summary = 'PostgreSQL ToolKit for Ruby apps'
35
- s.description = 'This small Ruby gem helps you integrate PostgreSQL \
36
- with your Ruby web app, through Liquibase. It also adds a simple \
37
- connection pool and query processor, to make SQL manipulation simpler.'
35
+ s.description =
36
+ 'This small Ruby gem helps you integrate PostgreSQL ' \
37
+ 'with your Ruby web app, through Liquibase. It also adds a simple ' \
38
+ 'connection pool and query processor, to make SQL manipulation simpler.'
38
39
  s.authors = ['Yegor Bugayenko']
39
40
  s.email = 'yegor256@gmail.com'
40
41
  s.homepage = 'http://github.com/yegor256/pgtk'
@@ -42,9 +43,10 @@ connection pool and query processor, to make SQL manipulation simpler.'
42
43
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
43
44
  s.rdoc_options = ['--charset=UTF-8']
44
45
  s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
45
- s.add_dependency 'backtrace', '~> 0.3'
46
- s.add_dependency 'loog', '~> 0.2'
47
- s.add_dependency 'pg', '~> 1.1'
48
- s.add_dependency 'random-port', '~> 0.3'
46
+ s.add_dependency 'backtrace', '>0'
47
+ s.add_dependency 'loog', '>0'
48
+ s.add_dependency 'pg', '~>1.1'
49
+ s.add_dependency 'qbash', '>0'
50
+ s.add_dependency 'random-port', '>0'
49
51
  s.metadata['rubygems_mfa_required'] = 'true'
50
52
  end
data/resources/pom.xml CHANGED
@@ -29,8 +29,8 @@ SOFTWARE.
29
29
  <version>0.0.0</version>
30
30
  <packaging>pom</packaging>
31
31
  <properties>
32
- <postgresql.version>42.7.3</postgresql.version>
33
- <liquibase.version>4.29.0</liquibase.version>
32
+ <postgresql.version>42.7.4</postgresql.version>
33
+ <liquibase.version>4.29.2</liquibase.version>
34
34
  </properties>
35
35
  <dependencies>
36
36
  <dependency>
data/test/test__helper.rb CHANGED
@@ -25,5 +25,11 @@ $stdout.sync = true
25
25
  require 'simplecov'
26
26
  SimpleCov.start
27
27
 
28
+ require 'simplecov-cobertura'
29
+ SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
30
+
31
+ require 'minitest/reporters'
32
+ Minitest::Reporters.use! [Minitest::Reporters::SpecReporter.new]
33
+
28
34
  require 'minitest/autorun'
29
35
  require_relative '../lib/pgtk'
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-31 00:00:00.000000000 Z
11
+ date: 2024-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backtrace
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.3'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: loog
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.2'
33
+ version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.2'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pg
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,24 +52,37 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: qbash
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">"
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">"
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: random-port
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
- - - "~>"
73
+ - - ">"
60
74
  - !ruby/object:Gem::Version
61
- version: '0.3'
75
+ version: '0'
62
76
  type: :runtime
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
- - - "~>"
80
+ - - ">"
67
81
  - !ruby/object:Gem::Version
68
- version: '0.3'
69
- description: |-
70
- This small Ruby gem helps you integrate PostgreSQL \
71
- with your Ruby web app, through Liquibase. It also adds a simple \
72
- connection pool and query processor, to make SQL manipulation simpler.
82
+ version: '0'
83
+ description: This small Ruby gem helps you integrate PostgreSQL with your Ruby web
84
+ app, through Liquibase. It also adds a simple connection pool and query processor,
85
+ to make SQL manipulation simpler.
73
86
  email: yegor256@gmail.com
74
87
  executables: []
75
88
  extensions: []
@@ -120,7 +133,7 @@ licenses:
120
133
  - MIT
121
134
  metadata:
122
135
  rubygems_mfa_required: 'true'
123
- post_install_message:
136
+ post_install_message:
124
137
  rdoc_options:
125
138
  - "--charset=UTF-8"
126
139
  require_paths:
@@ -137,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
150
  version: '0'
138
151
  requirements: []
139
152
  rubygems_version: 3.4.10
140
- signing_key:
153
+ signing_key:
141
154
  specification_version: 4
142
155
  summary: PostgreSQL ToolKit for Ruby apps
143
156
  test_files: []