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 +4 -4
- data/lib/packer/binary.rb +2 -1
- data/lib/packer/binary/helpers.rb +0 -2
- data/lib/packer/binary/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a6c256919d692478e1181cb35dca9fed5c4c93c5
|
|
4
|
+
data.tar.gz: 260d86aac005359a8914792e065c1e65373ff12e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e8b2ccc76352ecbf3cdcd4c3e9fcf9c31129eb2ad66f266d7cac51a51b5c0ad60fb23d8b0702bc0b6442baa574894a48924f9b3709d39b8825ce955845cd0ef2
|
|
7
|
+
data.tar.gz: 3c1cdffda313f7f667520070cda3b077900a6e49afbc2237c1fdbecff960b611e765f3af6f8c0e06f3786b36cb78ef3f00ea303dbde93c4e831e60ac7049ad89
|
data/lib/packer/binary.rb
CHANGED
|
@@ -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
|
-
|
|
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
|