cutlass 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 746dcb9487d8f83d93a3195f4d933d494eff593f4308170e5d29f2a57c226597
4
- data.tar.gz: c239092e284958eca4e0533d8e187ea865adc0fd93958fc92df63c9e534b6700
3
+ metadata.gz: cdb173928f27587c6c7773c14449d42c074eab3903234d8d4721a67b0a99ffdf
4
+ data.tar.gz: abe99ef36a53e6225facc87cdcf941abfd4a10eae84ca350c9f8f6f69e2b6483
5
5
  SHA512:
6
- metadata.gz: 93567e242b02a379b1521389038fbdbd0e48c67f462246589f4ad95ceaee6d90e6a4b90cb72ae1e91d9f030850b69b2586ed41be10e43c39a6785631682e6a35
7
- data.tar.gz: d81805bbb176004b418aa1b8de608afa95966dfa10d9c5b26cdfd2722935a4950ffe617b7cc7a1101d0f57941bb1f518fe222895b19a1ae2d0f7d35f939b892c
6
+ metadata.gz: 1c87fc56443a756fdbd26d4130b594d3e6f6133e85d1b5713bc37a01f6d26c3f6c2d198805eb92e6afa1f06c0f9a3f62a709d1a6f05a8162b33730e331b28e58
7
+ data.tar.gz: 362930d0ae55e20b08628a979e83965ea5d91fca9a0406c026c581e342b720ef0447a2cae2f46af4ebbed8e6d608406856474d613600ad57268fc53be10c0170
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## 0.1.6
4
+
5
+ - Remove premature error checking from Cutlass.default_buildpack_paths
6
+
3
7
  ## 0.1.5
4
8
 
5
9
  - Expect build.sh scripts to produce a directory named "target" https://github.com/heroku/cutlass/pull/7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cutlass (0.1.5)
4
+ cutlass (0.1.6)
5
5
  docker-api (>= 2.0)
6
6
 
7
7
  GEM
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: stdout_ish.first, stderr: stderr, status: status)
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
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Cutlass
4
4
  # Version
5
- VERSION = "0.1.5"
5
+ VERSION = "0.1.6"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cutlass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - schneems