snapshot_archive 0.20.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/snapshot_archive/default_configuration.rb +3 -3
- data/lib/snapshot_archive/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: 1125fd70197585f350883edd86a53fac23b3ed69842d4b9d4ff8efd2e41a8f6d
|
4
|
+
data.tar.gz: 321ea6ce8c4ecb297f4aad805238e06ba60e8bb1c99583224a85009e949eac96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ee78f75b47b90926ed21e4c1694b3af189867a7e38b674b7fa93e12cb42923773ec1cea78564b8dcbdc60a98fb1959934a85f1d1b23cf7057f9c5563e0cc379
|
7
|
+
data.tar.gz: baa352e68bbccb635e2caf625fe5435cdd90c30a8e558276d804fc24651fe65b99541c7302507dc946473c91a56a62277c0a6c487ca5e093baa7d354a6cc8d7e
|
@@ -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.21.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
|