embulk-input-marketo_extended 0.6.26 → 0.6.28
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbd134238def5af6ba480e2c6a504ffd0da4869a
|
4
|
+
data.tar.gz: e396ca6875915874955aef4ea151831f6883d020
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd7084e138f808b034e055ffaccb4b1f9e02b78a24997a68ce03948af5436107c98391e86b8b9b9f124102dbf8054dcc15ebfd2664237e88d3a6c1ab2b553daf
|
7
|
+
data.tar.gz: 4bb8624c8f0786fe7ceaa5f2a1ad581f6af20631962ddef131e4c71814ec2943c6c8b0406f0dcc92f9adbac692a4ecd95adeb3bdb6709cfa7fc6605fd891e8c0
|
data/build.gradle
CHANGED
@@ -380,7 +380,7 @@ public class CsvTokenizer
|
|
380
380
|
else if (isQuote(c)) {
|
381
381
|
char next = peekNextChar();
|
382
382
|
final char nextNext = peekNextNextChar();
|
383
|
-
Exec.getLogger(CsvTokenizer.class).info("Character is {}. Next: {}, NextNext:{}", c,next,nextNext);
|
383
|
+
// Exec.getLogger(CsvTokenizer.class).info("Character is {}. Next: {}, NextNext:{}", c,next,nextNext);
|
384
384
|
if (isQuote(next)
|
385
385
|
&& (quotesInQuotedFields != "ACCEPT_STRAY_QUOTES_ASSUMING_NO_DELIMITERS_IN_FIELDS"
|
386
386
|
|| (!isDelimiter(nextNext) && !isEndOfLine(nextNext)))) {
|
@@ -399,14 +399,14 @@ public class CsvTokenizer
|
|
399
399
|
}
|
400
400
|
} else {
|
401
401
|
quotedValue.append(line.substring(valueStartPos, linePos - 1));
|
402
|
-
Exec.getLogger(CsvTokenizer.class).info("Current column state is {}. Quoted Value : {}", columnState, quotedValue);
|
402
|
+
// Exec.getLogger(CsvTokenizer.class).info("Current column state is {}. Quoted Value : {}", columnState, quotedValue);
|
403
403
|
columnState = ColumnState.AFTER_QUOTED_VALUE;
|
404
404
|
}
|
405
405
|
}
|
406
406
|
else if (isEscape(c)) { // isQuote must be checked first in case of quote == escape
|
407
407
|
// In RFC 4180, CSV's escape char is '\"'. But '\\' is often used.
|
408
408
|
char next = peekNextChar();
|
409
|
-
Exec.getLogger(CsvTokenizer.class).info("Esc Character is {}. Next: {}, column state{}", c,next, columnState);
|
409
|
+
// Exec.getLogger(CsvTokenizer.class).info("Esc Character is {}. Next: {}, column state{}", c,next, columnState);
|
410
410
|
if (isEndOfLine(c)) {
|
411
411
|
// escape end of line. TODO assuming multi-line quoted value without newline?
|
412
412
|
quotedValue.append(line.substring(valueStartPos, linePos));
|
@@ -623,7 +623,7 @@ public class CsvTokenizer
|
|
623
623
|
throw new ConfigException("\"quote\" option accepts only 1 character.");
|
624
624
|
}
|
625
625
|
else if (str.isEmpty()) {
|
626
|
-
Exec.getLogger(CsvTokenizer.class).warn("Setting '' (empty string) to \"quote\" option is obsoleted. Currently it becomes '\"' automatically but this behavior will be removed. Please set '\"' explicitly.");
|
626
|
+
// Exec.getLogger(CsvTokenizer.class).warn("Setting '' (empty string) to \"quote\" option is obsoleted. Currently it becomes '\"' automatically but this behavior will be removed. Please set '\"' explicitly.");
|
627
627
|
return new QuoteCharacter('"');
|
628
628
|
}
|
629
629
|
else {
|
@@ -684,7 +684,7 @@ public class CsvTokenizer
|
|
684
684
|
throw new ConfigException("\"escape\" option accepts only 1 character.");
|
685
685
|
}
|
686
686
|
else if (str.isEmpty()) {
|
687
|
-
Exec.getLogger(CsvTokenizer.class).warn("Setting '' (empty string) to \"escape\" option is obsoleted. Currently it becomes null automatically but this behavior will be removed. Please set \"escape: null\" explicitly.");
|
687
|
+
// Exec.getLogger(CsvTokenizer.class).warn("Setting '' (empty string) to \"escape\" option is obsoleted. Currently it becomes null automatically but this behavior will be removed. Please set \"escape: null\" explicitly.");
|
688
688
|
return noEscape();
|
689
689
|
}
|
690
690
|
else {
|
@@ -448,7 +448,7 @@ public abstract class MarketoBaseBulkExtractInputPlugin<T extends MarketoBaseBul
|
|
448
448
|
int i = 0;
|
449
449
|
while (tokenizer.hasNextColumn()) {
|
450
450
|
if (i == headers.size()){
|
451
|
-
LOGGER.info("We have reached last column. {}", tokenizer.nextColumnOrNull());
|
451
|
+
// LOGGER.info("We have reached last column. {}", tokenizer.nextColumnOrNull());
|
452
452
|
break;
|
453
453
|
}
|
454
454
|
kvMap.put(headers.get(i), tokenizer.nextColumnOrNull());
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-marketo_extended
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- uu59
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-11-
|
14
|
+
date: 2020-11-10 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,9 +140,9 @@ files:
|
|
140
140
|
- classpath/jetty-io-9.2.14.v20151106.jar
|
141
141
|
- classpath/commons-io-2.8.0.jar
|
142
142
|
- classpath/jetty-util-9.2.14.v20151106.jar
|
143
|
-
- classpath/embulk-input-marketo_extended-0.6.26.jar
|
144
143
|
- classpath/jetty-http-9.2.14.v20151106.jar
|
145
144
|
- classpath/jetty-client-9.2.14.v20151106.jar
|
145
|
+
- classpath/embulk-input-marketo_extended-0.6.28.jar
|
146
146
|
- classpath/embulk-base-restclient-0.5.3.jar
|
147
147
|
- classpath/embulk-util-retryhelper-jetty92-0.5.3.jar
|
148
148
|
homepage: https://github.com/treasure-data/embulk-input-marketo
|