Skip to content

Commit ba1af8c

Browse files
authored
Merge pull request #170 from gocardless/template-changes
Changes from gocardless/client-library-templates
2 parents d563866 + a684706 commit ba1af8c

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ With Maven:
1414
<dependency>
1515
<groupId>com.gocardless</groupId>
1616
<artifactId>gocardless-pro</artifactId>
17-
<version>8.1.0</version>
17+
<version>8.2.0</version>
1818
</dependency>
1919
```
2020

2121
With Gradle:
2222

2323
```
24-
implementation 'com.gocardless:gocardless-pro:8.1.0'
24+
implementation 'com.gocardless:gocardless-pro:8.2.0'
2525
```
2626

2727
## Initializing the client

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ plugins {
2929
sourceCompatibility = 1.8
3030
targetCompatibility = 1.8
3131
group = 'com.gocardless'
32-
version = '8.1.0'
32+
version = '8.2.0'
3333

3434
apply plugin: 'ch.raffael.pegdown-doclet'
3535

src/main/java/com/gocardless/http/HttpClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class HttpClient {
3535
private static final String DISALLOWED_USER_AGENT_CHARACTERS =
3636
"[^\\w!#$%&'\\*\\+\\-\\.\\^`\\|~]";
3737
private static final String USER_AGENT =
38-
String.format("gocardless-pro-java/8.1.0 java/%s %s/%s %s/%s",
38+
String.format("gocardless-pro-java/8.2.0 java/%s %s/%s %s/%s",
3939
cleanUserAgentToken(System.getProperty("java.vm.specification.version")),
4040
cleanUserAgentToken(System.getProperty("java.vm.name")),
4141
cleanUserAgentToken(System.getProperty("java.version")),
@@ -49,7 +49,7 @@ public class HttpClient {
4949
builder.put("GoCardless-Version", "2015-07-06");
5050
builder.put("Accept", "application/json");
5151
builder.put("GoCardless-Client-Library", "gocardless-pro-java");
52-
builder.put("GoCardless-Client-Version", "8.1.0");
52+
builder.put("GoCardless-Client-Version", "8.2.0");
5353
HEADERS = builder.build();
5454
}
5555
private final OkHttpClient rawClient;

0 commit comments

Comments
 (0)