Skip to content

Commit 054a48d

Browse files
committed
Version bump 2.1.1
1 parent d2e2482 commit 054a48d

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ apply plugin: 'maven'
1717
apply plugin: 'signing'
1818

1919
group = 'com.sendgrid'
20-
version = '2.1.0'
20+
version = '2.1.1'
2121
ext.packaging = 'jar'
2222

2323
allprojects {

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<groupId>com.sendgrid</groupId>
1010
<artifactId>sendgrid-java</artifactId>
1111
<name>SendGrid Java helper library</name>
12-
<version>2.1.0</version>
12+
<version>2.1.1</version>
1313
<description>This Java module allows you to quickly and easily send emails through SendGrid using Java.</description>
1414
<url>https://github.com/sendgrid/sendgrid-java</url>
1515
<licenses>

src/main/java/com/sendgrid/SendGrid.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.apache.http.entity.ContentType;
2727

2828
public class SendGrid {
29-
private static final String VERSION = "2.1.0";
29+
private static final String VERSION = "2.1.1";
3030
private static final String USER_AGENT = "sendgrid/" + VERSION + ";java";
3131

3232
private static final String PARAM_TO = "to[%d]";

src/test/java/com/sendgrid/SendGridTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ public class SendGridTest {
1212
private static final String USERNAME = "USERNAME";
1313
private static final String PASSWORD = "PASSWORD";
1414

15+
@Test public void testVersion() {
16+
SendGrid client = new SendGrid(USERNAME, PASSWORD);
17+
assertEquals(client.getVersion(), "2.1.1");
18+
}
19+
1520
@Test public void testAddTo() {
1621
email = new SendGrid.Email();
1722

0 commit comments

Comments
 (0)