Hi @adrienthebo,

The reasoning here was that #to_i will mean that 0.9.8.0 --> 0980 --> 980 for a simple GT/LT comparison.  I did mess up a bit in that i didnt account for versions that were 0.9.8.x where x > 0.  Ive patched it a little so that the new syntax is used on versions >= 0.9.9.0 (or 990).

The spec tests do include tests that evaluate a typical output string from nmcli --version for both < and >= 0.9.9.0 to test that it selects the appropriate command syntax in each case.  Were you looking for something more?

Thanks,
Chris