lib/sensu-plugins-openldap/version.rb in sensu-plugins-openldap-0.0.1 vs lib/sensu-plugins-openldap/version.rb in sensu-plugins-openldap-0.0.2
- old
+ new
@@ -1,28 +1,9 @@
-require 'json'
-
-# encoding: utf-8
module SensuPluginsOpenldap
- # 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-openldap'
- BANNER = "#{NAME} v%s"
-
- module_function
-
- def version
- format(BANNER, VER_STRING)
- end
-
- def json_version
- {
- 'version' => VER_STRING
- }.to_json
- end
end
end