Skip to content

Commit

Permalink
update version 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ifedapoolarewaju committed Jul 18, 2019
1 parent eda87d9 commit 1a83597
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 0.0.3 / 2018-07-18 ###

* Update dependency

### 0.0.2 / 2018-04-07 ###

* Initial release
4 changes: 2 additions & 2 deletions transloadit-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'

group 'com.transloadit.android.sdk'
version = '0.0.2'
version = '0.0.3'
description = "An Android Integration of the Transloadit's(https://transloadit.com) file uploading and encoding service."

android {
Expand All @@ -30,7 +30,7 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.transloadit.sdk:transloadit:0.1.0'
compile 'com.transloadit.sdk:transloadit:0.1.5'
compile 'io.tus.android.client:tus-android-client:0.1.5'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.+'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void testSave() throws Exception {
assembly.addFile(new File(getClass().getClassLoader().getResource("assembly.json").getFile()), "file_name");
AssemblyResponse resumableAssembly = assembly.save();

assertEquals(resumableAssembly.json().get("id"), "76fe5df1c93a0a530f3e583805cf98b4");
assertEquals(resumableAssembly.json().get("assembly_id"), "76fe5df1c93a0a530f3e583805cf98b4");
assertTrue(uploadFinished);
assertTrue(assemblyFinished);
assertEquals(1077, totalUploaded);
Expand Down
10 changes: 8 additions & 2 deletions transloadit-android/src/test/resources/assembly.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"id": "76fe5df1c93a0a530f3e583805cf98b4",
"status_endpoint": "http://localhost:9040/assemblies/76fe5df1c93a0a530f3e583805cf98b4"
"ok": "ASSEMBLY_UPLOADING",
"http_code": 200,
"message": "The assembly is still in the process of being uploaded.",
"assembly_id": "76fe5df1c93a0a530f3e583805cf98b4",
"instance": "dara.transloadit.com",
"assembly_url": "http://localhost:9040/assemblies/76fe5df1c93a0a530f3e583805cf98b4",
"assembly_ssl_url": "http://localhost:9040/assemblies/76fe5df1c93a0a530f3e583805cf98b4",
"tus_url": "http://localhost:9040/resumable/files"
}

0 comments on commit 1a83597

Please sign in to comment.