-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #217 from jeunito/feat/spork-version
add knife spork version
- Loading branch information
Showing
3 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
$:.push File.expand_path('../lib', __FILE__) | ||
|
||
require "knife-spork/version" | ||
|
||
Gem::Specification.new do |gem| | ||
gem.name = 'knife-spork' | ||
gem.version = '1.6.3' | ||
gem.version = KnifeSpork::Version::VERSION | ||
gem.authors = ["Jon Cowie", "Katherine Daniels"] | ||
gem.email = ['[email protected]', '[email protected]'] | ||
gem.homepage = 'https://github.com/jonlives/knife-spork' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
require 'chef/knife' | ||
require 'knife-spork/version' | ||
|
||
module KnifeSpork | ||
class SporkVersion < Chef::Knife | ||
banner 'knife spork version' | ||
|
||
def run | ||
ui.info KnifeSpork::Version::VERSION | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module KnifeSpork | ||
module Version | ||
VERSION = "1.6.3" | ||
end | ||
end |