hashipack 0.1.7 → 0.1.8

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: 87fd41d558d6ee4d58c99aa4e2a33eeffc370a03aef72e39ff573d746378b5e2
4
- data.tar.gz: b0fd96379a70bd93ee8fbf8cde578aa2aa3d9dac4d942edda84a40e18220d7ba
3
+ metadata.gz: 543d181e4dcfe4edb7a51e31ffca9f40e7fee60e165201330518ac976c0e4552
4
+ data.tar.gz: 84063074a728b088f6f0ee4d0c63ccef150ba13d0ee8c6cb09cc25eebba67b6e
5
5
  SHA512:
6
- metadata.gz: d076feaf4992bf9bdd0f98c5a4e531e1c2c7b71ba658557c14fa0f831340fd18889466e8bbe2cc156a0cb63d4c729304f81987f4d24490cdb1719d4e340aac9b
7
- data.tar.gz: b35accd2f1f4d7b4009c953c0995882a59e3ac82361d196863a7c0d456a0a7c108c7187c45ff3fa85437042924c88c872c8ecbe78054a67cc73a16482686f2b9
6
+ metadata.gz: 8ab18b55931bd4cd214b9e5c172fdebf601791a35018b27694d20daf54e95e95496c9b0c1300c3ff8fcc6cb40593878095eb6d41b38e1eb471a0ce88d5870ba4
7
+ data.tar.gz: cbbee5f51e9ba98a441778578c693350ce4f011890b5a80628f2f650bc95dafd7249d53101d724cb54148d40277644403e5ce12143f8e795b55ff3f579b216bf
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hashipack (0.1.7)
4
+ hashipack (0.1.8)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -3,10 +3,11 @@ 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, debug: false)
6
+ def build(path, on_output: lambda {}, on_progress: lambda {}, estimated_duration: 300, debug: false, machine_readable: true, additional_options: '')
7
7
  directory, filename = File.split(path)
8
8
  debug_option = debug ? '-debug' : ''
9
- command = "packer -machine-readable build #{debug_option} #{filename}"
9
+ machine_readable_option = machine_readable ? '-machine-readable' : ''
10
+ command = "packer build #{machine_readable_option} #{debug_option} #{additional_options} #{filename}"
10
11
 
11
12
  initial_timestamp = 99999999999
12
13
  last_timestamp = 0
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hashipack
4
- VERSION = "0.1.7"
4
+ VERSION = "0.1.8"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hashipack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas_Skywalker