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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/hashipack/client.rb +4 -3
- data/lib/hashipack/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2423fd4fb8a820ae618c61f0b031cacf63143f5626bc6ad9a7e7db3cd9c3f8e4
|
4
|
+
data.tar.gz: e8e9a8c627d33522cf40efda1b03113cfacde5676386944c702d0647e8f9b7dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c76888f12547f25db4f900a3cfbbafe904c8335897bece060d22cb32f9a30b3bec8546315d590b2329096d344db810cc462cd031f0bcd50d965d5b430b73956
|
7
|
+
data.tar.gz: b8aed88a7362c77203826b202565f29f9b4034413fa7420fb2d60ab8855ca34a6f084ab3baf91290663d74f57e30eeea8ca18e4f92c0d5cb048bde12181a8939
|
data/Gemfile.lock
CHANGED
data/lib/hashipack/client.rb
CHANGED
@@ -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
|
-
|
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
|
|
data/lib/hashipack/version.rb
CHANGED
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.
|
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
|
11
|
+
date: 2024-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: None.
|
14
14
|
email:
|