lib/gps_pvt/version.rb in gps_pvt-0.8.3 vs lib/gps_pvt/version.rb in gps_pvt-0.8.4
- old
+ new
@@ -1,5 +1,9 @@
# frozen_string_literal: true
module GPS_PVT
- VERSION = "0.8.3"
+ VERSION = "0.8.4"
+
+ def GPS_PVT.version_compare(a, b)
+ Gem::Version::new(a) <=> Gem::Version::new(b)
+ end
end