Skip to content

Commit

Permalink
Merge pull request #276 from Nexmo/add_new_workflows
Browse files Browse the repository at this point in the history
adding new workflow IDs, bumping version, updating changelog
  • Loading branch information
slorello89 authored Dec 18, 2019
2 parents 7a42d3c + 59a53a0 commit bdbb1d7
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[bumpversion]
commit = True
tag = True
current_version = 5.2.0
current_version = 5.2.1
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?
serialize =
{major}.{minor}.{patch}
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [5.2.1]
### Added
- Added Support for SMS and TTS only VerifyRequests

## [5.2.0]
### Added
- Added support for verification workflows inside of `VerifyRequest`.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ For Gradle 3.4 or Higher:

```groovy
dependencies {
implementation 'com.nexmo:client:5.2.0'
implementation 'com.nexmo:client:5.2.1'
}
```

For older versions:

```groovy
dependencies {
compile 'com.nexmo:client:5.2.0'
compile 'com.nexmo:client:5.2.1'
}
```

Expand All @@ -52,7 +52,7 @@ Add the following to the correct place in your project's POM file:
<dependency>
<groupId>com.nexmo</groupId>
<artifactId>client</artifactId>
<version>5.2.0</version>
<version>5.2.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ apply plugin: 'eclipse'

group = "com.nexmo"
archivesBaseName = "client"
version = "5.2.0"
version = "5.2.1"

sourceCompatibility = "1.8"
targetCompatibility = "1.8"
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/nexmo/client/HttpWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/
public class HttpWrapper {
private static final String CLIENT_NAME = "nexmo-java";
private static final String CLIENT_VERSION = "5.2.0";
private static final String CLIENT_VERSION = "5.2.1";
private static final String JAVA_VERSION = System.getProperty("java.version");

private AuthCollection authCollection;
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/com/nexmo/client/verify/VerifyRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ public enum Workflow {
SMS_SMS_TTS(2),
TTS_TTS(3),
SMS_SMS(4),
SMS_TTS(5);
SMS_TTS(5),
SMS(6),
TTS(7);

private final int id;

Expand Down

0 comments on commit bdbb1d7

Please sign in to comment.