packer-binary 0.2.1 → 0.2.2

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
  SHA1:
3
- metadata.gz: 37e097b52d1382bd56946c61559c7000d5772f99
4
- data.tar.gz: 2fc8edefbaee5fc8a81dd6300a61c5fb4283135b
3
+ metadata.gz: a6c256919d692478e1181cb35dca9fed5c4c93c5
4
+ data.tar.gz: 260d86aac005359a8914792e065c1e65373ff12e
5
5
  SHA512:
6
- metadata.gz: 60f2d2a5b47e97b227629b50919aafd7bc2ab01725f8dc0095472762f84b5c445af235d4ea35ed7dca1f791eac0c5bac5d2ddb5334e9cbeaa281c80f898e9de0
7
- data.tar.gz: 19026f009caeda690ba71b644022f0702c812c1a533b1256e29312ef27f7dc43ddfeb0982467e303d3b8fc877e673a2a16cd9dac5957526b9b5d629966c4c6fd
6
+ metadata.gz: e8b2ccc76352ecbf3cdcd4c3e9fcf9c31129eb2ad66f266d7cac51a51b5c0ad60fb23d8b0702bc0b6442baa574894a48924f9b3709d39b8825ce955845cd0ef2
7
+ data.tar.gz: 3c1cdffda313f7f667520070cda3b077900a6e49afbc2237c1fdbecff960b611e765f3af6f8c0e06f3786b36cb78ef3f00ea303dbde93c4e831e60ac7049ad89
@@ -12,6 +12,7 @@ module Packer
12
12
  # The Binary namespace handles sub-commands using {#method_missing} metaprogramming
13
13
  # as well as the global configuration object
14
14
  module Binary
15
+
15
16
  # @!attribute config
16
17
  # @return [Configuration] the global configuration object
17
18
  attr_writer :config
@@ -40,7 +41,7 @@ module Packer
40
41
  # @since 0.2.0
41
42
  def method_missing(method, *args, &block)
42
43
  if method.to_s =~ /(\w+)/
43
- puts "#{method.to_s.downcase} #{args.join(' ')}"
44
+ Packer::Binary::Helpers.debug("#{method.to_s.downcase} #{args.join(' ')}")
44
45
  Command.run("#{method.to_s.downcase} #{args.join(' ')}")
45
46
  else
46
47
  super
@@ -26,8 +26,6 @@ module Packer
26
26
  stdout.print("#{message}\n") if ENV['DEBUG']
27
27
  end
28
28
 
29
- private
30
-
31
29
  def stdout
32
30
  $stdout
33
31
  end
@@ -1,7 +1,7 @@
1
1
  module Packer
2
2
  module Binary
3
3
  # Gem Version
4
- VERSION = '0.2.1'.freeze
4
+ VERSION = '0.2.2'.freeze
5
5
 
6
6
  # The version number of the Packer binary to download and use
7
7
  PACKER_VERSION = '1.0.4'.freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: packer-binary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Cazell