diff --git a/README.md b/README.md index 71be8178..b1482614 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ you will also need to download the Components JAR and include it in your build f ### Gradle ```groovy -compile 'com.constantcontact:java-sdk:5.0.4' +compile 'com.constantcontact:java-sdk:5.1.1' ``` ### Maven @@ -54,7 +54,7 @@ compile 'com.constantcontact:java-sdk:5.0.4' com.constantcontact java-sdk - 5.0.4 + 5.1.1 ``` diff --git a/gradle.properties b/gradle.properties index a1f2d300..e3175ec2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,4 +2,4 @@ org.gradle.daemon=true VERSION_MAJOR=5 VERSION_MINOR=1 -VERSION_PATCH=0 +VERSION_PATCH=1 diff --git a/lib-rx/src/main/java/com/constantcontact/v2/CCApiInterceptor.java b/lib-rx/src/main/java/com/constantcontact/v2/CCApiInterceptor.java index 1b3bed79..0c054f49 100755 --- a/lib-rx/src/main/java/com/constantcontact/v2/CCApiInterceptor.java +++ b/lib-rx/src/main/java/com/constantcontact/v2/CCApiInterceptor.java @@ -30,7 +30,7 @@ public Response intercept(Chain chain) throws IOException { .addHeader("Authorization", "Bearer " + _token) .addHeader("Content-Type", "application/json") .addHeader("User-Agent", - "Constant Contact Java Library v5.0.1") // TODO: Add version # dynamically + "Constant Contact Java Library v5.1.1") // TODO: Add version # dynamically .build(); return chain.proceed(newRequest); } diff --git a/lib/src/main/java/com/constantcontact/v2/CCApiInterceptor.java b/lib/src/main/java/com/constantcontact/v2/CCApiInterceptor.java index dbe49670..0c054f49 100644 --- a/lib/src/main/java/com/constantcontact/v2/CCApiInterceptor.java +++ b/lib/src/main/java/com/constantcontact/v2/CCApiInterceptor.java @@ -1,12 +1,12 @@ package com.constantcontact.v2; -import java.io.IOException; - import okhttp3.HttpUrl; import okhttp3.Interceptor; import okhttp3.Request; import okhttp3.Response; +import java.io.IOException; + class CCApiInterceptor implements Interceptor { private final String _apiKey; @@ -30,7 +30,7 @@ public Response intercept(Chain chain) throws IOException { .addHeader("Authorization", "Bearer " + _token) .addHeader("Content-Type", "application/json") .addHeader("User-Agent", - "Constant Contact Java Library v5.0.1") // TODO: Add version # dynamically + "Constant Contact Java Library v5.1.1") // TODO: Add version # dynamically .build(); return chain.proceed(newRequest); }