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 17727dc commit bd3d389
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 34 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-05-21

### Added
Expand Down
14 changes: 0 additions & 14 deletions lib/sensu-plugins-xmpp.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@

require 'sensu-plugins-xmpp/version'

# Load the defaults

#
# Default class
#
module SensuPluginsXmpp
class << self
end

class << self
end
end
21 changes: 1 addition & 20 deletions lib/sensu-plugins-xmpp/version.rb
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
require 'json'

# encoding: utf-8
module SensuPluginsXmpp
# 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-xmpp'
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 bd3d389

Please sign in to comment.