@default_puppet_tags = []
self.instance_eval(&block)
+
+ @version ||= Versionomy.parse("0.0")
end
def version=(version)
@version >= minimum_platform_version && @version <= maximum_platform_version
end
+ def major_version
+ if @version.major == 0
+ "#{@version.major}.#{@version.minor}"
+ else
+ @version.major
+ end
+ end
+
end
end
require 'leap/platform'
require 'leap_cli/version'
-require 'leap_cli/constants'
require 'leap_cli/exceptions'
require 'leap_cli/leapfile'
module LeapCli
unless defined?(LeapCli::VERSION)
- VERSION = '1.5.9'
+ VERSION = '1.6.0'
COMPATIBLE_PLATFORM_VERSION = '0.5.3'..'1.99'
SUMMARY = 'Command line interface to the LEAP platform'
DESCRIPTION = 'The command "leap" can be used to manage a bevy of servers running the LEAP platform from the comfort of your own home.'