Skip to content

Commit e10ca07

Browse files
committed
Upload to v0.4.1
* Upload version number * Fix example import * Updat readme
1 parent 35b0437 commit e10ca07

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For a real case example read my post at medium [RxFlux Android Architecture](htt
2929
## Gradle:
3030
```
3131
dependencies {
32-
compile 'com.hardsoftstudio:rxflux:0.3.2'
32+
compile 'com.hardsoftstudio:rxflux:0.4.1'
3333
}
3434
```
3535

app/src/main/java/com/hardsoftstudio/rxflux/sample/core/GitHubApi.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
import com.hardsoftstudio.rxflux.sample.model.GitHubRepo;
44
import com.hardsoftstudio.rxflux.sample.model.GitUser;
55
import java.util.ArrayList;
6-
76
import okhttp3.OkHttpClient;
87
import okhttp3.logging.HttpLoggingInterceptor;
9-
import retrofit2.GsonConverterFactory;
108
import retrofit2.Retrofit;
11-
import retrofit2.RxJavaCallAdapterFactory;
9+
import retrofit2.adapter.rxjava.RxJavaCallAdapterFactory;
10+
import retrofit2.converter.gson.GsonConverterFactory;
1211
import retrofit2.http.GET;
1312
import retrofit2.http.Path;
1413
import rx.Observable;
@@ -33,7 +32,11 @@ private static void create() {
3332
HttpLoggingInterceptor interceptor = new HttpLoggingInterceptor();
3433
interceptor.setLevel(HttpLoggingInterceptor.Level.BASIC);
3534

36-
final Retrofit retrofit = new Retrofit.Builder().baseUrl(GitHubApi.ENDPOINT).client(client).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJavaCallAdapterFactory.create()).build();
35+
final Retrofit retrofit = new Retrofit.Builder()
36+
.baseUrl(GitHubApi.ENDPOINT)
37+
.client(client)
38+
.addConverterFactory(GsonConverterFactory.create())
39+
.addCallAdapterFactory(RxJavaCallAdapterFactory.create()).build();
3740
instance = retrofit.create(GitHubApi.class);
3841
}
3942

rxflux/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'com.github.dcendents.android-maven'
33
apply plugin: 'com.jfrog.bintray'
44

55
// This is the library version used when deploying the artifact
6-
version = "0.4.0"
6+
version = "0.4.1"
77
group = "com.hardsoftstudio" // Maven Group ID for the artifact
88

99
android {
@@ -44,7 +44,7 @@ android {
4444
dependencies {
4545
compile 'io.reactivex:rxandroid:1.0.1'
4646
compile 'io.reactivex:rxjava:1.0.14'
47-
compile 'com.android.support:support-v4:23.3.0'
47+
compile 'com.android.support:support-v4:23.4.0'
4848

4949
testCompile 'junit:junit:4.12'
5050
testCompile "org.mockito:mockito-core:1.10.17"

rxflux/rxflux.iml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<module external.linked.project.id=":rxflux" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="com.hardsoftstudio" external.system.module.version="0.4.0" type="JAVA_MODULE" version="4">
2+
<module external.linked.project.id=":rxflux" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="com.hardsoftstudio" external.system.module.version="0.4.1" type="JAVA_MODULE" version="4">
33
<component name="FacetManager">
44
<facet type="android-gradle" name="Android-Gradle">
55
<configuration>
@@ -103,13 +103,13 @@
103103
</content>
104104
<orderEntry type="jdk" jdkName="Android API 23 Platform" jdkType="Android SDK" />
105105
<orderEntry type="sourceFolder" forTests="false" />
106-
<orderEntry type="library" exported="" name="rxjava-1.0.14" level="project" />
107-
<orderEntry type="library" exported="" name="support-v4-23.3.0" level="project" />
106+
<orderEntry type="library" exported="" name="support-annotations-23.4.0" level="project" />
108107
<orderEntry type="library" exported="" scope="TEST" name="hamcrest-core-1.3" level="project" />
109-
<orderEntry type="library" exported="" scope="TEST" name="mockito-core-1.10.17" level="project" />
108+
<orderEntry type="library" exported="" name="rxjava-1.0.14" level="project" />
109+
<orderEntry type="library" exported="" name="support-v4-23.4.0" level="project" />
110110
<orderEntry type="library" exported="" scope="TEST" name="junit-4.12" level="project" />
111+
<orderEntry type="library" exported="" scope="TEST" name="mockito-core-1.10.17" level="project" />
111112
<orderEntry type="library" exported="" name="rxandroid-1.0.1" level="project" />
112-
<orderEntry type="library" exported="" name="support-annotations-23.3.0" level="project" />
113113
<orderEntry type="library" exported="" scope="TEST" name="objenesis-2.1" level="project" />
114114
</component>
115115
</module>

0 commit comments

Comments
 (0)