Skip to content

Commit 76c13ba

Browse files
committed
📦 release 2.6.1. fix 🐛 danikula#87 : work with Arabic locale
1 parent b94e829 commit 76c13ba

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ repositories {
3636
jcenter()
3737
}
3838
dependencies {
39-
compile 'com.danikula:videocache:2.6.0'
39+
compile 'com.danikula:videocache:2.6.1'
4040
}
4141
```
4242

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
mavenCentral()
44
}
55
dependencies {
6-
classpath 'com.android.tools.build:gradle:2.1.2'
6+
classpath 'com.android.tools.build:gradle:2.1.3'
77
}
88
}
99

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Apr 10 15:27:10 PDT 2013
1+
#Mon Sep 05 18:06:17 MSK 2016
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ publish {
2929
userOrg = 'alexeydanilov'
3030
groupId = 'com.danikula'
3131
artifactId = 'videocache'
32-
publishVersion = '2.6.0'
32+
publishVersion = '2.6.1'
3333
description = 'Cache support for android VideoView'
3434
website = 'https://github.com/danikula/AndroidVideoCache'
3535
}

library/src/main/java/com/danikula/videocache/HttpProxyCacheServer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import java.net.Socket;
2121
import java.net.SocketException;
2222
import java.util.Arrays;
23+
import java.util.Locale;
2324
import java.util.Map;
2425
import java.util.concurrent.Callable;
2526
import java.util.concurrent.ConcurrentHashMap;
@@ -141,7 +142,7 @@ public String getProxyUrl(String url) {
141142
}
142143

143144
private String appendToProxyUrl(String url) {
144-
return String.format("http://%s:%d/%s", PROXY_HOST, port, ProxyCacheUtils.encode(url));
145+
return String.format(Locale.US, "http://%s:%d/%s", PROXY_HOST, port, ProxyCacheUtils.encode(url));
145146
}
146147

147148
public void registerCacheListener(CacheListener cacheListener, String url) {

sample/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies {
3838
// compile project(':library')
3939
compile 'com.android.support:support-v4:23.1.0'
4040
compile 'org.androidannotations:androidannotations-api:3.3.2'
41-
compile 'com.danikula:videocache:2.6.0'
41+
compile 'com.danikula:videocache:2.6.1'
4242
compile 'com.viewpagerindicator:library:2.4.2-SNAPSHOT@aar'
4343
apt 'org.androidannotations:androidannotations:3.3.2'
4444
}

0 commit comments

Comments
 (0)