Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Jones committed Jun 4, 2015
1 parent 488e891 commit 9e1600a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 20 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang

## Unreleased][unreleased]

## [0.0.2] - 2015-06-03

### Fixed
- added binstubs

### Changed
- removed cruft from /lib

## 0.0.1 - 2015-04-30

### Added
Expand Down
21 changes: 1 addition & 20 deletions lib/sensu-plugins-uchiwa/version.rb
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
require 'json'

# encoding: utf-8
module SensuPluginsUchiwa
# 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-uchiwa'
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 9e1600a

Please sign in to comment.