packer-binary 0.2.0 → 0.2.1
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 +7 -22
- 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: 37e097b52d1382bd56946c61559c7000d5772f99
|
4
|
+
data.tar.gz: 2fc8edefbaee5fc8a81dd6300a61c5fb4283135b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60f2d2a5b47e97b227629b50919aafd7bc2ab01725f8dc0095472762f84b5c445af235d4ea35ed7dca1f791eac0c5bac5d2ddb5334e9cbeaa281c80f898e9de0
|
7
|
+
data.tar.gz: 19026f009caeda690ba71b644022f0702c812c1a533b1256e29312ef27f7dc43ddfeb0982467e303d3b8fc877e673a2a16cd9dac5957526b9b5d629966c4c6fd
|
data/lib/packer/binary.rb
CHANGED
@@ -40,7 +40,8 @@ module Packer
|
|
40
40
|
# @since 0.2.0
|
41
41
|
def method_missing(method, *args, &block)
|
42
42
|
if method.to_s =~ /(\w+)/
|
43
|
-
|
43
|
+
puts "#{method.to_s.downcase} #{args.join(' ')}"
|
44
|
+
Command.run("#{method.to_s.downcase} #{args.join(' ')}")
|
44
45
|
else
|
45
46
|
super
|
46
47
|
end
|
@@ -50,29 +51,13 @@ module Packer
|
|
50
51
|
method =~ /(\w+)/ || super
|
51
52
|
end
|
52
53
|
|
54
|
+
# The Convenience methods have been deprecated in favor of dynamic method
|
55
|
+
# handling.
|
53
56
|
# @deprecated Use {#method_missing} dynamic method handling for
|
54
57
|
# binary sub-commands
|
55
|
-
def
|
56
|
-
|
57
|
-
|
58
|
-
# binary sub-commands
|
59
|
-
def Fix; end
|
60
|
-
|
61
|
-
# @deprecated Use {#method_missing} dynamic method handling for
|
62
|
-
# binary sub-commands
|
63
|
-
def Inspect; end
|
64
|
-
|
65
|
-
# @deprecated Use {#method_missing} dynamic method handling for
|
66
|
-
# binary sub-commands
|
67
|
-
def Push; end
|
68
|
-
|
69
|
-
# @deprecated Use {#method_missing} dynamic method handling for
|
70
|
-
# binary sub-commands
|
71
|
-
def Validate; end
|
72
|
-
|
73
|
-
# @deprecated Use {#method_missing} dynamic method handling for
|
74
|
-
# binary sub-commands
|
75
|
-
def Version; end
|
58
|
+
def Version
|
59
|
+
Command.run('version')
|
60
|
+
end
|
76
61
|
|
77
62
|
# This class holds the global configuration items
|
78
63
|
class Configuration
|