packer-binary 0.2.0 → 0.2.1

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
  SHA1:
3
- metadata.gz: 5873799b8897ad2c339a83886a1761188d62995c
4
- data.tar.gz: 71c9bfff2134207674d6b8b66ede36c8725d4fe6
3
+ metadata.gz: 37e097b52d1382bd56946c61559c7000d5772f99
4
+ data.tar.gz: 2fc8edefbaee5fc8a81dd6300a61c5fb4283135b
5
5
  SHA512:
6
- metadata.gz: 01b015e3e484fd0243b7355a6efe2f8c71af312b635e6030058d390a1074f1ec7e4ddda35c73e56e1049981f2c1f7c80bbad4064456e35008ceff6522a663204
7
- data.tar.gz: 6b86a57a41bf451eb50017bbf6e872331d2d8cb114dec579ae4c209c794dcbe26ffcb622989e4dd77c87d656fc073368e7e1807f39aa0a5e34c8fe390ee514f0
6
+ metadata.gz: 60f2d2a5b47e97b227629b50919aafd7bc2ab01725f8dc0095472762f84b5c445af235d4ea35ed7dca1f791eac0c5bac5d2ddb5334e9cbeaa281c80f898e9de0
7
+ data.tar.gz: 19026f009caeda690ba71b644022f0702c812c1a533b1256e29312ef27f7dc43ddfeb0982467e303d3b8fc877e673a2a16cd9dac5957526b9b5d629966c4c6fd
@@ -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
- Command.run("#{method.to_s.downcase} #{args}")
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 Build; end
56
-
57
- # @deprecated Use {#method_missing} dynamic method handling for
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
@@ -1,7 +1,7 @@
1
1
  module Packer
2
2
  module Binary
3
3
  # Gem Version
4
- VERSION = '0.2.0'.freeze
4
+ VERSION = '0.2.1'.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.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Cazell