module CookbookBumper

Constants

VERSION

Public Class Methods

config() click to toggle source
# File lib/cookbook_bumper.rb, line 17
def self.config
  @config ||= Config.new
end
configure() { |config| ... } click to toggle source
# File lib/cookbook_bumper.rb, line 13
def self.configure
  yield config
end
cookbooks() click to toggle source
# File lib/cookbook_bumper.rb, line 21
def self.cookbooks
  @cookbooks ||= Cookbooks.new(config.cookbook_path)
end
run(override_config = nil) click to toggle source
# File lib/cookbook_bumper.rb, line 25
def self.run(override_config = nil)
  @config = override_config if override_config
  envs = Envs.new(config.environment_path)
  git = Git.new

  git.bump_changed
  envs.update
  puts envs.change_log
end