Skip to content

Commit

Permalink
Release 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SandroMachado committed Sep 11, 2017
1 parent 0727d88 commit bf2e875
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [0.7.0](https://github.com/uphold/uphold-sdk-android/tree/0.7.0) (2017-09-11)
[Full Changelog](https://github.com/uphold/uphold-sdk-android/compare/0.6.0...0.7.0)

**Merged pull requests:**

- Update `travis.yml` [\#96](https://github.com/uphold/uphold-sdk-android/pull/96) ([d-moreira](https://github.com/d-moreira))
- Add protected setting to the card [\#95](https://github.com/uphold/uphold-sdk-android/pull/95) ([d-moreira](https://github.com/d-moreira))

## [0.6.0](https://github.com/uphold/uphold-sdk-android/tree/0.6.0) (2017-07-19)
[Full Changelog](https://github.com/uphold/uphold-sdk-android/compare/0.5.0...0.6.0)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ repositories {
}
dependencies {
// Add the classifier `sandboxRelease`, i.e. `'com.github.uphold:uphold-sdk-android:0.6.0:sandboxRelease@aar'`, to use the sandbox environment.
compile ('com.github.uphold:uphold-sdk-android:0.6.0@aar') {
// Add the classifier `sandboxRelease`, i.e. `'com.github.uphold:uphold-sdk-android:0.7.0:sandboxRelease@aar'`, to use the sandbox environment.
compile ('com.github.uphold:uphold-sdk-android:0.7.0@aar') {
transitive = true
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ android {
minSdkVersion 16
targetSdkVersion 22
versionCode 14
versionName "0.6.0"
versionName "0.7.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public Promise<Card> call(UpholdRestAdapter adapter) {

Assert.assertEquals(request.getHeaders().size(), 2);
Assert.assertTrue(request.getHeaders().contains(new Header("Authorization", "Bearer fuz")));
Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.6.0 (https://github.com/uphold/uphold-sdk-android)")));
Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.7.0 (https://github.com/uphold/uphold-sdk-android)")));
}

@Test
Expand All @@ -83,7 +83,7 @@ public Promise<Card> call(UpholdRestAdapter adapter) {
Request request = adapter.getRequest();

Assert.assertEquals(request.getHeaders().size(), 1);
Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.6.0 (https://github.com/uphold/uphold-sdk-android)")));
Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.7.0 (https://github.com/uphold/uphold-sdk-android)")));
}

@Test
Expand All @@ -104,7 +104,7 @@ public Promise<Card> call(UpholdRestAdapter adapter) {
Request request = adapter.getRequest();

Assert.assertEquals(request.getHeaders().size(), 1);
Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.6.0 (https://github.com/uphold/uphold-sdk-android)")));
Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.7.0 (https://github.com/uphold/uphold-sdk-android)")));
}

}

0 comments on commit bf2e875

Please sign in to comment.