in lib/release_tools/version.rb [39:53]
def <=>(other)
return nil unless other.is_a?(Version)
return 0 if self == other
if major > other.major ||
(major >= other.major && minor > other.minor) ||
(major >= other.major && minor >= other.minor && patch > other.patch) ||
(major >= other.major && minor >= other.minor && patch >= other.patch && other.rc?)
compare_rc_versions(other)
else
compare_internal_versions(other)
end
end