protected static boolean isNewVersion(String latest, String current) {
        String gephiVersionTst = current.replaceAll("[0-9]{12}", "").replaceAll("[a-zA-Z -]", "");
        latest = latest.replaceAll("[a-zA-Z -]", "");
        int res = ModuleDescriptor.Version.parse(gephiVersionTst)
            .compareTo(ModuleDescriptor.Version.parse(latest));
        return res < 0;
    }
@Test
    public void testNewVersion() {
        Assert.assertFalse(Installer.isNewVersion("0.9.2", "0.9.2"));
        Assert.assertTrue(Installer.isNewVersion("0.9.3", "0.9.2"));
        Assert.assertTrue(Installer.isNewVersion("0.10.0", "0.9.2"));
        Assert.assertTrue(Installer.isNewVersion("0.10.1", "0.10.0"));
        Assert.assertTrue(Installer.isNewVersion("1.0.0", "0.10.0"));
    }