snapshot_archive 0.23.0 → 0.24.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: f8135b5da8cb2ba0c10a0758f51885d7bc341bf70b3b1607f5b902cc10fc0e36
4
- data.tar.gz: 29eb19fb7d5c4221eee6bbf019121557f79129f8b76b2f3adf619c95dd08d31d
3
+ metadata.gz: a3540549c3bf29dc56aa3c7c8455e00233cb0fbb6c41dcc6520501059641b789
4
+ data.tar.gz: d0fb23ec4ff95d45c3e7dedba14f17de9311ca837434264bd2bf34619dceb14b
5
5
  SHA512:
6
- metadata.gz: 58bc9e336c62afe9d94a7846f855e006556465ba8ba91c9385b6af5277838782c6568b93bbb4bb3ed94e7675807a87a11cc04d7f85277b75bf01224e426c2a76
7
- data.tar.gz: aa4abe8a459183efe33c42c8c87dbf1f6cbf21523015e1910921f390c979b58f72f93a39e2e5b9587658d3d70da892aabbb1f916c76517a9a8c8596606d0d10e
6
+ metadata.gz: ab1279db3293e46d6e798f2229e69cf7af42f212b250a6910ea20f0b4706a58ebec75afa1c7e2b57e0b921b5f32d6fa37648ffe341dc2d042872313798ff8095
7
+ data.tar.gz: 1d2e8638e15b9d46352e74c4b9d9da92d30f28cbf4e5fb391b70eaa0c03866846da2722955dd3def39cd56d7fc00f4004e5f1c0a512079a4ee4328ea417298b8
@@ -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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SnapshotArchive
4
- VERSION = "0.23.0"
4
+ VERSION = "0.24.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snapshot_archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Kinnecom