pg_easy_replicate 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/pg_easy_replicate/version.rb +1 -1
- data/lib/pg_easy_replicate.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63ce4d3c583c90660cde52a6f0f138891af2b3eb6a2ccee039cbb57931a9a9aa
|
4
|
+
data.tar.gz: f2d8914e131a7eeaa0799c82f6d96ff4c4d765902fc0eed773927d58f8eae38d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec486fbc867215ea81e25f0fd001f0036d74d222a8782ea7525cd938e76cc782288ad42f90b878d9ddb95b00c20887d7e5ef29fb20b04f04451a6a0b59d495d7
|
7
|
+
data.tar.gz: d8704fef89664ce130801ccc4e9c8974fcc922e56e7570fc9260702c54da1fe366cbbede1b9c9f1da5aeb3d5ce5a27e1d991fdab1454f4ee7cf4d24af8684825
|
data/Gemfile.lock
CHANGED
data/lib/pg_easy_replicate.rb
CHANGED
@@ -169,6 +169,11 @@ module PgEasyReplicate
|
|
169
169
|
logger.info("Dropping groups table")
|
170
170
|
Group.drop
|
171
171
|
end,
|
172
|
+
-> do
|
173
|
+
if options[:restore_connection_on_source_db]
|
174
|
+
restore_connections_on_source_db
|
175
|
+
end
|
176
|
+
end,
|
172
177
|
-> do
|
173
178
|
if options[:everything]
|
174
179
|
logger.info("Dropping schema")
|
@@ -213,11 +218,6 @@ module PgEasyReplicate
|
|
213
218
|
end
|
214
219
|
end
|
215
220
|
end,
|
216
|
-
-> do
|
217
|
-
if options[:restore_connection_on_source_db]
|
218
|
-
restore_connections_on_source_db
|
219
|
-
end
|
220
|
-
end,
|
221
221
|
]
|
222
222
|
|
223
223
|
cleanup_steps.each do |step|
|