From 280cf57593524940e3bebe06394ecd30bef069b2 Mon Sep 17 00:00:00 2001 From: Sandro Machado Date: Wed, 15 Jun 2016 11:10:01 +0100 Subject: [PATCH] Release 0.2.1 --- CHANGELOG.md | 12 ++++++++++++ README.md | 4 ++-- src/app/build.gradle | 4 ++-- .../client/restadapter/UpholdRestAdapterTest.java | 6 +++--- 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6c53d6..14a1739 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [0.2.1](https://github.com/uphold/uphold-sdk-android/tree/0.2.1) (2016-06-15) +[Full Changelog](https://github.com/uphold/uphold-sdk-android/compare/0.2.0...0.2.1) + +**Closed issues:** + +- User.getUserTransactions\(\).hasNext throws an exception [\#85](https://github.com/uphold/uphold-sdk-android/issues/85) + +**Merged pull requests:** + +- Fix headers comparison [\#86](https://github.com/uphold/uphold-sdk-android/pull/86) ([SandroMachado](https://github.com/SandroMachado)) +- Update README.md [\#84](https://github.com/uphold/uphold-sdk-android/pull/84) ([SandroMachado](https://github.com/SandroMachado)) + ## [0.2.0](https://github.com/uphold/uphold-sdk-android/tree/0.2.0) (2016-04-29) [Full Changelog](https://github.com/uphold/uphold-sdk-android/compare/0.1.0...0.2.0) diff --git a/README.md b/README.md index 4f7af12..7445482 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ repositories { } dependencies { - // Add the classifier `sandboxRelease`, i.e. `'com.github.uphold:uphold-sdk-android:0.2.0:sandboxRelease@aar'`, to use the sandbox environment. - compile ('com.github.uphold:uphold-sdk-android:0.2.0@aar') { + // Add the classifier `sandboxRelease`, i.e. `'com.github.uphold:uphold-sdk-android:0.2.1:sandboxRelease@aar'`, to use the sandbox environment. + compile ('com.github.uphold:uphold-sdk-android:0.2.1@aar') { transitive = true } } diff --git a/src/app/build.gradle b/src/app/build.gradle index 49014f6..ee0344e 100644 --- a/src/app/build.gradle +++ b/src/app/build.gradle @@ -19,8 +19,8 @@ android { defaultConfig { minSdkVersion 16 targetSdkVersion 22 - versionCode 9 - versionName "0.2.0" + versionCode 10 + versionName "0.2.1" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } diff --git a/src/app/src/androidTest/java/com/uphold/uphold_android_sdk/test/integration/client/restadapter/UpholdRestAdapterTest.java b/src/app/src/androidTest/java/com/uphold/uphold_android_sdk/test/integration/client/restadapter/UpholdRestAdapterTest.java index f57b0a0..2653b76 100644 --- a/src/app/src/androidTest/java/com/uphold/uphold_android_sdk/test/integration/client/restadapter/UpholdRestAdapterTest.java +++ b/src/app/src/androidTest/java/com/uphold/uphold_android_sdk/test/integration/client/restadapter/UpholdRestAdapterTest.java @@ -62,7 +62,7 @@ public Promise 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.2.0 (https://github.com/uphold/uphold-sdk-android)"))); + Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.2.1 (https://github.com/uphold/uphold-sdk-android)"))); } @Test @@ -83,7 +83,7 @@ public Promise 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.2.0 (https://github.com/uphold/uphold-sdk-android)"))); + Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.2.1 (https://github.com/uphold/uphold-sdk-android)"))); } @Test @@ -104,7 +104,7 @@ public Promise 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.2.0 (https://github.com/uphold/uphold-sdk-android)"))); + Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.2.1 (https://github.com/uphold/uphold-sdk-android)"))); } }