Module: FalkorLib::Config::Versioning

Defined in:
lib/falkorlib/versioning.rb

Overview

Default configuration for Versioning Management

Constant Summary collapse

DEFAULTS =

Versioning Management defaults

{
  :default => '0.0.1',
  :levels  => %w(major minor patch),
  :type    => 'file',
  :source  => {
    'file' => {
      :filename => 'VERSION'
    },
    'gem' => {
      :filename  => 'lib/falkorlib/version.rb',
      :getmethod => 'FalkorLib::Version.to_s',
      #:setmethod => 'FalkorLib::Version.set',
      #:pattern   => '^(\s*)MAJOR\s*,\s*MINOR,\s*PATCH\s*=\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)'
    },
    'puppet_module' => {
      :filename => 'metadata.json'
    },
    'tag' => {
      :suffix => 'v'
    }
  }
}