pg_online_schema_change 0.9.7 → 0.9.8
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/.rubocop.yml +3 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +26 -25
- data/lib/pg_online_schema_change/query.rb +2 -2
- data/lib/pg_online_schema_change/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aed221e19c7fe40cf5a34844625c78b02c56fe13aff7f65183a1cff717185ad7
|
|
4
|
+
data.tar.gz: 81d3a564f43ebf08a7cac37fddd9a035d253e6dcc8c1c5d178c3c247e6357bc0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a4cfb3e17d007803cb84cf0686cadcfd0e7f7734ad20f6f5fa8b71a5198a24569a390ef3173f7bb518e345c7c4931c10812c053535d1df20ba774382c239f80
|
|
7
|
+
data.tar.gz: f82f723f5cac41a77c6adec6ddaa83c0377b172b3b283c05f1b81e7538c8427e182cdbac1db53e9358b39842685403b3a6e85cdb5a0371b6bffeef608e67a690
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.3.0
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
pg_online_schema_change (0.9.
|
|
4
|
+
pg_online_schema_change (0.9.8)
|
|
5
5
|
ougai (~> 2.0.0)
|
|
6
6
|
pg (>= 1.3.2, < 1.6.0)
|
|
7
7
|
pg_query (>= 2.1.3, < 4.3.0)
|
|
@@ -10,25 +10,25 @@ PATH
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
+
abbrev (0.1.2)
|
|
13
14
|
ast (2.4.2)
|
|
14
15
|
bigdecimal (3.1.5)
|
|
15
16
|
coderay (1.1.3)
|
|
16
17
|
diff-lcs (1.5.0)
|
|
17
|
-
google-protobuf (3.25.2
|
|
18
|
-
|
|
19
|
-
haml (6.1.1)
|
|
18
|
+
google-protobuf (3.25.2)
|
|
19
|
+
haml (6.3.0)
|
|
20
20
|
temple (>= 0.8.2)
|
|
21
21
|
thor
|
|
22
22
|
tilt
|
|
23
|
-
json (2.
|
|
23
|
+
json (2.7.1)
|
|
24
24
|
language_server-protocol (3.17.0.3)
|
|
25
25
|
method_source (1.0.0)
|
|
26
26
|
oj (3.16.3)
|
|
27
27
|
bigdecimal (>= 3.0)
|
|
28
28
|
ougai (2.0.0)
|
|
29
29
|
oj (~> 3.10)
|
|
30
|
-
parallel (1.
|
|
31
|
-
parser (3.
|
|
30
|
+
parallel (1.24.0)
|
|
31
|
+
parser (3.3.0.4)
|
|
32
32
|
ast (~> 2.4.1)
|
|
33
33
|
racc
|
|
34
34
|
pg (1.5.4)
|
|
@@ -38,11 +38,12 @@ GEM
|
|
|
38
38
|
pry (0.14.2)
|
|
39
39
|
coderay (~> 1.1)
|
|
40
40
|
method_source (~> 1.0)
|
|
41
|
-
racc (1.7.
|
|
41
|
+
racc (1.7.3)
|
|
42
42
|
rainbow (3.1.1)
|
|
43
43
|
rake (13.1.0)
|
|
44
|
-
rbs (3.1
|
|
45
|
-
|
|
44
|
+
rbs (3.4.1)
|
|
45
|
+
abbrev
|
|
46
|
+
regexp_parser (2.9.0)
|
|
46
47
|
rexml (3.2.6)
|
|
47
48
|
rspec (3.12.0)
|
|
48
49
|
rspec-core (~> 3.12.0)
|
|
@@ -53,36 +54,36 @@ GEM
|
|
|
53
54
|
rspec-expectations (3.12.3)
|
|
54
55
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
55
56
|
rspec-support (~> 3.12.0)
|
|
56
|
-
rspec-mocks (3.12.
|
|
57
|
+
rspec-mocks (3.12.6)
|
|
57
58
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
58
59
|
rspec-support (~> 3.12.0)
|
|
59
|
-
rspec-support (3.12.
|
|
60
|
-
rubocop (1.
|
|
60
|
+
rspec-support (3.12.1)
|
|
61
|
+
rubocop (1.60.0)
|
|
61
62
|
json (~> 2.3)
|
|
62
63
|
language_server-protocol (>= 3.17.0)
|
|
63
64
|
parallel (~> 1.10)
|
|
64
|
-
parser (>= 3.
|
|
65
|
+
parser (>= 3.3.0.2)
|
|
65
66
|
rainbow (>= 2.2.2, < 4.0)
|
|
66
67
|
regexp_parser (>= 1.8, < 3.0)
|
|
67
68
|
rexml (>= 3.2.5, < 4.0)
|
|
68
|
-
rubocop-ast (>= 1.
|
|
69
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
|
69
70
|
ruby-progressbar (~> 1.7)
|
|
70
71
|
unicode-display_width (>= 2.4.0, < 3.0)
|
|
71
72
|
rubocop-ast (1.30.0)
|
|
72
73
|
parser (>= 3.2.1.0)
|
|
73
|
-
rubocop-capybara (2.
|
|
74
|
+
rubocop-capybara (2.20.0)
|
|
75
|
+
rubocop (~> 1.41)
|
|
76
|
+
rubocop-factory_bot (2.25.1)
|
|
74
77
|
rubocop (~> 1.41)
|
|
75
|
-
rubocop-factory_bot (2.23.1)
|
|
76
|
-
rubocop (~> 1.33)
|
|
77
78
|
rubocop-packaging (0.5.2)
|
|
78
79
|
rubocop (>= 1.33, < 2.0)
|
|
79
|
-
rubocop-performance (1.
|
|
80
|
-
rubocop (>= 1.
|
|
81
|
-
rubocop-ast (>=
|
|
80
|
+
rubocop-performance (1.20.2)
|
|
81
|
+
rubocop (>= 1.48.1, < 2.0)
|
|
82
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
|
82
83
|
rubocop-rake (0.6.0)
|
|
83
84
|
rubocop (~> 1.0)
|
|
84
|
-
rubocop-rspec (2.
|
|
85
|
-
rubocop (~> 1.
|
|
85
|
+
rubocop-rspec (2.26.1)
|
|
86
|
+
rubocop (~> 1.40)
|
|
86
87
|
rubocop-capybara (~> 2.17)
|
|
87
88
|
rubocop-factory_bot (~> 2.22)
|
|
88
89
|
ruby-progressbar (1.13.0)
|
|
@@ -96,9 +97,9 @@ GEM
|
|
|
96
97
|
prettier_print
|
|
97
98
|
rbs
|
|
98
99
|
syntax_tree (>= 2.0.1)
|
|
99
|
-
temple (0.10.
|
|
100
|
+
temple (0.10.3)
|
|
100
101
|
thor (1.3.0)
|
|
101
|
-
tilt (2.
|
|
102
|
+
tilt (2.3.0)
|
|
102
103
|
unicode-display_width (2.5.0)
|
|
103
104
|
|
|
104
105
|
PLATFORMS
|
|
@@ -66,7 +66,7 @@ module PgOnlineSchemaChange
|
|
|
66
66
|
end
|
|
67
67
|
end
|
|
68
68
|
|
|
69
|
-
def run(connection, query, reuse_trasaction = false, &block)
|
|
69
|
+
def run(connection, query, reuse_trasaction = false, &block) # rubocop:disable Style/ArgumentsForwarding
|
|
70
70
|
if [PG::PQTRANS_INERROR, PG::PQTRANS_UNKNOWN].include?(connection.transaction_status)
|
|
71
71
|
connection.cancel
|
|
72
72
|
end
|
|
@@ -75,7 +75,7 @@ module PgOnlineSchemaChange
|
|
|
75
75
|
|
|
76
76
|
connection.async_exec("BEGIN;")
|
|
77
77
|
|
|
78
|
-
result = connection.async_exec(query, &block)
|
|
78
|
+
result = connection.async_exec(query, &block) # rubocop:disable Style/ArgumentsForwarding
|
|
79
79
|
rescue Exception # rubocop:disable Lint/RescueException
|
|
80
80
|
connection.cancel if connection.transaction_status != PG::PQTRANS_IDLE
|
|
81
81
|
connection.block
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pg_online_schema_change
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shayon Mukherjee
|
|
@@ -318,7 +318,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
318
318
|
- !ruby/object:Gem::Version
|
|
319
319
|
version: '0'
|
|
320
320
|
requirements: []
|
|
321
|
-
rubygems_version: 3.3
|
|
321
|
+
rubygems_version: 3.5.3
|
|
322
322
|
signing_key:
|
|
323
323
|
specification_version: 4
|
|
324
324
|
summary: Easy CLI tool for making non-blocking zero downtime schema changes in PostgreSQL
|