public InstallRubyGems build() { return new InstallRubyGems(version, updateSystem, updateSystemVersion, updateExistingGems); }
public InstallRuby build() { return new InstallRuby(); } }
public void installRubyGemsAndUpdateGems() throws IOException { assertEquals(InstallRubyGems.builder().updateExistingGems(true).build().render(OsFamily.UNIX), installRubyGems(DEFAULT_RUBYGEMS_VERSION) + updateGems()); }
public void installRubyGemsUpdatingSystemAndGems() throws IOException { assertEquals(InstallRubyGems.builder().version("1.2.3").updateSystem(true, "1.2.4").updateExistingGems(true) .build().render(OsFamily.UNIX), installRubyGems("1.2.3") + updateSystem("1.2.4") + updateGems()); }
public void installRubyGemsAndUpdateSystemForcingUpdateVersion() throws IOException { assertEquals(InstallRubyGems.builder().updateSystem(true, "1.8.25").build().render(OsFamily.UNIX), installRubyGems(DEFAULT_RUBYGEMS_VERSION) + updateSystem("1.8.25")); }
public void installRubyGemsDefaultsUnix() throws IOException { assertEquals(InstallRubyGems.builder().build().render(OsFamily.UNIX), installRubyGems(DEFAULT_RUBYGEMS_VERSION)); }
public void installRubyGemsUpdatingSystemAndGems() throws IOException { assertEquals(InstallRubyGems.builder().version("1.2.3").updateSystem(true, "1.2.4").updateExistingGems(true) .build().render(OsFamily.UNIX), installRubyGems("1.2.3") + updateSystem("1.2.4") + updateGems()); }
public void installRubyGemsAndUpdateSystem() throws IOException { assertEquals(InstallRubyGems.builder().updateSystem(true).build().render(OsFamily.UNIX), installRubyGems(DEFAULT_RUBYGEMS_VERSION) + updateSystem(null)); }
public void installRubyGemsAndUpdateGems() throws IOException { assertEquals(InstallRubyGems.builder().updateExistingGems(true).build().render(OsFamily.UNIX), installRubyGems(DEFAULT_RUBYGEMS_VERSION) + updateGems()); }
public void installRubyGemsForcingVersion() throws IOException { assertEquals(InstallRubyGems.builder().version("1.8.25").build().render(OsFamily.UNIX), installRubyGems("1.8.25")); }
public InstallRuby build() { return new InstallRuby(); } }
public InstallRubyGems build() { return new InstallRubyGems(version, updateSystem, updateSystemVersion, updateExistingGems); }
public void installRubyGemsAndUpdateSystem() throws IOException { assertEquals(InstallRubyGems.builder().updateSystem(true).build().render(OsFamily.UNIX), installRubyGems(DEFAULT_RUBYGEMS_VERSION) + updateSystem(null)); }
public InstallRuby build() { return new InstallRuby(); } }
public InstallRubyGems build() { return new InstallRubyGems(version, updateSystem, updateSystemVersion, updateExistingGems); }
public void installRubyGemsAndUpdateSystemForcingUpdateVersion() throws IOException { assertEquals(InstallRubyGems.builder().updateSystem(true, "1.8.25").build().render(OsFamily.UNIX), installRubyGems(DEFAULT_RUBYGEMS_VERSION) + updateSystem("1.8.25")); }
public InstallRuby build() { return new InstallRuby(); } }
public InstallRuby build() { return new InstallRuby(); } }