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 da44b59 commit b8abc4f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 33 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang

### Added
- initial release

## [0.0.2] - 2015-06-02

### Fixed
- added binstubs

### Changed
- removed cruft from /lib
13 changes: 0 additions & 13 deletions lib/sensu-plugins-etcd.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
require 'sensu-plugins-etcd/version'

# Load the defaults

#
# Default class
#
module SensuPluginsEtcd
class << self
end

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

# encoding: utf-8
module SensuPluginsEtcd
# 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-etcd'
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 b8abc4f

Please sign in to comment.