Skip to content

Commit

Permalink
Set version to 1.3.26
Browse files Browse the repository at this point in the history
- Corrected testProducer()
  • Loading branch information
asturio committed May 2, 2021
1 parent 497c07f commit 77dd308
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ and bugreports to this GitHub repository.
[![Join the chat at https://gitter.im/LibrePDF/OpenPDF](https://badges.gitter.im/LibrePDF/OpenPDF.svg)](https://gitter.im/LibrePDF/OpenPDF)
[![Join the chat at https://gitter.im/LibrePDF/code_of_conduct](https://badges.gitter.im/LibrePDF/code_of_conduct.svg)](https://gitter.im/LibrePDF/code_of_conduct)

## OpenPDF version 1.3.25 released 2021-02-15 ##
## OpenPDF version 1.3.26 released 2021-05-02 ##

Get version 1.3.25 here - https://github.com/LibrePDF/OpenPDF/releases/tag/1.3.25
Get version 1.3.26 here - https://github.com/LibrePDF/OpenPDF/releases/tag/1.3.26

- [Previous releases](https://github.com/LibrePDF/OpenPDF/releases)

Expand All @@ -28,7 +28,7 @@ Add this to your pom.xml file to use the latest version of OpenPDF:
<dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf</artifactId>
<version>1.3.25</version>
<version>1.3.26</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion openpdf-fonts-extra/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf-parent</artifactId>
<version>1.3.26-SNAPSHOT</version>
<version>1.3.26</version>
</parent>

<artifactId>openpdf-fonts-extra</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion openpdf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf-parent</artifactId>
<version>1.3.26-SNAPSHOT</version>
<version>1.3.26</version>
</parent>

<artifactId>openpdf</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ private HashMap<String, String> createCleanerMoreInfo() {

@Test
public void testProducer() throws Exception {
String PRODUCER = "OpenPDF 1.3.26-SNAPSHOT";

ByteArrayOutputStream baos = new ByteArrayOutputStream();
Document document = new Document();

Expand All @@ -47,7 +45,8 @@ public void testProducer() throws Exception {
document.close();

try (PdfReader r = new PdfReader(baos.toByteArray())) {
Assertions.assertEquals(PRODUCER, r.getInfo().get("Producer"));
final String producer = r.getInfo().get("Producer");
org.assertj.core.api.Assertions.assertThat(producer).startsWith("OpenPDF ");
}

}
Expand Down
2 changes: 1 addition & 1 deletion pdf-swing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf-parent</artifactId>
<version>1.3.26-SNAPSHOT</version>
<version>1.3.26</version>
</parent>

<artifactId>pdf-swing</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pdf-toolbox/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf-parent</artifactId>
<version>1.3.26-SNAPSHOT</version>
<version>1.3.26</version>
</parent>

<artifactId>pdf-toolbox</artifactId>
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>com.github.librepdf</groupId>
<artifactId>openpdf-parent</artifactId>
<version>1.3.26-SNAPSHOT</version>
<version>1.3.26</version>
<packaging>pom</packaging>

<!-- please run mvn tidy:pom once in a while -->
Expand Down

0 comments on commit 77dd308

Please sign in to comment.