pg_easy_replicate 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da825eb796e5b827c9197440301d841f725a5bbaeac74b066fea67b5bbf039ac
4
- data.tar.gz: 68da98e57eab118b7aea8f4e83171eaa8b18bd66a86bd5f39fb901f5aef9bfda
3
+ metadata.gz: 2a39a74d7e35cec6dce951d23eff51972e22811779ab8637edfa989567e62620
4
+ data.tar.gz: 6a81b795c7968b5d5c218f35084cdf40bf558271fc8e290ef75fe28a570ce9b6
5
5
  SHA512:
6
- metadata.gz: e04ca73e6f6b63f68a37389cb788bc7a6fddd80aa75fa433d297d4a600b1929ee06341e456b8b2d12a0cb03952824c02dca63033f40675948c250bcba2849b2a
7
- data.tar.gz: b0617c3d5d2defeab8f576eb6cceb1845c8c7fe7478a064f2109fbd4e63ebcf58867bd2557221810c53778e62806bacd65e92470fd368f96c5d38405bee4efec
6
+ metadata.gz: f9af65ec14a25975af9fab3efa884d91aa90a43aae74b355370608b3c5e61453f6fd71dd333bd8917193f8b90ec86965464893f9aae2f1a965f2b40eaeebc882
7
+ data.tar.gz: 9643dc3de2102b82ab29d085e90b3dfbbfa923d0c3324d91e1bff8fa7082a8136263e59566559cabbf230a3094648a2a52152912b24dd760ffc3c727b5a11f39
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.2.1] - 2023-12-29
2
+
3
+ - Don't attempt to drop and recreate unique indices - #88
4
+ - Dependency updates
5
+
6
+ ## [0.2.0] - 2023-12-29
7
+
8
+ - Recreate indices post COPY, once all tables are in replicating mode - #81
9
+
1
10
  ## [0.1.12] - 2023-12-13
2
11
 
3
12
  - Bump rubocop-rspec from 2.24.1 to 2.25.0 - #65
data/Gemfile.lock CHANGED
@@ -1,31 +1,31 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pg_easy_replicate (0.2.0)
4
+ pg_easy_replicate (0.2.1)
5
5
  ougai (~> 2.0.0)
6
6
  pg (~> 1.5.3)
7
- sequel (>= 5.69, < 5.76)
7
+ sequel (>= 5.69, < 5.77)
8
8
  thor (>= 1.2.2, < 1.4.0)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
13
  ast (2.4.2)
14
- bigdecimal (3.1.4)
14
+ bigdecimal (3.1.5)
15
15
  coderay (1.1.3)
16
16
  diff-lcs (1.5.0)
17
17
  haml (6.1.1)
18
18
  temple (>= 0.8.2)
19
19
  thor
20
20
  tilt
21
- json (2.7.0)
21
+ json (2.7.1)
22
22
  language_server-protocol (3.17.0.3)
23
23
  method_source (1.0.0)
24
24
  oj (3.14.3)
25
25
  ougai (2.0.0)
26
26
  oj (~> 3.10)
27
- parallel (1.23.0)
28
- parser (3.2.2.4)
27
+ parallel (1.24.0)
28
+ parser (3.3.0.4)
29
29
  ast (~> 2.4.1)
30
30
  racc
31
31
  pg (1.5.4)
@@ -37,7 +37,7 @@ GEM
37
37
  rainbow (3.1.1)
38
38
  rake (13.1.0)
39
39
  rbs (3.1.0)
40
- regexp_parser (2.8.2)
40
+ regexp_parser (2.9.0)
41
41
  rexml (3.2.6)
42
42
  rspec (3.12.0)
43
43
  rspec-core (~> 3.12.0)
@@ -52,11 +52,11 @@ GEM
52
52
  diff-lcs (>= 1.2.0, < 2.0)
53
53
  rspec-support (~> 3.12.0)
54
54
  rspec-support (3.12.0)
55
- rubocop (1.58.0)
55
+ rubocop (1.60.1)
56
56
  json (~> 2.3)
57
57
  language_server-protocol (>= 3.17.0)
58
58
  parallel (~> 1.10)
59
- parser (>= 3.2.2.4)
59
+ parser (>= 3.3.0.2)
60
60
  rainbow (>= 2.2.2, < 4.0)
61
61
  regexp_parser (>= 1.8, < 3.0)
62
62
  rexml (>= 3.2.5, < 4.0)
@@ -65,23 +65,23 @@ GEM
65
65
  unicode-display_width (>= 2.4.0, < 3.0)
66
66
  rubocop-ast (1.30.0)
67
67
  parser (>= 3.2.1.0)
68
- rubocop-capybara (2.19.0)
68
+ rubocop-capybara (2.20.0)
69
+ rubocop (~> 1.41)
70
+ rubocop-factory_bot (2.25.1)
69
71
  rubocop (~> 1.41)
70
- rubocop-factory_bot (2.24.0)
71
- rubocop (~> 1.33)
72
72
  rubocop-packaging (0.5.2)
73
73
  rubocop (>= 1.33, < 2.0)
74
- rubocop-performance (1.19.1)
75
- rubocop (>= 1.7.0, < 2.0)
76
- rubocop-ast (>= 0.4.0)
74
+ rubocop-performance (1.20.2)
75
+ rubocop (>= 1.48.1, < 2.0)
76
+ rubocop-ast (>= 1.30.0, < 2.0)
77
77
  rubocop-rake (0.6.0)
78
78
  rubocop (~> 1.0)
79
- rubocop-rspec (2.25.0)
79
+ rubocop-rspec (2.26.1)
80
80
  rubocop (~> 1.40)
81
81
  rubocop-capybara (~> 2.17)
82
82
  rubocop-factory_bot (~> 2.22)
83
83
  ruby-progressbar (1.13.0)
84
- sequel (5.75.0)
84
+ sequel (5.76.0)
85
85
  bigdecimal
86
86
  syntax_tree (6.2.0)
87
87
  prettier_print (>= 1.2.0)
@@ -75,6 +75,7 @@ module PgEasyReplicate
75
75
  AND n.oid = t.relnamespace
76
76
  AND t.relkind = 'r' -- only find indexes of tables
77
77
  AND ix.indisprimary = FALSE -- exclude primary keys
78
+ AND ix.indisunique = FALSE -- exclude unique indexes
78
79
  AND n.nspname = '#{schema}'
79
80
  AND t.relname IN (#{table_list})
80
81
  ORDER BY
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgEasyReplicate
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_easy_replicate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shayon Mukherjee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-29 00:00:00.000000000 Z
11
+ date: 2024-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ougai
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: '5.69'
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
- version: '5.76'
50
+ version: '5.77'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: '5.69'
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
- version: '5.76'
60
+ version: '5.77'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: thor
63
63
  requirement: !ruby/object:Gem::Requirement