From 974ee186d14770ff003a186cf2fda82884bfc26a Mon Sep 17 00:00:00 2001 From: Matt Jones Date: Wed, 3 Jun 2015 11:52:38 -0400 Subject: [PATCH] deploy --- lib/sensu-plugins-mesos.rb | 14 -------------- lib/sensu-plugins-mesos/version.rb | 21 +-------------------- 2 files changed, 1 insertion(+), 34 deletions(-) diff --git a/lib/sensu-plugins-mesos.rb b/lib/sensu-plugins-mesos.rb index 0282213..69bebff 100644 --- a/lib/sensu-plugins-mesos.rb +++ b/lib/sensu-plugins-mesos.rb @@ -1,15 +1 @@ - require 'sensu-plugins-mesos/version' - -# Load the defaults - -# -# Default class -# -module SensuPluginsMesos - class << self - end - - class << self - end -end diff --git a/lib/sensu-plugins-mesos/version.rb b/lib/sensu-plugins-mesos/version.rb index 7c22037..6f38a95 100644 --- a/lib/sensu-plugins-mesos/version.rb +++ b/lib/sensu-plugins-mesos/version.rb @@ -1,28 +1,9 @@ -require 'json' - -# encoding: utf-8 module SensuPluginsMesos - # This defines the version of the gem module Version MAJOR = 0 MINOR = 0 - PATCH = 1 + PATCH = 2 VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.') - - NAME = 'sensu-plugins-mesos' - BANNER = "#{NAME} v%s" - - module_function - - def version - format(BANNER, VER_STRING) - end - - def json_version - { - 'version' => VER_STRING - }.to_json - end end end