snapshot_archive 0.20.0 → 0.22.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e179b4873e666798d64842c95ffc5ced090e86fd397662b2e8c0a82bcee44cd
|
4
|
+
data.tar.gz: ca9d90deb6deba132cda08faa9a7a1e67fceb9a6e6bb3f6920d72e8a3472126d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e985c80aff74be57d14dafad8f871ceb9eb9ff65a23e7f4509aa620cebc3413333ada392bc7152bc134a26e34a296daf51dd699f6d789d2370736926c6d5292d
|
7
|
+
data.tar.gz: edf94735ecbba03ba4386d4b4b736e16ec99255c4ac7f39bfa47972515714377ce3e34a1b39a4632e84df65a130a642000cf8159310a277eea3ed71c2d4ee693
|
@@ -6,7 +6,7 @@ SnapshotArchive.configure do |config|
|
|
6
6
|
)
|
7
7
|
|
8
8
|
config.register_store("mysql_rails") do |store|
|
9
|
-
store.backup do
|
9
|
+
store.backup do |*args, **opts|
|
10
10
|
existing_databases = (
|
11
11
|
config
|
12
12
|
.shell
|
@@ -26,11 +26,11 @@ SnapshotArchive.configure do |config|
|
|
26
26
|
|
27
27
|
next if db_names.empty?
|
28
28
|
|
29
|
-
SnapshotArchive::Cfg.bind_backup("mysql", db_names).backup(
|
29
|
+
SnapshotArchive::Cfg.bind_backup("mysql", db_names).backup(*args, **opts)
|
30
30
|
end
|
31
31
|
|
32
32
|
store.restore do |metadata|
|
33
|
-
SnapshotArchive::Cfg.store("mysql").restore(metadata)
|
33
|
+
SnapshotArchive::Cfg.store("mysql").restore(metadata: metadata)
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snapshot_archive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Kinnecom
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|