Skip to content

Commit

Permalink
Update code for FitNesse 20160618
Browse files Browse the repository at this point in the history
  • Loading branch information
amolenaar committed Jun 19, 2016
1 parent d749324 commit 5c24b1d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Expand Up @@ -7,9 +7,9 @@ FitNesseRoot/PageHeader/
FitNesseRoot/RecentChanges/
FitNesseRoot/TemplateLibrary/
TestDir/
fitnesse-git-plugin.iml
fitnesse-git-plugin.ipr
fitnesse-git-plugin.iws
*.iml
*.ipr
*.iws
out/

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -38,7 +38,7 @@ sourceSets {

dependencies {
compile "org.eclipse.jgit:org.eclipse.jgit:3.6.2.201501210735-r"
provided "org.fitnesse:fitnesse:20151230"
provided "org.fitnesse:fitnesse:20160618"

testCompile "junit:junit:4.12"
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
@@ -1,3 +1,3 @@
version=1.0.1
version=1.1.0
group = org.fitnesse.plugins
archivesBaseName = fitnesse-git-plugin
2 changes: 1 addition & 1 deletion src/fitnesse/wiki/fs/GitFileVersionsController.java
Expand Up @@ -146,7 +146,7 @@ public VersionInfo makeVersion(FileVersion... fileVersions) throws IOException {
}

@Override
public void delete(FileVersion... files) {
public void delete(FileVersion... files) throws IOException {
Repository repository = getRepository(files[0].getFile());
Git git = new Git(repository);
try {
Expand Down
3 changes: 2 additions & 1 deletion test/fitnesse/wiki/fs/GitFileVersionsControllerTest.java
@@ -1,6 +1,7 @@
package fitnesse.wiki.fs;

import java.io.File;
import java.io.IOException;

import fitnesse.wiki.WikiPage;
import org.eclipse.jgit.api.errors.GitAPIException;
Expand All @@ -24,7 +25,7 @@ public void setUp() throws GitAPIException {
}

@After
public void tearDown() {
public void tearDown() throws IOException {
fixture.cleanUp();
}

Expand Down

0 comments on commit 5c24b1d

Please sign in to comment.