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 0c2210b commit 367d516
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 @@ -4,3 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)

## Unreleased][unreleased]

## [0.0.2] - 2015-06-03

### Fixed
- added binstubs

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

require 'sensu-plugins-nginx/version'

# Load the defaults

#
# Default class
#
module SensuPluginsNginx
class << self
end

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

# encoding: utf-8
module SensuPluginsNginx
# 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-nginx'
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 367d516

Please sign in to comment.