lib/makit/version.rb in makit-0.0.1 vs lib/makit/version.rb in makit-0.0.2

- old
+ new

@@ -1,12 +1,12 @@ -# frozen_string_literal: true - -module Makit - VERSION = "0.0.1" - - class Version - # given an array of version strings, return the highest version - def self.get_highest_version(versions) - versions.sort { |a, b| Gem::Version.new(a) <=> Gem::Version.new(b) }.last - end - end -end +# frozen_string_literal: true + +module Makit + VERSION = "0.0.2" + + class Version + # given an array of version strings, return the highest version + def self.get_highest_version(versions) + versions.sort { |a, b| Gem::Version.new(a) <=> Gem::Version.new(b) }.last + end + end +end