Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Jones committed Jun 3, 2015
1 parent 032cebe commit 974ee18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 34 deletions.
14 changes: 0 additions & 14 deletions lib/sensu-plugins-mesos.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@

require 'sensu-plugins-mesos/version'

# Load the defaults

#
# Default class
#
module SensuPluginsMesos
class << self
end

class << self
end
end
21 changes: 1 addition & 20 deletions lib/sensu-plugins-mesos/version.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 974ee18

Please sign in to comment.