Merge pull request #7 from kemitix/prepare-0.3.0

Prepare 0.3.0
This commit is contained in:
Paul Campbell 2017-10-20 09:22:07 +01:00 committed by GitHub
commit 2a28507ae9
4 changed files with 24 additions and 6 deletions

View file

@ -14,5 +14,3 @@ deploy:
script: sh .travis-support/deploy.sh script: sh .travis-support/deploy.sh
on: on:
branch: master branch: master
env:
global:

View file

@ -1,6 +1,19 @@
CHANGELOG CHANGELOG
========= =========
0.3.0
-----
*
0.2.0
-----
* `TypeAlias.getValue()` is not `final`
* Added `TypeAlias.map()`
* `Mon.map()` and `Mon.flatMap()` are `final`
* Codacy Quality clean up
0.1.0 0.1.0
----- -----

View file

@ -15,12 +15,14 @@ TypeAlias for Java
<dependency> <dependency>
<groupId>net.kemitix</groupId> <groupId>net.kemitix</groupId>
<artifactId>mon</artifactId> <artifactId>mon</artifactId>
<version>${mon.version}</version> <version>0.3.0</version>
</dependency> </dependency>
``` ```
## Usage ## Usage
### TypeAlias
```java ```java
class Goal extends TypeAlias<String> { class Goal extends TypeAlias<String> {
private Goal(final String goal) { private Goal(final String goal) {

11
pom.xml
View file

@ -10,19 +10,24 @@
<version>3.2.4</version> <version>3.2.4</version>
</parent> </parent>
<artifactId>mon</artifactId> <artifactId>mon</artifactId>
<version>0.2.0-SNAPSHOT</version> <version>0.3.0-SNAPSHOT</version>
<properties>
<junit.version>4.12</junit.version>
<assertj-core.version>3.8.0</assertj-core.version>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>4.12</version> <version>${junit.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.assertj</groupId> <groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId> <artifactId>assertj-core</artifactId>
<version>3.8.0</version> <version>${assertj-core.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>