embulk-output-mailchimp 0.3.6 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/build.gradle +1 -1
- data/src/main/java/org/embulk/output/mailchimp/MailChimpHttpClient.java +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 759406b999c3568dc98133129ecc535decaf2c47
|
|
4
|
+
data.tar.gz: 0a7cdd2189f9d8ec41b145735b1e210d1b43bcb3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ebb5138893246ee2045ab75fde892196896c82f0fad7e3c4bcb8cf393144d48c9d455647b8239a45d23ce66037b3b698070386da10787279e31974f03d55a13f
|
|
7
|
+
data.tar.gz: 8b6ea7dd8a191f2d6f5dbf5eb27b287d6b90d25fa68fec09f6138050c48bd9652092303316fdb3fbd19091b7f2a8d7f062c6a053f6f247c0ba6112c5dccbba36
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
## 0.3.
|
|
1
|
+
## 0.3.7 - 2017-06-07
|
|
2
|
+
- Added `ConfigException` while using not exists `list_id` [#23](https://github.com/treasure-data/embulk-output-mailchimp/pull/23)
|
|
3
|
+
|
|
4
|
+
## 0.3.6 -2017-06-07
|
|
2
5
|
- Removed log query and add API to check address type [#22](https://github.com/treasure-data/embulk-output-mailchimp/pull/22)
|
|
3
6
|
- Enabled log query for logging on console temporary [#21](https://github.com/treasure-data/embulk-output-mailchimp/pull/21)
|
|
4
7
|
|
data/build.gradle
CHANGED
|
@@ -89,6 +89,12 @@ public class MailChimpHttpClient
|
|
|
89
89
|
public boolean isResponseStatusToRetry(Response response)
|
|
90
90
|
{
|
|
91
91
|
int status = response.getStatus();
|
|
92
|
+
|
|
93
|
+
if (status == 404) {
|
|
94
|
+
LOG.error("Exception occurred while sending request: {}", response.getReason());
|
|
95
|
+
throw new ConfigException("The `list id` could not be found.");
|
|
96
|
+
}
|
|
97
|
+
|
|
92
98
|
return status == 429 || status / 100 != 4;
|
|
93
99
|
}
|
|
94
100
|
});
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: embulk-output-mailchimp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thang Nguyen
|
|
@@ -88,7 +88,7 @@ files:
|
|
|
88
88
|
- test/override_assert_raise.rb
|
|
89
89
|
- test/run-test.rb
|
|
90
90
|
- classpath/embulk-base-restclient-0.5.0.jar
|
|
91
|
-
- classpath/embulk-output-mailchimp-0.3.
|
|
91
|
+
- classpath/embulk-output-mailchimp-0.3.7.jar
|
|
92
92
|
- classpath/embulk-util-retryhelper-jetty92-0.5.0.jar
|
|
93
93
|
- classpath/jetty-client-9.2.14.v20151106.jar
|
|
94
94
|
- classpath/jetty-http-9.2.14.v20151106.jar
|