zsprackett/cloudwatchtographite

View on GitHub
lib/cloudwatchtographite/version.rb

Summary

Maintainability
A
0 mins
Test Coverage
# _*_ coding: utf-8 _*_
# frozen_string_literal: true
# == Synopsis
# CloudwatchToGraphite retrieves metrics from the Amazon CloudWatch APIs
# and passes them on to a graphite server
#
# == Author
# S. Zachariah Sprackett <zac@sprackett.com>
#
# == License
# The MIT License (MIT)
#
# == Copyright
# Copyright (C) 2013 - S. Zachariah Sprackett <zac@sprackett.com>
#
module CloudwatchToGraphite
  class VERSION
    MAJOR = 0
    MINOR = 1
    PATCH = 1
    BUILD = ''

    STRING = [MAJOR, MINOR, PATCH].compact.join('.') \
      + (BUILD.empty? ? '' : ".#{BUILD}")
  end
end