snapshot_archive 0.23.0 → 0.25.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: 9fb1d0bfc2d7e5f96b63e32f277bb4e05b6fc0462eb968679b3dced96a278779
|
4
|
+
data.tar.gz: 53ca85c76eeee4825d29be7d73efd485b3a6f832f0528a516e7db7c6eb217e08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e175468cfe68926e44e42e029528dfbf494eebdd253a76123b2ec459d99973fb4c5ee8e62dbce83d411551e3ec57c96dccd2f0b61308f3df3102f9431051ed83
|
7
|
+
data.tar.gz: 0251c552f40e6c56fe7ab55feaac59ce8f8c85df77c8fb77ae7ca117e53e8a6058772af79e89652e03e1641bc73f0ddf515d075f248fb8619ff69a5420f66b6b
|
@@ -29,7 +29,7 @@ SnapshotArchive.configure do |config|
|
|
29
29
|
SnapshotArchive::Cfg.bind_backup("mysql", db_names).backup(*args, **opts)
|
30
30
|
end
|
31
31
|
|
32
|
-
store.restore do |metadata
|
32
|
+
store.restore do |metadata:|
|
33
33
|
SnapshotArchive::Cfg.store("mysql").restore(metadata: metadata)
|
34
34
|
end
|
35
35
|
end
|
@@ -16,9 +16,9 @@ module SnapshotArchive
|
|
16
16
|
def run(cmd)
|
17
17
|
debug(cmd)
|
18
18
|
|
19
|
-
`#{cmd}`
|
19
|
+
`#{cmd} 2>&1`
|
20
20
|
.split("\n")
|
21
|
-
.tap { raise CommandFailureError.new(cmd) unless $? == 0 }
|
21
|
+
.tap { raise CommandFailureError.new([cmd, _1].join("\n---\n")) unless $? == 0 }
|
22
22
|
end
|
23
23
|
|
24
24
|
def warn(msg)
|
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.25.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-04-
|
11
|
+
date: 2024-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|