Skip to content

Commit

Permalink
fix test error; prepare for next dev cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorrit Poelen committed Jan 14, 2025
1 parent 5f0110b commit 7812970
Show file tree
Hide file tree
Showing 27 changed files with 31 additions and 30 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Elliott M.J., Poelen, J.H. & Fortes, J.A.B. (2023) Signing data citations enable
To install [a preston release](../../releases) on your linux/mac:

```console
sudo sh -c '(curl -L https://github.com/bio-guoda/preston/releases/download/0.10.3/preston.jar) > /usr/local/bin/preston && chmod +x /usr/local/bin/preston && preston config-manpage' && preston version
sudo sh -c '(curl -L https://github.com/bio-guoda/preston/releases/download/0.10.4/preston.jar) > /usr/local/bin/preston && chmod +x /usr/local/bin/preston && preston config-manpage' && preston version
```
:warning: Note that this installs preston using sudo privileges and makes preston.jar executable. Please inspect the script before running it. Also see [install](#install).

Expand All @@ -28,7 +28,7 @@ Note that a debian package (Debian, Ubuntu, etc) is also available for use with
```console
sudo apt update
sudo apt upgrade
curl -L https://github.com/bio-guoda/preston/releases/download/0.10.3/preston.deb > preston.deb
curl -L https://github.com/bio-guoda/preston/releases/download/0.10.4/preston.deb > preston.deb
sudo apt install ./preston.deb
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.globalbioticinteractions</groupId>
<artifactId>preston-all</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Preston Modules</name>
<modules>
Expand Down
2 changes: 1 addition & 1 deletion preston-cas/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,16 @@ public boolean supports(IRI key) {
}
});

String contentId = "hash://sha256/b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c";
hashVerifier.on(RefNodeFactory.toStatement(
RefNodeFactory.toIRI("foo:bar"),
RefNodeConstants.HAS_VERSION,
RefNodeFactory.toIRI("hash://sha256/b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c"))
RefNodeFactory.toIRI(contentId))
);

assertThat(new String((outputStream).toByteArray(), StandardCharsets.UTF_8),
Is.is("hash://sha256/b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c\t" +
"foo/bar\t" +
Is.is(contentId + "\t" +
contentId + "\t" +
"FAIL\t" +
"MISSING\t" +
"\t" +
Expand Down
2 changes: 1 addition & 1 deletion preston-cmd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-dbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-dwc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-excel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-genbank/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-get/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-github/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-index/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-label/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-mbd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-paradox/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Preston Shared Project Settings</name>

Expand Down
2 changes: 1 addition & 1 deletion preston-plazi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-rdf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-serve/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-stream/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-taxodros/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-taxonworks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-track/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion preston-zenodo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>bio.guoda</groupId>
<artifactId>preston-parent</artifactId>
<version>0.10.4</version>
<version>0.10.5-SNAPSHOT</version>
<relativePath>../preston-parent/pom.xml</relativePath>
</parent>

Expand Down

0 comments on commit 7812970

Please sign in to comment.