embulk-input-marketo 0.5.7.alpha.1 → 0.5.7.alpha.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b3e412c76a242171826a25d62d41126de0ec2bb
4
- data.tar.gz: 97f8c071357997a07347e03c28ffa58b5d90cb4a
3
+ metadata.gz: 904e8e63e2beb5f890d0692d8d881d6acadabf05
4
+ data.tar.gz: 02b5ed1e5c54f7d39607987115abbb11bab34dcc
5
5
  SHA512:
6
- metadata.gz: a2969c47bc9ce9fe7968f2dcf256709c25d506ccf2e0d6e5c7510635f6220fa1df339f9b6af341f6a5204be7e66b332e6d8040b0b64213137ca0adf6f0a06a1b
7
- data.tar.gz: 63d3dc7bed1e6930fa8c03584bcf4b83077c8e0b08ff7c8517fc92034debff28918bbfbcd86a1a0c8233d33f51b3d08c1f4b35206072b92279501f38d40465a8
6
+ metadata.gz: ce86f08d72e0ff762fe3fae49aa412dd05c82184a8db70e28c12cb557c2eb64660be93014a6f30eb6bb5f8718e49860b13cc7f91f7738cbd60f8645d2a369f5d
7
+ data.tar.gz: e0b44bd7eb5841db29376ae933f8e7dbe08dd36e19617f0246ae9477980a439109d134e833983675f3dba41203884c5402266ebd89879797db60172a75577344
data/build.gradle CHANGED
@@ -16,7 +16,7 @@ repositories {
16
16
  configurations {
17
17
  provided
18
18
  }
19
- version = "0.5.7.alpha.1"
19
+ version = "0.5.7.alpha.2"
20
20
  sourceCompatibility = 1.7
21
21
  targetCompatibility = 1.7
22
22
 
@@ -94,6 +94,9 @@ public abstract class MarketoBaseBulkExtractInputPlugin<T extends MarketoBaseBul
94
94
  if (!task.getFromDate().isPresent()) {
95
95
  throw new ConfigException("From date is required for Bulk Extract");
96
96
  }
97
+ if (task.getFetchDays() > 30) {
98
+ throw new ConfigException("Marketo bulk extract fetch days can't be more than 30");
99
+ }
97
100
  super.validateInputTask(task);
98
101
  }
99
102
 
@@ -51,7 +51,7 @@ public class MarketoField
51
51
  FLOAT(Types.DOUBLE),
52
52
  INTEGER(Types.LONG),
53
53
  FORMULA(Types.STRING),
54
- PERCENT(Types.LONG),
54
+ PERCENT(Types.DOUBLE),
55
55
  URL(Types.STRING),
56
56
  PHONE(Types.STRING),
57
57
  TEXTAREA(Types.STRING),
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-marketo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7.alpha.1
4
+ version: 0.5.7.alpha.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tai Khuu
@@ -92,8 +92,8 @@ files:
92
92
  - src/test/java/org/embulk/input/marketo/rest/MarketoBaseRestClientTest.java
93
93
  - classpath/jetty-http-9.2.14.v20151106.jar
94
94
  - classpath/embulk-base-restclient-0.5.3.jar
95
+ - classpath/embulk-input-marketo-0.5.7.alpha.2.jar
95
96
  - classpath/jetty-client-9.2.14.v20151106.jar
96
- - classpath/embulk-input-marketo-0.5.7.alpha.1.jar
97
97
  - classpath/jetty-util-9.2.14.v20151106.jar
98
98
  - classpath/embulk-util-retryhelper-jetty92-0.5.3.jar
99
99
  - classpath/jetty-io-9.2.14.v20151106.jar