Sha256: 122cddab6a7d478793234f550a3098ffc8a699e24767e9ccc8d9601d2b371ac7
Contents?: true
Size: 450 Bytes
Versions: 1
Compression:
Stored size: 450 Bytes
Contents
require 'json' # encoding: utf-8 module SensuPluginsDNS # This defines the version of the gem module Version MAJOR = 0 MINOR = 0 PATCH = 2 VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.') NAME = 'sensu-plugins-dns' BANNER = "#{NAME} v%s" module_function def version format(BANNER, VER_STRING) end def json_version { 'version' => VER_STRING }.to_json end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sensu-plugins-dns-0.0.2 | lib/sensu-plugins-dns/version.rb |