TIL we can compare versions in Ruby using `Gem::Version` without any gems
by @rinas
We can just do
Gem::Version.new('1.0.1') > Gem::Version.new('1.0.0')
Here is the link to the documentation: https://ruby-doc.org/stdlib-3.1.0/libdoc/rubygems/rdoc/Gem/Version.html