David Taylor 0edffcc47d
FIX: Correct version comparison logic when comparing stable to beta (#10135)
* FIX: Correct version comparison logic when comparing stable to beta

For example, version 1.3.0 should be considered higher than 1.3.0.beta3. So `Discourse.has_needed_version?('1.3.0', '1.3.0.beta3')` should return true

* Switch to use Gem::Version to compare versions
2020-06-29 17:52:33 +10:00
..
2019-10-16 14:28:04 -04:00
2020-06-12 10:22:22 +08:00
2020-06-17 21:41:16 +03:00
2019-10-16 14:28:04 -04:00