Skip to content

Commit

Permalink
Bump to 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Sep 15, 2016
1 parent 11afde4 commit e12b680
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
28 changes: 14 additions & 14 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ Downloading https://services.gradle.org/distributions/gradle-2.5-bin.zip
BUILD SUCCESSFUL
...
$ ls build/libs/
[2015-11-27 19:44:07 PST] 6.6MiB minio-2.0.1-all.jar
[2015-11-27 19:43:59 PST] 182KiB minio-2.0.1-javadoc.jar
[2015-11-27 19:44:08 PST] 53KiB minio-2.0.1-sources.jar
[2015-11-27 19:43:47 PST] 64KiB minio-2.0.1.jar
[2015-11-27 19:44:07 PST] 6.6MiB minio-2.0.2-all.jar
[2015-11-27 19:43:59 PST] 182KiB minio-2.0.2-javadoc.jar
[2015-11-27 19:44:08 PST] 53KiB minio-2.0.2-sources.jar
[2015-11-27 19:43:47 PST] 64KiB minio-2.0.2.jar
$ cd minio-java/examples
$ cp ../build/libs/minio-2.0.1-all.jar .
$ cp ../build/libs/minio-2.0.2-all.jar .
[ edit ListBuckets.java ]
$ javac -cp 'minio-2.0.1-all.jar' ListBuckets.java
$ java -cp '.:minio-2.0.1-all.jar' ListBuckets
$ javac -cp 'minio-2.0.2-all.jar' ListBuckets.java
$ java -cp '.:minio-2.0.2-all.jar' ListBuckets
bucket1
bucket2
....
Expand All @@ -46,15 +46,15 @@ Downloading https://services.gradle.org/distributions/gradle-2.5-bin.zip
BUILD SUCCESSFUL
C:\minio-java\> dir build\libs\
[2015-11-27 19:44:07 PST] 6.6MiB minio-2.0.1-all.jar
[2015-11-27 19:43:59 PST] 182KiB minio-2.0.1-javadoc.jar
[2015-11-27 19:44:08 PST] 53KiB minio-2.0.1-sources.jar
[2015-11-27 19:43:47 PST] 64KiB minio-2.0.1.jar
[2015-11-27 19:44:07 PST] 6.6MiB minio-2.0.2-all.jar
[2015-11-27 19:43:59 PST] 182KiB minio-2.0.2-javadoc.jar
[2015-11-27 19:44:08 PST] 53KiB minio-2.0.2-sources.jar
[2015-11-27 19:43:47 PST] 64KiB minio-2.0.2.jar
C:\minio-java\examples> cd minio-java/examples
C:\minio-java\examples> mv ..\build\libs\minio-2.0.1-all.jar .
C:\minio-java\examples> mv ..\build\libs\minio-2.0.2-all.jar .
[ edit ListBuckets.java ]
C:\minio-java\examples> javac -cp 'minio-2.0.1-all.jar' ListBuckets.java
C:\minio-java\examples> java -cp '.:minio-2.0.1-all.jar' ListBuckets
C:\minio-java\examples> javac -cp 'minio-2.0.2-all.jar' ListBuckets.java
C:\minio-java\examples> java -cp '.:minio-2.0.2-all.jar' ListBuckets
bucket1
bucket2
....
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This document assumes that you have one of the following Java Environments setup
<dependency>
<groupId>io.minio</groupId>
<artifactId>minio</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
</dependency>

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

dependencies {
compile 'io.minio:minio:2.0.1'
compile 'io.minio:minio:2.0.2'
}

```

## Download from JAR

You can download the latest [JAR](http://repo1.maven.org/maven2/io/minio/minio/2.0.1/) directly from maven.
You can download the latest [JAR](http://repo1.maven.org/maven2/io/minio/minio/2.0.2/) directly from maven.

## Quick Start Example - File Uploader
This example program connects to an object storage server, makes a bucket on the server and then uploads a file to the bucket.
Expand Down Expand Up @@ -102,15 +102,15 @@ public class FileUploader {

```sh

$ javac -cp "minio-2.0.1.jar" FileUploader.java
$ javac -cp "minio-2.0.2.jar" FileUploader.java

```

#### Run FileUploader

```sh

$ java -cp "minio-2.0.1.jar" FileUploader.java
$ java -cp "minio-2.0.2.jar" FileUploader.java
/tmp/asiaphotos.zip is successfully uploaded as asiaphotos.zip in asiatrip bucket.

$ mc ls play/asiatrip/
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if (project.properties.containsKey('ossrhPassword')) {

group = 'io.minio'
archivesBaseName = 'minio'
version = '2.0.1'
version = '2.0.2'

sourceCompatibility = 1.7
targetCompatibility = 1.7
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/minio/MinioClientTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class MinioClientTest {
public void setUserAgentOnceSet() throws IOException, MinioException {
String expectedHost = "example.com";
MinioClient client = new MinioClient("http://" + expectedHost + "/");
client.setAppInfo("testApp", "2.0.1");
client.setAppInfo("testApp", "2.0.2");
}

@Test(expected = MinioException.class)
Expand Down

0 comments on commit e12b680

Please sign in to comment.