lib/sensu-plugins-opsgenie/version.rb in sensu-plugins-opsgenie-0.0.3 vs lib/sensu-plugins-opsgenie/version.rb in sensu-plugins-opsgenie-1.0.0

- old
+ new

@@ -2,17 +2,17 @@ # encoding: utf-8 module SensuPluginsOpsgenie # This defines the version of the gem module Version - MAJOR = 0 + MAJOR = 1 MINOR = 0 - PATCH = 3 + PATCH = 0 VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.') - NAME = 'sensu-plugins-opsgenie' - BANNER = "#{NAME} v%s" + NAME = 'sensu-plugins-opsgenie'.freeze + BANNER = "#{NAME} v%s".freeze module_function def version format(BANNER, VER_STRING)