Skip to content

Commit

Permalink
Prepare for realease
Browse files Browse the repository at this point in the history
  • Loading branch information
vdurmont committed Sep 11, 2015
1 parent e2e83d9 commit b95afd0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.1.0

* Add support for Ivy requirements (used by gradle)

## v1.0.1

* Fix a bug that prevented the usage of `Semver#statisfies(String)` with CocoaPods
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ Add the dependency to your project:
<dependency>
<groupId>com.vdurmont</groupId>
<artifactId>semver4j</artifactId>
<version>1.0.1</version>
<version>1.1.0</version>
</dependency>
```

#### Using gradle

```xml
compile 'com.vdurmont:semver4j:1.0.1'
compile 'com.vdurmont:semver4j:1.1.0'
```

## Usage
Expand Down Expand Up @@ -147,6 +147,12 @@ Semver semPOD = new Semver("1.2.3", SemverType.COCOAPODS);
semPOD.satisfies("> 1.2.2"); // true
semPOD.satisfies("~> 1.2.1"); // true
semPOD.satisfies("<= 1.1.1"); // false

// IVY mode (those are just examples, check Ivy/gradle documentation to see all the cases)
Semver semIVY = new Semver("1.2.3", SemverType.IVY);
semIVY.satisfies("1.2.+"); // true
semIVY.satisfies("(,1.8.9]"); // true
semIVY.satisfies("[0.2,1.4]"); // true
```

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

<groupId>com.vdurmont</groupId>
<artifactId>semver4j</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>1.1.0</version>
<packaging>jar</packaging>

<name>semver4j</name>
Expand Down

0 comments on commit b95afd0

Please sign in to comment.