cutlass 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/cutlass.rb +0 -4
- data/lib/cutlass/container_control.rb +2 -1
- data/lib/cutlass/version.rb +1 -1
- 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: cdb173928f27587c6c7773c14449d42c074eab3903234d8d4721a67b0a99ffdf
|
4
|
+
data.tar.gz: abe99ef36a53e6225facc87cdcf941abfd4a10eae84ca350c9f8f6f69e2b6483
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c87fc56443a756fdbd26d4130b594d3e6f6133e85d1b5713bc37a01f6d26c3f6c2d198805eb92e6afa1f06c0f9a3f62a709d1a6f05a8162b33730e331b28e58
|
7
|
+
data.tar.gz: 362930d0ae55e20b08628a979e83965ea5d91fca9a0406c026c581e342b720ef0447a2cae2f46af4ebbed8e6d608406856474d613600ad57268fc53be10c0170
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/cutlass.rb
CHANGED
@@ -26,10 +26,6 @@ module Cutlass
|
|
26
26
|
def self.default_buildpack_paths=(paths)
|
27
27
|
paths = Array(paths).map { |path| path.respond_to?(:exist?) ? path : Pathname(path) }
|
28
28
|
|
29
|
-
paths.each do |path|
|
30
|
-
raise "Path must exist on disk #{path}" unless path.exist?
|
31
|
-
end
|
32
|
-
|
33
29
|
@default_buildpack_paths = paths
|
34
30
|
end
|
35
31
|
|
@@ -29,8 +29,9 @@ module Cutlass
|
|
29
29
|
|
30
30
|
def bash_exec(cmd, exception_on_failure: true)
|
31
31
|
stdout_ish, stderr, status = @container.exec(["bash", "-c", cmd])
|
32
|
+
stdout = stdout_ish.first
|
32
33
|
|
33
|
-
result = BashResult.new(stdout:
|
34
|
+
result = BashResult.new(stdout: stdout, stderr: stderr, status: status)
|
34
35
|
|
35
36
|
return result if result.success?
|
36
37
|
return result unless exception_on_failure
|
data/lib/cutlass/version.rb
CHANGED