Skip to content

Commit

Permalink
Release to v1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
JessYanCoding committed Jul 14, 2017
1 parent 14a8458 commit 5173c43
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README-zh.md
@@ -1,5 +1,5 @@
# ProgressManager
[ ![Bintray](https://img.shields.io/badge/bintray-v1.3.1-brightgreen.svg) ](https://bintray.com/jessyancoding/maven/progressmanager/1.3.1/link)
[ ![Bintray](https://img.shields.io/badge/bintray-v1.3.3-brightgreen.svg) ](https://bintray.com/jessyancoding/maven/progressmanager/1.3.3/link)
[ ![Build Status](https://travis-ci.org/JessYanCoding/ProgressManager.svg?branch=master) ](https://travis-ci.org/JessYanCoding/ProgressManager)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-ProgressManager-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/5865)
[ ![API](https://img.shields.io/badge/API-14%2B-blue.svg?style=flat-square) ](https://developer.android.com/about/versions/android-4.0.html)
Expand Down Expand Up @@ -31,7 +31,7 @@

## Download
``` gradle
compile 'me.jessyan:progressmanager:1.3.1'
compile 'me.jessyan:progressmanager:1.3.3'
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions README.md
@@ -1,5 +1,5 @@
# ProgressManager
[ ![Bintray](https://img.shields.io/badge/bintray-v1.3.1-brightgreen.svg) ](https://bintray.com/jessyancoding/maven/progressmanager/1.3.1/link)
[ ![Bintray](https://img.shields.io/badge/bintray-v1.3.3-brightgreen.svg) ](https://bintray.com/jessyancoding/maven/progressmanager/1.3.3/link)
[ ![Build Status](https://travis-ci.org/JessYanCoding/ProgressManager.svg?branch=master) ](https://travis-ci.org/JessYanCoding/ProgressManager)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-ProgressManager-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/5865)
[ ![API](https://img.shields.io/badge/API-14%2B-blue.svg?style=flat-square) ](https://developer.android.com/about/versions/android-4.0.html)
Expand Down Expand Up @@ -30,7 +30,7 @@

## Download
``` gradle
compile 'me.jessyan:progressmanager:1.3.1'
compile 'me.jessyan:progressmanager:1.3.3'
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Expand Up @@ -26,9 +26,9 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.squareup.okhttp3:okhttp:3.8.0'
compile 'com.squareup.okhttp3:okhttp:3.8.1'
compile 'com.github.bumptech.glide:glide:3.8.0'
compile 'com.github.bumptech.glide:okhttp3-integration:1.4.0@aar'
compile project(':progress')
// compile 'me.jessyan:progressmanager:1.3.1'
// compile 'me.jessyan:progressmanager:1.3.3'
}
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -25,6 +25,6 @@ ext {
targetSdkVersion = 25
compileSdkVersion = 25
buildToolsVersion = "25.0.3"
versionCode = 14
versionName = "1.3.1"
versionCode = 16
versionName = "1.3.3"
}
2 changes: 1 addition & 1 deletion progress/build.gradle
Expand Up @@ -27,7 +27,7 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
provided 'com.squareup.okhttp3:okhttp:3.8.0'
provided 'com.squareup.okhttp3:okhttp:3.8.1'
}

apply from: 'bintray.gradle'
Expand Up @@ -206,6 +206,8 @@ public Response wrapResponseBody(Response response) {
*/
private boolean haveRedirect(Response response) {
String status = response.header("Status");
if (TextUtils.isEmpty(status))
return false;
if (status.contains("301") || status.contains("302") || status.contains("303") || status.contains("307")) {
return true;
}
Expand Down

0 comments on commit 5173c43

Please sign in to comment.