Skip to content

Commit 10ae761

Browse files
committed
Bump to 2.0.4
1 parent 1284591 commit 10ae761

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

CONTRIBUTING.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ Downloading https://services.gradle.org/distributions/gradle-2.5-bin.zip
1717
BUILD SUCCESSFUL
1818
...
1919
$ ls build/libs/
20-
[2015-11-27 19:44:07 PST] 6.6MiB minio-2.0.3-all.jar
21-
[2015-11-27 19:43:59 PST] 182KiB minio-2.0.3-javadoc.jar
22-
[2015-11-27 19:44:08 PST] 53KiB minio-2.0.3-sources.jar
23-
[2015-11-27 19:43:47 PST] 64KiB minio-2.0.3.jar
20+
[2015-11-27 19:44:07 PST] 6.6MiB minio-2.0.4-all.jar
21+
[2015-11-27 19:43:59 PST] 182KiB minio-2.0.4-javadoc.jar
22+
[2015-11-27 19:44:08 PST] 53KiB minio-2.0.4-sources.jar
23+
[2015-11-27 19:43:47 PST] 64KiB minio-2.0.4.jar
2424
$ cd minio-java/examples
25-
$ cp ../build/libs/minio-2.0.3-all.jar .
25+
$ cp ../build/libs/minio-2.0.4-all.jar .
2626
[ edit ListBuckets.java ]
27-
$ javac -cp 'minio-2.0.3-all.jar' ListBuckets.java
28-
$ java -cp '.:minio-2.0.3-all.jar' ListBuckets
27+
$ javac -cp 'minio-2.0.4-all.jar' ListBuckets.java
28+
$ java -cp '.:minio-2.0.4-all.jar' ListBuckets
2929
bucket1
3030
bucket2
3131
....
@@ -46,15 +46,15 @@ Downloading https://services.gradle.org/distributions/gradle-2.5-bin.zip
4646
BUILD SUCCESSFUL
4747
4848
C:\minio-java\> dir build\libs\
49-
[2015-11-27 19:44:07 PST] 6.6MiB minio-2.0.3-all.jar
50-
[2015-11-27 19:43:59 PST] 182KiB minio-2.0.3-javadoc.jar
51-
[2015-11-27 19:44:08 PST] 53KiB minio-2.0.3-sources.jar
52-
[2015-11-27 19:43:47 PST] 64KiB minio-2.0.3.jar
49+
[2015-11-27 19:44:07 PST] 6.6MiB minio-2.0.4-all.jar
50+
[2015-11-27 19:43:59 PST] 182KiB minio-2.0.4-javadoc.jar
51+
[2015-11-27 19:44:08 PST] 53KiB minio-2.0.4-sources.jar
52+
[2015-11-27 19:43:47 PST] 64KiB minio-2.0.4.jar
5353
C:\minio-java\examples> cd minio-java/examples
54-
C:\minio-java\examples> mv ..\build\libs\minio-2.0.3-all.jar .
54+
C:\minio-java\examples> mv ..\build\libs\minio-2.0.4-all.jar .
5555
[ edit ListBuckets.java ]
56-
C:\minio-java\examples> javac -cp 'minio-2.0.3-all.jar' ListBuckets.java
57-
C:\minio-java\examples> java -cp '.:minio-2.0.3-all.jar' ListBuckets
56+
C:\minio-java\examples> javac -cp 'minio-2.0.4-all.jar' ListBuckets.java
57+
C:\minio-java\examples> java -cp '.:minio-2.0.4-all.jar' ListBuckets
5858
bucket1
5959
bucket2
6060
....

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This document assumes that you have one of the following Java Environments setup
1616
<dependency>
1717
<groupId>io.minio</groupId>
1818
<artifactId>minio</artifactId>
19-
<version>2.0.3</version>
19+
<version>2.0.4</version>
2020
</dependency>
2121

2222
```
@@ -26,14 +26,14 @@ This document assumes that you have one of the following Java Environments setup
2626
```xml
2727

2828
dependencies {
29-
compile 'io.minio:minio:2.0.3'
29+
compile 'io.minio:minio:2.0.4'
3030
}
3131

3232
```
3333

3434
## Download from JAR
3535

36-
You can download the latest [JAR](http://repo1.maven.org/maven2/io/minio/minio/2.0.3/) directly from maven.
36+
You can download the latest [JAR](http://repo1.maven.org/maven2/io/minio/minio/2.0.4/) directly from maven.
3737

3838
## Quick Start Example - File Uploader
3939
This example program connects to an object storage server, makes a bucket on the server and then uploads a file to the bucket.
@@ -87,8 +87,8 @@ public class FileUploader {
8787
}
8888

8989
// Upload the zip file to the bucket with putObject
90-
minioClient.putObject("asiatrip","asiaphotos.zip", "/tmp/asiaphotos.zip");
91-
System.out.println("/tmp/asiaphotos.zip is successfully uploaded as asiaphotos.zip in asiatrip bucket.");
90+
minioClient.putObject("asiatrip","asiaphotos.zip", "/home/user/Photos/asiaphotos.zip");
91+
System.out.println("/home/user/Photos/asiaphotos.zip is successfully uploaded as asiaphotos.zip to `asiatrip` bucket.");
9292
} catch(MinioException e) {
9393
System.out.println("Error occurred: " + e);
9494
}
@@ -102,16 +102,16 @@ public class FileUploader {
102102

103103
```sh
104104

105-
$ javac -cp "minio-2.0.3.jar" FileUploader.java
105+
$ javac -cp "minio-2.0.4-all.jar" FileUploader.java
106106

107107
```
108108

109109
#### Run FileUploader
110110

111111
```sh
112112

113-
$ java -cp "minio-2.0.3.jar:." FileUploader
114-
/tmp/asiaphotos.zip is successfully uploaded as asiaphotos.zip in asiatrip bucket.
113+
$ java -cp "minio-2.0.4-all.jar:." FileUploader
114+
/home/user/Photos/asiaphotos.zip is successfully uploaded as asiaphotos.zip to `asiatrip` bucket.
115115

116116
$ mc ls play/asiatrip/
117117
[2016-06-02 18:10:29 PDT] 82KiB asiaphotos.zip

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if (project.properties.containsKey('ossrhPassword')) {
5050

5151
group = 'io.minio'
5252
archivesBaseName = 'minio'
53-
version = '2.0.3'
53+
version = '2.0.4'
5454

5555
sourceCompatibility = 1.7
5656
targetCompatibility = 1.7

src/test/java/io/minio/MinioClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public class MinioClientTest {
7373
public void setUserAgentOnceSet() throws IOException, MinioException {
7474
String expectedHost = "example.com";
7575
MinioClient client = new MinioClient("http://" + expectedHost + "/");
76-
client.setAppInfo("testApp", "2.0.3");
76+
client.setAppInfo("testApp", "2.0.4");
7777
}
7878

7979
@Test(expected = MinioException.class)

0 commit comments

Comments
 (0)