pgtk 0.8.1 → 0.9.1
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 +4 -4
- data/.github/workflows/codecov.yml +3 -2
- data/.github/workflows/pdd.yml +3 -3
- data/.github/workflows/rake.yml +1 -1
- data/.github/workflows/xcop.yml +1 -1
- data/.rultor.yml +3 -2
- data/.simplecov +1 -1
- data/Gemfile +1 -1
- data/LICENSE.txt +1 -1
- data/README.md +9 -4
- data/Rakefile +3 -3
- data/lib/pgtk/liquibase_task.rb +27 -13
- data/lib/pgtk/pgsql_task.rb +2 -2
- data/lib/pgtk/pool.rb +2 -2
- data/lib/pgtk/version.rb +3 -3
- data/lib/pgtk/wire.rb +5 -5
- data/lib/pgtk.rb +2 -2
- data/pgtk.gemspec +1 -1
- data/resources/pom.xml +8 -4
- data/test/test__helper.rb +1 -1
- data/test/test_liquibase_task.rb +14 -1
- data/test/test_pgsql_task.rb +1 -1
- data/test/test_pool.rb +1 -1
- data/test-resources/2019/01-test.xml +1 -1
- data/test-resources/master.xml +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cdeccc0e450065c83781128c70c55fb51a7ea539b0825f2489d17a73f4d130c
|
4
|
+
data.tar.gz: 3e0e70bbf2fe76c2f355691b91d6a537a96e2a75d4826ff223ecd51daf209b24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ace41790bf37bf7319ef64c3ab4265aa12acd32d278f1eef52e828d2e1ea2a93913f0f5cd6be91cd63531b3ecdafcbeac74a7bebca53e2c1f04cd9fc4995adc
|
7
|
+
data.tar.gz: 4c9794a675196ca1d15aff36f7534f12764425bae8e24dc1e6e781712cc9cce00bfd51499e6e06c9785312d76a03ee7e992c353e6d2cd06447f3ddbcce477c3b
|
@@ -8,8 +8,8 @@ jobs:
|
|
8
8
|
codecov:
|
9
9
|
runs-on: ubuntu-22.04
|
10
10
|
steps:
|
11
|
-
- uses: actions/checkout@
|
12
|
-
- uses:
|
11
|
+
- uses: actions/checkout@v4
|
12
|
+
- uses: ruby/setup-ruby@v1
|
13
13
|
with:
|
14
14
|
ruby-version: 2.7
|
15
15
|
- run: |
|
@@ -21,5 +21,6 @@ jobs:
|
|
21
21
|
- run: bundle exec rake
|
22
22
|
- uses: codecov/codecov-action@v3
|
23
23
|
with:
|
24
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
24
25
|
file: coverage/.resultset.json
|
25
26
|
fail_ci_if_error: true
|
data/.github/workflows/pdd.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
---
|
2
2
|
name: pdd
|
3
|
-
|
3
|
+
on:
|
4
4
|
push:
|
5
5
|
branches:
|
6
6
|
- master
|
@@ -11,5 +11,5 @@ jobs:
|
|
11
11
|
pdd:
|
12
12
|
runs-on: ubuntu-22.04
|
13
13
|
steps:
|
14
|
-
- uses: actions/checkout@
|
15
|
-
- uses:
|
14
|
+
- uses: actions/checkout@v4
|
15
|
+
- uses: volodya-lombrozo/pdd-action@master
|
data/.github/workflows/rake.yml
CHANGED
data/.github/workflows/xcop.yml
CHANGED
data/.rultor.yml
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
docker:
|
2
|
-
image: yegor256/rultor-image:1.
|
2
|
+
image: yegor256/rultor-image:1.22.0
|
3
3
|
assets:
|
4
4
|
rubygems.yml: yegor256/home#assets/rubygems.yml
|
5
5
|
install: |
|
6
6
|
pdd -f /dev/null
|
7
|
-
|
7
|
+
bundle install --no-color
|
8
8
|
release:
|
9
|
+
pre: false
|
9
10
|
script: |-
|
10
11
|
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
|
11
12
|
bundle exec rake
|
data/.simplecov
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2019-
|
3
|
+
# Copyright (c) 2019-2024 Yegor Bugayenko
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the 'Software'), to deal
|
data/Gemfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2019-
|
3
|
+
# Copyright (c) 2019-2024 Yegor Bugayenko
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the 'Software'), to deal
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -50,13 +50,16 @@ Pgtk::PgsqlTask.new :pgsql do |t|
|
|
50
50
|
end
|
51
51
|
```
|
52
52
|
|
53
|
-
And this too:
|
53
|
+
And this too ([org.postgresql:postgresql](https://mvnrepository.com/artifact/org.postgresql/postgresql) and [org.liquibase:liquibase-maven-plugin](https://mvnrepository.com/artifact/org.liquibase/liquibase-maven-plugin) are used inside):
|
54
54
|
|
55
55
|
```ruby
|
56
56
|
require 'pgtk/liquibase_task'
|
57
57
|
Pgtk::LiquibaseTask.new liquibase: :pgsql do |t|
|
58
58
|
t.master = 'liquibase/master.xml' # Master XML file path
|
59
59
|
t.yaml = ['target/pgsql-config.yml', 'config.yml'] # YAML files with connection details
|
60
|
+
t.quiet = false # TRUE by default
|
61
|
+
t.postgresql_version = '42.7.0' # overwriting default version
|
62
|
+
t.liquibase_version = '3.2.2' # overwriting default version
|
60
63
|
end
|
61
64
|
```
|
62
65
|
|
@@ -129,10 +132,12 @@ end
|
|
129
132
|
|
130
133
|
Should work.
|
131
134
|
|
132
|
-
Well, it works in
|
135
|
+
Well, it works in
|
136
|
+
[netbout.com](https://github.com/yegor256/netbout),
|
137
|
+
[wts.zold.io](https://github.com/zold-io/wts.zold.io),
|
133
138
|
[mailanes.com](https://github.com/yegor256/mailanes), and
|
134
|
-
[0rsk.com](https://github.com/yegor256/0rsk).
|
135
|
-
open source, you can see how they use `pgtk`.
|
139
|
+
[0rsk.com](https://github.com/yegor256/0rsk).
|
140
|
+
They are all open source, you can see how they use `pgtk`.
|
136
141
|
|
137
142
|
## How to contribute
|
138
143
|
|
data/Rakefile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2019-
|
3
|
+
# Copyright (c) 2019-2024 Yegor Bugayenko
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the 'Software'), to deal
|
@@ -54,7 +54,7 @@ Rake::RDocTask.new do |rdoc|
|
|
54
54
|
end
|
55
55
|
|
56
56
|
require 'rubocop/rake_task'
|
57
|
-
desc 'Run
|
57
|
+
desc 'Run Rubocop on all directories'
|
58
58
|
RuboCop::RakeTask.new(:rubocop) do |task|
|
59
59
|
task.fail_on_error = true
|
60
60
|
task.requires << 'rubocop-rspec'
|
@@ -69,7 +69,7 @@ Xcop::RakeTask.new :xcop do |task|
|
|
69
69
|
end
|
70
70
|
|
71
71
|
task :copyright do
|
72
|
-
sh "grep -q -r '
|
72
|
+
sh "grep -q -r '2019-#{Date.today.strftime('%Y')}' \
|
73
73
|
--include '*.rb' \
|
74
74
|
--include '*.txt' \
|
75
75
|
--include 'Rakefile' \
|
data/lib/pgtk/liquibase_task.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2019-
|
3
|
+
# Copyright (c) 2019-2024 Yegor Bugayenko
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the 'Software'), to deal
|
@@ -29,15 +29,17 @@ require_relative '../pgtk'
|
|
29
29
|
|
30
30
|
# Liquibase rake task.
|
31
31
|
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
32
|
-
# Copyright:: Copyright (c) 2019-
|
32
|
+
# Copyright:: Copyright (c) 2019-2024 Yegor Bugayenko
|
33
33
|
# License:: MIT
|
34
34
|
class Pgtk::LiquibaseTask < Rake::TaskLib
|
35
|
-
attr_accessor :name, :master, :yaml, :quiet
|
35
|
+
attr_accessor :name, :master, :yaml, :quiet, :liquibase_version, :postgresql_version
|
36
36
|
|
37
37
|
def initialize(*args, &task_block)
|
38
38
|
super()
|
39
39
|
@name = args.shift || :liquibase
|
40
40
|
@quite = false
|
41
|
+
@liquibase_version = '3.2.2'
|
42
|
+
@postgresql_version = '42.7.0'
|
41
43
|
desc 'Deploy Liquibase changes to the running PostgreSQL server' unless ::Rake.application.last_description
|
42
44
|
task(name, *args) do |_, task_args|
|
43
45
|
RakeFileUtils.send(:verbose, true) do
|
@@ -52,27 +54,39 @@ class Pgtk::LiquibaseTask < Rake::TaskLib
|
|
52
54
|
def run
|
53
55
|
raise "Option 'master' is mandatory" unless @master
|
54
56
|
raise "Option 'yaml' is mandatory" unless @yaml
|
55
|
-
yml =
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
57
|
+
yml = @yaml
|
58
|
+
unless yml.is_a?(Hash)
|
59
|
+
yml = YAML.load_file(
|
60
|
+
if @yaml.is_a?(Array)
|
61
|
+
@yaml.drop_while { |f| !File.exist?(f) }.first
|
62
|
+
else
|
63
|
+
@yaml
|
64
|
+
end
|
65
|
+
)
|
66
|
+
end
|
67
|
+
raise "YAML configuration is missing the 'pgsql' section" unless yml['pgsql']
|
65
68
|
@master = File.expand_path(@master)
|
69
|
+
unless File.exist?(@master)
|
70
|
+
raise "Liquibase master is absent at '#{@master}'. \
|
71
|
+
More about this file you can find in Liquibase documentation: \
|
72
|
+
https://docs.liquibase.com/concepts/changelogs/xml-format.html"
|
73
|
+
end
|
74
|
+
pom = File.expand_path(File.join(__dir__, '../../resources/pom.xml'))
|
66
75
|
Dir.chdir(File.dirname(@master)) do
|
67
76
|
system(
|
68
77
|
[
|
69
78
|
'mvn verify',
|
70
79
|
'--errors',
|
71
80
|
'--batch-mode',
|
81
|
+
'--fail-fast',
|
72
82
|
@quiet ? '--quiet' : '',
|
73
83
|
'--file',
|
74
84
|
Shellwords.escape(pom),
|
75
85
|
'--define',
|
86
|
+
"liquibase.version=#{@liquibase_version}",
|
87
|
+
'--define',
|
88
|
+
"postgresql.version=#{@postgresql_version}",
|
89
|
+
'--define',
|
76
90
|
"liquibase.changeLogFile=#{@master}",
|
77
91
|
'--define',
|
78
92
|
"liquibase.url=#{Shellwords.escape(yml['pgsql']['url'])}",
|
data/lib/pgtk/pgsql_task.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2019-
|
3
|
+
# Copyright (c) 2019-2024 Yegor Bugayenko
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the 'Software'), to deal
|
@@ -32,7 +32,7 @@ require_relative '../pgtk'
|
|
32
32
|
|
33
33
|
# Pgsql rake task.
|
34
34
|
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
35
|
-
# Copyright:: Copyright (c) 2019-
|
35
|
+
# Copyright:: Copyright (c) 2019-2024 Yegor Bugayenko
|
36
36
|
# License:: MIT
|
37
37
|
class Pgtk::PgsqlTask < Rake::TaskLib
|
38
38
|
attr_accessor :name, :dir, :fresh_start, :user, :password, :dbname, :yaml, :quiet, :port
|
data/lib/pgtk/pool.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2019-
|
3
|
+
# Copyright (c) 2019-2024 Yegor Bugayenko
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the 'Software'), to deal
|
@@ -27,7 +27,7 @@ require_relative 'wire'
|
|
27
27
|
|
28
28
|
# Pool.
|
29
29
|
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
30
|
-
# Copyright:: Copyright (c) 2019-
|
30
|
+
# Copyright:: Copyright (c) 2019-2024 Yegor Bugayenko
|
31
31
|
# License:: MIT
|
32
32
|
class Pgtk::Pool
|
33
33
|
# Constructor.
|
data/lib/pgtk/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2019-
|
3
|
+
# Copyright (c) 2019-2024 Yegor Bugayenko
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the 'Software'), to deal
|
@@ -24,9 +24,9 @@ require_relative '../pgtk'
|
|
24
24
|
|
25
25
|
# Pgtk version.
|
26
26
|
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
27
|
-
# Copyright:: Copyright (c) 2019-
|
27
|
+
# Copyright:: Copyright (c) 2019-2024 Yegor Bugayenko
|
28
28
|
# License:: MIT
|
29
29
|
module Pgtk
|
30
30
|
# Current version of the library.
|
31
|
-
VERSION = '0.
|
31
|
+
VERSION = '0.9.1'
|
32
32
|
end
|
data/lib/pgtk/wire.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2019-
|
3
|
+
# Copyright (c) 2019-2024 Yegor Bugayenko
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the 'Software'), to deal
|
@@ -27,14 +27,14 @@ require_relative '../pgtk'
|
|
27
27
|
|
28
28
|
# Wires.
|
29
29
|
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
30
|
-
# Copyright:: Copyright (c) 2019-
|
30
|
+
# Copyright:: Copyright (c) 2019-2024 Yegor Bugayenko
|
31
31
|
# License:: MIT
|
32
32
|
module Pgtk::Wire
|
33
33
|
end
|
34
34
|
|
35
35
|
# Simple wire with details.
|
36
36
|
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
37
|
-
# Copyright:: Copyright (c) 2019-
|
37
|
+
# Copyright:: Copyright (c) 2019-2024 Yegor Bugayenko
|
38
38
|
# License:: MIT
|
39
39
|
class Pgtk::Wire::Direct
|
40
40
|
# Constructor.
|
@@ -59,7 +59,7 @@ end
|
|
59
59
|
|
60
60
|
# Using ENV variable.
|
61
61
|
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
62
|
-
# Copyright:: Copyright (c) 2019-
|
62
|
+
# Copyright:: Copyright (c) 2019-2024 Yegor Bugayenko
|
63
63
|
# License:: MIT
|
64
64
|
class Pgtk::Wire::Env
|
65
65
|
# Constructor.
|
@@ -85,7 +85,7 @@ end
|
|
85
85
|
|
86
86
|
# Using configuration from YAML file.
|
87
87
|
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
88
|
-
# Copyright:: Copyright (c) 2019-
|
88
|
+
# Copyright:: Copyright (c) 2019-2024 Yegor Bugayenko
|
89
89
|
# License:: MIT
|
90
90
|
class Pgtk::Wire::Yaml
|
91
91
|
# Constructor.
|
data/lib/pgtk.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2019-
|
3
|
+
# Copyright (c) 2019-2024 Yegor Bugayenko
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the 'Software'), to deal
|
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
# Pgtk main module.
|
24
24
|
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
25
|
-
# Copyright:: Copyright (c) 2019-
|
25
|
+
# Copyright:: Copyright (c) 2019-2024 Yegor Bugayenko
|
26
26
|
# License:: MIT
|
27
27
|
module Pgtk
|
28
28
|
# Nothing here.
|
data/pgtk.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2019-
|
3
|
+
# Copyright (c) 2019-2024 Yegor Bugayenko
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the 'Software'), to deal
|
data/resources/pom.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<!--
|
3
3
|
(The MIT License)
|
4
4
|
|
5
|
-
Copyright (c) 2019-
|
5
|
+
Copyright (c) 2019-2024 Yegor Bugayenko
|
6
6
|
|
7
7
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
8
|
of this software and associated documentation files (the 'Software'), to deal
|
@@ -26,13 +26,17 @@ SOFTWARE.
|
|
26
26
|
<modelVersion>4.0.0</modelVersion>
|
27
27
|
<groupId>pgtk</groupId>
|
28
28
|
<artifactId>pgtk</artifactId>
|
29
|
-
<version>
|
29
|
+
<version>0.0.0</version>
|
30
30
|
<packaging>pom</packaging>
|
31
|
+
<properties>
|
32
|
+
<postgresql.version>42.7.1</postgresql.version>
|
33
|
+
<liquibase.version>4.25.1</liquibase.version>
|
34
|
+
</properties>
|
31
35
|
<dependencies>
|
32
36
|
<dependency>
|
33
37
|
<groupId>org.postgresql</groupId>
|
34
38
|
<artifactId>postgresql</artifactId>
|
35
|
-
<version
|
39
|
+
<version>${postgresql.version}</version>
|
36
40
|
<scope>runtime</scope>
|
37
41
|
</dependency>
|
38
42
|
</dependencies>
|
@@ -41,7 +45,7 @@ SOFTWARE.
|
|
41
45
|
<plugin>
|
42
46
|
<groupId>org.liquibase</groupId>
|
43
47
|
<artifactId>liquibase-maven-plugin</artifactId>
|
44
|
-
<version
|
48
|
+
<version>${liquibase.version}</version>
|
45
49
|
<configuration>
|
46
50
|
<driver>org.postgresql.Driver</driver>
|
47
51
|
<logging>info</logging>
|
data/test/test__helper.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2019-
|
3
|
+
# Copyright (c) 2019-2024 Yegor Bugayenko
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the 'Software'), to deal
|
data/test/test_liquibase_task.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2019-
|
3
|
+
# Copyright (c) 2019-2024 Yegor Bugayenko
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the 'Software'), to deal
|
@@ -47,8 +47,21 @@ class TestLiquibaseTask < Minitest::Test
|
|
47
47
|
t.master = File.join(__dir__, '../test-resources/master.xml')
|
48
48
|
t.yaml = ['file-is-absent', File.join(dir, 'cfg.yml'), 'another']
|
49
49
|
t.quiet = true
|
50
|
+
t.postgresql_version = '42.7.0'
|
51
|
+
t.liquibase_version = '3.2.2'
|
50
52
|
end
|
51
53
|
Rake::Task['liquibase2'].invoke
|
52
54
|
end
|
53
55
|
end
|
56
|
+
|
57
|
+
def test_with_invalid_master_file
|
58
|
+
Pgtk::LiquibaseTask.new(:lb) do |t|
|
59
|
+
t.master = 'the-file-doesnt-exist.xml'
|
60
|
+
t.yaml = { 'pgsql' => {} }
|
61
|
+
end
|
62
|
+
ex = assert_raises do
|
63
|
+
Rake::Task['lb'].invoke
|
64
|
+
end
|
65
|
+
assert(ex.message.include?('the-file-doesnt-exist.xml'))
|
66
|
+
end
|
54
67
|
end
|
data/test/test_pgsql_task.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2019-
|
3
|
+
# Copyright (c) 2019-2024 Yegor Bugayenko
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the 'Software'), to deal
|
data/test/test_pool.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2019-
|
3
|
+
# Copyright (c) 2019-2024 Yegor Bugayenko
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the 'Software'), to deal
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<!--
|
3
3
|
(The MIT License)
|
4
4
|
|
5
|
-
Copyright (c) 2019-
|
5
|
+
Copyright (c) 2019-2024 Yegor Bugayenko
|
6
6
|
|
7
7
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
8
|
of this software and associated documentation files (the 'Software'), to deal
|
data/test-resources/master.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<!--
|
3
3
|
(The MIT License)
|
4
4
|
|
5
|
-
Copyright (c) 2019-
|
5
|
+
Copyright (c) 2019-2024 Yegor Bugayenko
|
6
6
|
|
7
7
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
8
|
of this software and associated documentation files (the 'Software'), to deal
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pgtk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backtrace
|
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
243
|
- !ruby/object:Gem::Version
|
244
244
|
version: '0'
|
245
245
|
requirements: []
|
246
|
-
rubygems_version: 3.
|
246
|
+
rubygems_version: 3.4.10
|
247
247
|
signing_key:
|
248
248
|
specification_version: 4
|
249
249
|
summary: PostgreSQL ToolKit for Ruby apps
|