hashipack 0.1.5 → 0.1.7

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: 87fd41d558d6ee4d58c99aa4e2a33eeffc370a03aef72e39ff573d746378b5e2
4
+ data.tar.gz: b0fd96379a70bd93ee8fbf8cde578aa2aa3d9dac4d942edda84a40e18220d7ba
5
5
  SHA512:
6
- metadata.gz: bea07df2852be1ae4066c0bba8ae70b013212391db6bb1f840b6596557a889e6bb5e6a0ff57979a7c43085c8539dc625cb529fba67ddac9a860fd2a81421324a
7
- data.tar.gz: c5880b968204a7682afa8f8f82f7172e6ec5c6a0ae1515aab55ffa26efdf970f217b5f163f2c54a41e66852d75188b2100daf6b256a3e93ee4ce64cf4817bb3a
6
+ metadata.gz: d076feaf4992bf9bdd0f98c5a4e531e1c2c7b71ba658557c14fa0f831340fd18889466e8bbe2cc156a0cb63d4c729304f81987f4d24490cdb1719d4e340aac9b
7
+ data.tar.gz: b35accd2f1f4d7b4009c953c0995882a59e3ac82361d196863a7c0d456a0a7c108c7187c45ff3fa85437042924c88c872c8ecbe78054a67cc73a16482686f2b9
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.7)
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_option = debug ? '-debug' : ''
9
+ command = "packer -machine-readable build #{debug_option} #{filename}"
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.7"
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.7
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: