Sha256: f155cbd4c63dbf41d95ec8f64df51a89ee4247dc8b668885124991f245af3036

Contents?: true

Size: 893 Bytes

Versions: 1

Compression:

Stored size: 893 Bytes

Contents

# A module for Herald
module PuppetHerald
  # Prepare version
  #
  # @param desired [String] a desired version
  # @return [String] a prepared version
  def self.version_prep(desired)
    version = desired
    if desired.match(/[^0-9\.]+/)
      git = `git describe --tags --dirty --always`
      version += '.' + git.gsub('-', '.')
    end
    version.strip
  end

  # Version for Herald
  VERSION     = version_prep '0.8.1'
  # Lincense for Herald
  LICENSE     = 'Apache-2.0'
  # Project name
  NAME        = 'Puppet Herald'
  # Package (gem) for Herald
  PACKAGE     = 'puppet-herald'
  # A summary info
  SUMMARY     = 'a Puppet report processor'
  # A description info
  DESCRIPTION = 'Provides a gateway for consuming puppet reports, a REST API and a simple Web app to display reports.'
  # A homepage for Herald
  HOMEPAGE    = 'https://github.com/wavesoftware/gem-puppet-herald'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puppet-herald-0.8.1 lib/puppet-herald/version.rb