chef-gen-flavors 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +4 -0
- data/chef-gen-flavors.gemspec +2 -2
- data/lib/chef_gen/flavors.rb +4 -3
- 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: d54346e43941b8b363187f320e7a4e79e88d01c7
|
4
|
+
data.tar.gz: 9c2277aea6a1ce7cc542491469bb2ca07329a65c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f4ff7d350bcfe5bf7f0d662bf898fa8d1ed5a3d6b21417da090320011fe7e4878648c48596d949c87cd376cfd85d829be1c71fc071d2b75aa5d2b1fcef9dd5c
|
7
|
+
data.tar.gz: 174388c2872ecbbea6820f355648b82c8ef918a57d4585ef263b84601c2372f2d3d57998ad5cf81534c1ea935d3fae0c166321fecff3ad43570c48d1d2444859
|
data/History.md
CHANGED
data/chef-gen-flavors.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: chef-gen-flavors 0.6.
|
2
|
+
# stub: chef-gen-flavors 0.6.2.20150605071048 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "chef-gen-flavors"
|
6
|
-
s.version = "0.6.
|
6
|
+
s.version = "0.6.2.20150605071048"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib"]
|
data/lib/chef_gen/flavors.rb
CHANGED
@@ -8,7 +8,7 @@ module ChefGen
|
|
8
8
|
# a plugin framework for creating ChefDK generator flavors
|
9
9
|
class Flavors
|
10
10
|
# the version of the gem
|
11
|
-
VERSION = '0.6.
|
11
|
+
VERSION = '0.6.2'
|
12
12
|
|
13
13
|
extend LittlePlugger path: 'chef_gen/flavor',
|
14
14
|
module: ChefGen::Flavor
|
@@ -89,13 +89,14 @@ module ChefGen
|
|
89
89
|
output = [ui.color('Flavors on the menu', :bold)]
|
90
90
|
idx = 1
|
91
91
|
valid = {}
|
92
|
-
@plugins.each do |name, klass|
|
92
|
+
@plugins.sort.each do |name, klass|
|
93
93
|
valid[idx] = name
|
94
94
|
if true == klass
|
95
95
|
output << "#{idx}. ChefDK built-in template"
|
96
96
|
else
|
97
97
|
descr = klass.respond_to?(:description) ? klass.description : ''
|
98
|
-
|
98
|
+
version = klass.const_defined?(:VERSION) ? "v#{klass.const_get(:VERSION, false)}" : ''
|
99
|
+
output << "#{idx}. #{name}: #{descr} #{version}"
|
99
100
|
end
|
100
101
|
idx += 1
|
101
102
|
end
|