Skip to content

Commit 22d5d09

Browse files
version 1.1.0 release
1 parent 05bbb6e commit 22d5d09

File tree

6 files changed

+23
-15
lines changed

6 files changed

+23
-15
lines changed

examples/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ dependencies {
1616
testCompile group: 'junit', name: 'junit', version: '4.12'
1717
compile 'com.fasterxml.jackson.core:jackson-core:2.11.0'
1818
compile 'com.fasterxml.jackson.core:jackson-databind:2.11.0'
19-
compile group: 'com.socketlabs', name: 'injectionApi', version: '1.1.0-SNAPSHOT'
19+
compile group: 'com.socketlabs', name: 'injectionApi', version: '1.1.0'
2020
}

examples/src/main/java/examples/basic/BasicSendComplexExample.java

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,17 @@ public SendResponse RunExample() throws Exception {
2727

2828
message.setSubject("Sending A Complex Test Message (Basic Send)");
2929

30-
message.setHtmlBody("<html><body><h1>Sending A Complex Test Message</h1><p>This is the html Body of my message.</p><h2>Embedded Image:</h2><p><img src=\"cid:bus\" /></p></body></html>");
30+
message.setHtmlBody("<html>" +
31+
"<body>" +
32+
" <h1>Sending A Complex Test Message</h1>" +
33+
" <p>This is the html Body of my message.</p>" +
34+
" <h2>Embedded Image:</h2>" +
35+
" <p><img src=\"cid:bus\" /></p>" +
36+
"</body>" +
37+
"</html>");
38+
3139
message.setPlainTextBody("This is the Plain Text Body of my message.");
3240

33-
//Setting Amp Body
3441
message.setAmpBody("<!doctype html>" +
3542
"<html amp4email>" +
3643
"<head>" +

injectionApi/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ uploadArchives {
6565
MavenDeployment deployment -> signing.signPom(deployment)
6666
}
6767
repository(url: localRepoUrl)
68+
6869
/*
6970
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2") {
7071
authentication(userName: sonatypeUsername, password: sonatypePassword)

injectionApi/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.socketlabs</groupId>
66
<artifactId>injectionApi</artifactId>
7-
<version>1.1.0-SNAPSHOT</version>
7+
<version>1.1.0</version>
88
<name>socketlabs-java</name>
99
<description>SocketLabs Email Delivery Java library</description>
1010
<url>https://github.com/socketlabs/socketlabs-java/</url>
@@ -23,15 +23,15 @@
2323
<id>david-schrenker</id>
2424
<name>David Schrenker</name>
2525
<email>[email protected]</email>
26-
<organization>org.apache.maven.model.Organization@749a2ed</organization>
26+
<organization>org.apache.maven.model.Organization@15ba5d1c</organization>
2727
<roles>
2828
<role>Developer</role>
2929
</roles>
3030
</developer>
3131
<developer>
3232
<id>rbrazuk</id>
3333
<name>Ross Brazuk</name>
34-
<organization>org.apache.maven.model.Organization@47f054e3</organization>
34+
<organization>org.apache.maven.model.Organization@3cf2a6e7</organization>
3535
<roles>
3636
<role>Developer</role>
3737
</roles>
@@ -40,7 +40,7 @@
4040
<contributors>
4141
<contributor>
4242
<name>Ryan Lydzinski</name>
43-
<organization>org.apache.maven.model.Organization@1b7c127f</organization>
43+
<organization>org.apache.maven.model.Organization@2e482819</organization>
4444
<roles>
4545
<role>Intern</role>
4646
</roles>

injectionApi/src/main/java/com/socketLabs/injectionApi/message/BasicMessage.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,31 +54,31 @@ public class BasicMessage implements MessageBase {
5454
* The plain text portion of the message body.
5555
* <p>
5656
* (Optional)
57-
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
57+
* Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
5858
* </p>
5959
*/
6060
private String plainTextBody;
6161
/**
6262
* The HTML portion of the message body.
6363
* <p>
6464
* (Optional)
65-
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
65+
* Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
6666
* </p>
6767
*/
6868
private String htmlBody;
6969
/**
7070
* The AMP portion of the message body.
7171
* <p>
7272
* (Optional)
73-
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
73+
* Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
7474
* </p>
7575
*/
7676
private String ampBody;
7777
/**
7878
* The Api Template for the message.
7979
* <p>
8080
* (Optional)
81-
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
81+
* Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
8282
* </p>
8383
*/
8484
private @Nullable Integer apiTemplate;

injectionApi/src/main/java/com/socketLabs/injectionApi/message/BulkMessage.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,31 +52,31 @@ public class BulkMessage implements MessageBase {
5252
* The plain text portion of the message body.
5353
* <p>
5454
* (Optional)
55-
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
55+
* Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
5656
* </p>
5757
*/
5858
private String plainTextBody;
5959
/**
6060
* The HTML portion of the message body.
6161
* <p>
6262
* (Optional)
63-
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
63+
* Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
6464
* </p>
6565
*/
6666
private String htmlBody;
6767
/**
6868
* The AMP portion of the message body.
6969
* <p>
7070
* (Optional)
71-
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
71+
* Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
7272
* </p>
7373
*/
7474
private String ampBody;
7575
/**
7676
* The Api Template for the message.
7777
* <p>
7878
* (Optional)
79-
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
79+
* Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
8080
* </p>
8181
*/
8282
private @Nullable Integer apiTemplate;

0 commit comments

Comments
 (0)