lib/chef_gen/flavor/flay.rb in chef-flavor-flay-0.1.0 vs lib/chef_gen/flavor/flay.rb in chef-flavor-flay-0.1.1
- old
+ new
@@ -1,10 +1,10 @@
module ChefGen
module Flavor
class Flay
NAME = "flay".freeze
DESC = "Generate a new cookbook with **better** defaults".freeze
- VERSION = "0.1.0".freeze
+ VERSION = Gem.loaded_specs["chef-flavor-flay"].version.to_s.freeze
attr_reader :temp_path
def initialize(temp_path: nil)
@temp_path = temp_path