Skip to content

Commit

Permalink
Updated readme to contain version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
npathai authored Sep 6, 2017
1 parent 1b359ae commit 729e609
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,26 @@
An extension to [Java Hamcrest](https://github.com/hamcrest/JavaHamcrest) which provides matchers for `java.util.Optional`.

## Maven Dependency

### Version 2.0.0 - Latest

Changes

- Methods renamed from `hasValue` to `isPresentAndIs/isPresentAnd` for better fluency.
```
<dependencies>
...
<dependency>
<groupId>com.github.npathai</groupId>
<artifactId>hamcrest-optional</artifactId>
<version>2.0.0</version>
</dependency>
...
</dependencies>
```

### Version 1.0

```
<dependencies>
...
Expand Down

0 comments on commit 729e609

Please sign in to comment.