Skip to content

Commit 60df670

Browse files
committed
Fixed Maven badge in README.md
1 parent 8b670fb commit 60df670

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# <img src="docs/logo.svg" width=64 height=64 alt="checklist"> Requirements API
22
[![build-status](../../workflows/Build/badge.svg)](../../actions?query=workflow%3ABuild)
3-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.cowwoc.requirements/requirements/badge.svg)](https://central.sonatype.com/search?q=g:io.github.cowwoc.requirements)
3+
[![Maven Central](https://maven-badges.sml.io/sonatype-central/io.github.cowwoc.requirements/requirements/badge.svg)](https://central.sonatype.com/search?q=g:io.github.cowwoc.requirements)
44
<br>
5-
[![API](https://img.shields.io/badge/api_docs-5B45D5.svg)](https://cowwoc.github.io/requirements.java/13.0/)
5+
[![API](https://img.shields.io/badge/api_docs-5B45D5.svg)](https://cowwoc.github.io/requirements.java/13.1/)
66
[![Changelog](https://img.shields.io/badge/changelog-A345D5.svg)](docs/changelog.md)
77
[![javascript, typescript](https://img.shields.io/badge/other%20languages-javascript,%20typescript-457FD5.svg)](../../../requirements.js)
88

@@ -21,7 +21,7 @@ To get started, add this Maven dependency:
2121
<dependency>
2222
<groupId>io.github.cowwoc.requirements</groupId>
2323
<artifactId>requirements-java</artifactId>
24-
<version>13.0</version>
24+
<version>13.1</version>
2525
</dependency>
2626
```
2727

@@ -151,14 +151,14 @@ This library offers the following features:
151151
Designed for discovery using your favorite IDE's auto-complete feature.
152152
The main entry points are:
153153

154-
* [requireThat(value, name)](https://cowwoc.github.io/requirements.java/13.0/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/java/DefaultJavaValidators.html#requireThat(T,java.lang.String))
154+
* [requireThat(value, name)](https://cowwoc.github.io/requirements.java/13.1/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/java/DefaultJavaValidators.html#requireThat(T,java.lang.String))
155155
for method preconditions.
156-
* [that(value, name)](https://cowwoc.github.io/requirements.java/13.0/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/java/DefaultJavaValidators.html#that(T,java.lang.String))
156+
* [that(value, name)](https://cowwoc.github.io/requirements.java/13.1/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/java/DefaultJavaValidators.html#that(T,java.lang.String))
157157
for [class invariants, method postconditions and private methods](docs/features.md#assertion-support).
158-
* [checkIf(value, name)](https://cowwoc.github.io/requirements.java/13.0/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/java/DefaultJavaValidators.html#checkIf(T,java.lang.String))
158+
* [checkIf(value, name)](https://cowwoc.github.io/requirements.java/13.1/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/java/DefaultJavaValidators.html#checkIf(T,java.lang.String))
159159
for multiple failures and customized error handling.
160160

161-
See the [API documentation](https://cowwoc.github.io/requirements.java/13.0/) for more details.
161+
See the [API documentation](https://cowwoc.github.io/requirements.java/13.1/) for more details.
162162

163163
## Best practices
164164

docs/features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ requireThat(nameToAge, "nameToAge").
174174
## String diff
175175

176176
When
177-
a [String comparison](https://cowwoc.github.io/requirements.java/13.0/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/java/type/component/ObjectValidatorComponent#isEqualTo(java.lang.Object))
177+
a [String comparison](https://cowwoc.github.io/requirements.java/13.1/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/java/type/component/ObjectValidatorComponent#isEqualTo(java.lang.Object))
178178
fails, the library outputs a diff of the values being compared.
179179

180180
Depending on the terminal capability, you will see a [textual](textual_diff.md) or a [colored](colored_diff.md) diff.
@@ -188,7 +188,7 @@ terminal.
188188

189189
The use of colors is disabled by default if stdin or stdout are redirected, even if ANSI colors are supported.
190190
To enable colors,
191-
invoke [GlobalConfiguration.terminalEncoding(TerminalEncoding)](https://cowwoc.github.io/requirements.java/13.0/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/java/GlobalConfiguration.html#terminalEncoding(io.github.cowwoc.requirements13.java.TerminalEncoding)).
191+
invoke [GlobalConfiguration.terminalEncoding(TerminalEncoding)](https://cowwoc.github.io/requirements.java/13.1/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/java/GlobalConfiguration.html#terminalEncoding(io.github.cowwoc.requirements13.java.TerminalEncoding)).
192192

193193
## Returning the value after validation
194194

docs/supported_libraries.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Each module uses a separate class pair for validation. For example,
2-
[DefaultJavaValidators](https://cowwoc.github.io/requirements.java/13.0/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/java/DefaultJavaValidators.html)
2+
[DefaultJavaValidators](https://cowwoc.github.io/requirements.java/13.1/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/java/DefaultJavaValidators.html)
33
and
4-
[JavaValidators](https://cowwoc.github.io/requirements.java/13.0/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/java/JavaValidators.html)
4+
[JavaValidators](https://cowwoc.github.io/requirements.java/13.1/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/java/JavaValidators.html)
55
validate the core Java API. Similarly,
6-
[DefaultGuavaValidators](https://cowwoc.github.io/requirements.java/13.0/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/guava/DefaultGuavaValidators.html)
6+
[DefaultGuavaValidators](https://cowwoc.github.io/requirements.java/13.1/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/guava/DefaultGuavaValidators.html)
77
and
8-
[GuavaValidators](https://cowwoc.github.io/requirements.java/13.0/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/guava/GuavaValidators.html)
8+
[GuavaValidators](https://cowwoc.github.io/requirements.java/13.1/io.github.cowwoc.requirements.java/com/github/cowwoc/requirements13/guava/GuavaValidators.html)
99
validate the Guava API.
1010

1111
The following table lists validators for third-party libraries:

0 commit comments

Comments
 (0)