pg_easy_replicate 0.2.5 → 0.2.6

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: 3e6514e70589083375b9f9112d737a2620f48d62d07d4cc5ec213c209289a1ad
4
- data.tar.gz: fe93ff6a1a741c8f330d878893e511aa0e82e5505acaa031e5b809b482553999
3
+ metadata.gz: 81be66e36a67bb505548d91dabf061ad83724c6d849bb611701769ffe3e7abc8
4
+ data.tar.gz: 2223eb05e483c2481a68b157e75f9aca9fd62f5205de8fe5664ce91364bbaf73
5
5
  SHA512:
6
- metadata.gz: c14eb4c2256e0adb336a628d24d88a4134849f75f2ca3a656ef3abc9474de3a4d5b06dae994f826674e3343998c34d69604e0a8d417cfee2b7e9675d9b77b0c6
7
- data.tar.gz: 590c021623ea48f17059cb5b7f640a82433f4f25c99ae1afdc20544d751271f7a57d6ff8243328aa611ca9acb61969660b4eb5b82cd976147727c934ce76f8e3
6
+ metadata.gz: e3a93263182fc9c68c5b417d5512b021753ef356efb2e6c11ce2098e4c49b2ea41f21533f9aa590032a8eee0663a8ded1633f2d87399a11bd4c150da56c8f19e
7
+ data.tar.gz: a24dc626daa748db907b07f8542008f2d5b6de558f6b80aa6f5879435a3eac92a6282e3a6bebc6d637502967adf3b77e9c57d8e67bd3a58136ca2c1f871b85be
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.2.4] - 2024-04-14
2
+
3
+ - List only permanent tables - #113
4
+
1
5
  ## [0.2.4] - 2024-02-13
2
6
 
3
7
  - Introduce PG_EASY_REPLICATE_STATEMENT_TIMEOUT env var
data/Gemfile.lock CHANGED
@@ -1,17 +1,17 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pg_easy_replicate (0.2.5)
4
+ pg_easy_replicate (0.2.6)
5
5
  ougai (~> 2.0.0)
6
6
  pg (~> 1.5.3)
7
- sequel (>= 5.69, < 5.80)
7
+ sequel (>= 5.69, < 5.82)
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.7)
14
+ bigdecimal (3.1.8)
15
15
  coderay (1.1.3)
16
16
  diff-lcs (1.5.1)
17
17
  haml (6.1.1)
@@ -25,7 +25,7 @@ GEM
25
25
  ougai (2.0.0)
26
26
  oj (~> 3.10)
27
27
  parallel (1.24.0)
28
- parser (3.3.0.5)
28
+ parser (3.3.2.0)
29
29
  ast (~> 2.4.1)
30
30
  racc
31
31
  pg (1.5.6)
@@ -33,12 +33,13 @@ GEM
33
33
  pry (0.14.2)
34
34
  coderay (~> 1.1)
35
35
  method_source (~> 1.0)
36
- racc (1.7.3)
36
+ racc (1.8.0)
37
37
  rainbow (3.1.1)
38
- rake (13.1.0)
38
+ rake (13.2.1)
39
39
  rbs (3.1.0)
40
- regexp_parser (2.9.0)
41
- rexml (3.2.6)
40
+ regexp_parser (2.9.2)
41
+ rexml (3.2.8)
42
+ strscan (>= 3.0.9)
42
43
  rspec (3.13.0)
43
44
  rspec-core (~> 3.13.0)
44
45
  rspec-expectations (~> 3.13.0)
@@ -52,7 +53,7 @@ GEM
52
53
  diff-lcs (>= 1.2.0, < 2.0)
53
54
  rspec-support (~> 3.13.0)
54
55
  rspec-support (3.13.0)
55
- rubocop (1.62.1)
56
+ rubocop (1.64.1)
56
57
  json (~> 2.3)
57
58
  language_server-protocol (>= 3.17.0)
58
59
  parallel (~> 1.10)
@@ -63,17 +64,17 @@ GEM
63
64
  rubocop-ast (>= 1.31.1, < 2.0)
64
65
  ruby-progressbar (~> 1.7)
65
66
  unicode-display_width (>= 2.4.0, < 3.0)
66
- rubocop-ast (1.31.2)
67
- parser (>= 3.3.0.4)
67
+ rubocop-ast (1.31.3)
68
+ parser (>= 3.3.1.0)
68
69
  rubocop-capybara (2.20.0)
69
70
  rubocop (~> 1.41)
70
71
  rubocop-factory_bot (2.25.1)
71
72
  rubocop (~> 1.41)
72
73
  rubocop-packaging (0.5.2)
73
74
  rubocop (>= 1.33, < 2.0)
74
- rubocop-performance (1.20.2)
75
+ rubocop-performance (1.21.0)
75
76
  rubocop (>= 1.48.1, < 2.0)
76
- rubocop-ast (>= 1.30.0, < 2.0)
77
+ rubocop-ast (>= 1.31.1, < 2.0)
77
78
  rubocop-rake (0.6.0)
78
79
  rubocop (~> 1.0)
79
80
  rubocop-rspec (2.29.1)
@@ -84,8 +85,9 @@ GEM
84
85
  rubocop-rspec_rails (2.28.2)
85
86
  rubocop (~> 1.40)
86
87
  ruby-progressbar (1.13.0)
87
- sequel (5.79.0)
88
+ sequel (5.81.0)
88
89
  bigdecimal
90
+ strscan (3.1.0)
89
91
  syntax_tree (6.2.0)
90
92
  prettier_print (>= 1.2.0)
91
93
  syntax_tree-haml (4.0.3)
@@ -80,7 +80,7 @@ module PgEasyReplicate
80
80
  if tables.size > 0
81
81
  tables
82
82
  else
83
- list_all_tables(schema: schema, conn_string: conn_string)
83
+ list_all_tables(schema: schema, conn_string: conn_string) - %w[ spatial_ref_sys ]
84
84
  end
85
85
  end
86
86
 
@@ -106,6 +106,7 @@ module PgEasyReplicate
106
106
  ADD TABLE #{quote_ident(table_name)}",
107
107
  connection_url: conn_string,
108
108
  schema: schema,
109
+ user: db_user(conn_string),
109
110
  )
110
111
  end
111
112
  rescue => e
@@ -365,7 +366,7 @@ module PgEasyReplicate
365
366
  )
366
367
 
367
368
  Query.run(
368
- query: "VACUUM VERBOSE ANALYZE #{t};",
369
+ query: "VACUUM VERBOSE ANALYZE #{quote_ident(t)};",
369
370
  connection_url: conn_string,
370
371
  schema: schema,
371
372
  transaction: false,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgEasyReplicate
4
- VERSION = "0.2.5"
4
+ VERSION = "0.2.6"
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.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shayon Mukherjee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-14 00:00:00.000000000 Z
11
+ date: 2024-06-04 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.80'
50
+ version: '5.82'
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.80'
60
+ version: '5.82'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: thor
63
63
  requirement: !ruby/object:Gem::Requirement