lib/hieracles.rb in hieracles-0.0.6 vs lib/hieracles.rb in hieracles-0.1.0

- old
+ new

@@ -3,14 +3,18 @@ require 'hieracles/hiera' require 'hieracles/utils' require 'hieracles/help' require 'hieracles/node' require 'hieracles/format' +require 'hieracles/registry' require 'hieracles/formats/csv' require 'hieracles/formats/yaml' require 'hieracles/formats/plain' require 'hieracles/formats/console' require 'hieracles/formats/rawyaml' # https://github.com/Gandi/hieracles module Hieracles + def self.version + File.read(File.expand_path('../../CHANGELOG.md', __FILE__))[/([0-9]+\.[0-9]+\.[0-9]+)/] + end end