File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed
Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ apply plugin: 'maven'
1717apply plugin : ' signing'
1818
1919group = ' com.sendgrid'
20- version = ' 2.1.0 '
20+ version = ' 2.1.1 '
2121ext. packaging = ' jar'
2222
2323allprojects {
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 2626import org .apache .http .entity .ContentType ;
2727
2828public 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]" ;
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments