Skip to content

Commit

Permalink
Bump to v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Apr 9, 2016
1 parent ba3cf27 commit ce2a5ed
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 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-1.0.1-all.jar
[2015-11-27 19:43:59 PST] 182KiB minio-1.0.1-javadoc.jar
[2015-11-27 19:44:08 PST] 53KiB minio-1.0.1-sources.jar
[2015-11-27 19:43:47 PST] 64KiB minio-1.0.1.jar
[2015-11-27 19:44:07 PST] 6.6MiB minio-1.0.2-all.jar
[2015-11-27 19:43:59 PST] 182KiB minio-1.0.2-javadoc.jar
[2015-11-27 19:44:08 PST] 53KiB minio-1.0.2-sources.jar
[2015-11-27 19:43:47 PST] 64KiB minio-1.0.2.jar
$ cd minio-java/examples
$ cp ../build/libs/minio-1.0.1-all.jar .
$ cp ../build/libs/minio-1.0.2-all.jar .
[ edit ListBuckets.java ]
$ javac -cp 'minio-1.0.1-all.jar' ListBuckets.java
$ java -cp '.:minio-1.0.1-all.jar' ListBuckets
$ javac -cp 'minio-1.0.2-all.jar' ListBuckets.java
$ java -cp '.:minio-1.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-1.0.1-all.jar
[2015-11-27 19:43:59 PST] 182KiB minio-1.0.1-javadoc.jar
[2015-11-27 19:44:08 PST] 53KiB minio-1.0.1-sources.jar
[2015-11-27 19:43:47 PST] 64KiB minio-1.0.1.jar
[2015-11-27 19:44:07 PST] 6.6MiB minio-1.0.2-all.jar
[2015-11-27 19:43:59 PST] 182KiB minio-1.0.2-javadoc.jar
[2015-11-27 19:44:08 PST] 53KiB minio-1.0.2-sources.jar
[2015-11-27 19:43:47 PST] 64KiB minio-1.0.2.jar
C:\minio-java\examples> cd minio-java/examples
C:\minio-java\examples> mv ..\build\libs\minio-1.0.1-all.jar .
C:\minio-java\examples> mv ..\build\libs\minio-1.0.2-all.jar .
[ edit ListBuckets.java ]
C:\minio-java\examples> javac -cp 'minio-1.0.1-all.jar' ListBuckets.java
C:\minio-java\examples> java -cp '.:minio-1.0.1-all.jar' ListBuckets
C:\minio-java\examples> javac -cp 'minio-1.0.2-all.jar' ListBuckets.java
C:\minio-java\examples> java -cp '.:minio-1.0.2-all.jar' ListBuckets
bucket1
bucket2
....
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
<dependency>
<groupId>io.minio</groupId>
<artifactId>minio</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</dependency>
```

## Download from gradle

```gradle
dependencies {
compile 'io.minio:minio:1.0.1'
compile 'io.minio:minio:1.0.2'
}
```

## Download from JAR

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

## Example
```java
Expand Down Expand Up @@ -82,16 +82,16 @@ public class HelloListBuckets {

Simply edit the example java program to include your access credentials and follow the steps below.

NOTE: `minio-1.0.1-all.jar` includes all the necessary dependencies to run these examples.
NOTE: `minio-1.0.2-all.jar` includes all the necessary dependencies to run these examples.

```bash
$ sudo apt-get install openjdk-7-jdk
$ git clone https://github.com/minio/minio-java
$ cd minio-java
[edit examples/ListBuckets.java]
$ cd minio-java/examples; wget http://repo1.maven.org/maven2/io/minio/minio/1.0.1/minio-1.0.1-all.jar;
$ javac -cp 'minio-1.0.1-all.jar' ListBuckets.java
$ java -cp '.:minio-1.0.1-all.jar' ListBuckets
$ cd minio-java/examples; wget http://repo1.maven.org/maven2/io/minio/minio/1.0.2/minio-1.0.2-all.jar;
$ javac -cp 'minio-1.0.2-all.jar' ListBuckets.java
$ java -cp '.:minio-1.0.2-all.jar' ListBuckets
bucket1
bucket2
....
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if (project.properties.containsKey('ossrhPassword')) {

group = 'io.minio'
archivesBaseName = 'minio'
version = '1.0.1'
version = '1.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 @@ -54,7 +54,7 @@ public class MinioClientTest {
public void setUserAgentOnceSet() throws IOException, MinioException {
String expectedHost = "example.com";
MinioClient client = new MinioClient("http://" + expectedHost + "/");
client.setAppInfo("testApp", "1.0.1");
client.setAppInfo("testApp", "1.0.2");
}

@Test(expected = MinioException.class)
Expand Down

0 comments on commit ce2a5ed

Please sign in to comment.