hashipack 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a97072d2fd6b4702a2fce358d21b149551cc190b4fc782231c59bab036c9b68
4
- data.tar.gz: e765c7c6cf65fcb219e52527dcf530c430dda4d3337a352431f957ae8986f2cb
3
+ metadata.gz: 2423fd4fb8a820ae618c61f0b031cacf63143f5626bc6ad9a7e7db3cd9c3f8e4
4
+ data.tar.gz: e8e9a8c627d33522cf40efda1b03113cfacde5676386944c702d0647e8f9b7dd
5
5
  SHA512:
6
- metadata.gz: bea07df2852be1ae4066c0bba8ae70b013212391db6bb1f840b6596557a889e6bb5e6a0ff57979a7c43085c8539dc625cb529fba67ddac9a860fd2a81421324a
7
- data.tar.gz: c5880b968204a7682afa8f8f82f7172e6ec5c6a0ae1515aab55ffa26efdf970f217b5f163f2c54a41e66852d75188b2100daf6b256a3e93ee4ce64cf4817bb3a
6
+ metadata.gz: 8c76888f12547f25db4f900a3cfbbafe904c8335897bece060d22cb32f9a30b3bec8546315d590b2329096d344db810cc462cd031f0bcd50d965d5b430b73956
7
+ data.tar.gz: b8aed88a7362c77203826b202565f29f9b4034413fa7420fb2d60ab8855ca34a6f084ab3baf91290663d74f57e30eeea8ca18e4f92c0d5cb048bde12181a8939
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hashipack (0.1.5)
4
+ hashipack (0.1.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -3,9 +3,10 @@ require 'open3'
3
3
 
4
4
  module Hashipack
5
5
  class Client
6
- def build(path, on_output: lambda {}, on_progress: lambda {}, estimated_duration: 300)
6
+ def build(path, on_output: lambda {}, on_progress: lambda {}, estimated_duration: 300, debug: false)
7
7
  directory, filename = File.split(path)
8
- command = "packer -machine-readable build #{filename}"
8
+ debug_suffix = debug ? ' -debug' : ''
9
+ command = "packer -machine-readable build #{filename}#{debug_suffix}"
9
10
 
10
11
  initial_timestamp = 99999999999
11
12
  last_timestamp = 0
@@ -39,7 +40,7 @@ module Hashipack
39
40
  stderr.each do |line|
40
41
  puts "Error: #{line}"
41
42
  end
42
-
43
+
43
44
  puts "Exit status: #{wait_thr.value}"
44
45
  end
45
46
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hashipack
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hashipack
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
  - Lukas_Skywalker
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-28 00:00:00.000000000 Z
11
+ date: 2024-09-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: None.
14
14
  email: