embulk-output-kintone 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12c249d873d4feb22cad46c5d7bd8858f21c6138
4
- data.tar.gz: fe0ff0d7a8433caa4afe30a90c2acd7bdffb73ac
3
+ metadata.gz: e8c2d570242a7103d8d86149c3e31e8daa4bd593
4
+ data.tar.gz: bf24b0324e3d4a65dc6f6fd2bc000314317a1036
5
5
  SHA512:
6
- metadata.gz: 6f6a9c530c8c9ea1b3324aace5dbac3a9cbb6eaf9a800a064942f1229565a86cfb0ad51bd95ce53cadfc014320981c4e126addf699a32e16b90e7667a2745004
7
- data.tar.gz: 96f86db9027769370cf6af39f2ff157d7ca6b691d1712fa2ec112e04a464dc87e6db5b3d664ef45d69db73f213ce5e7007f0321c86809a5d5d17c11b1bb0479f
6
+ metadata.gz: c38ba0d3dcfe715347f2a1efbf78ec4015eaff6c6c9bb80c29cdc3cbe3bfe21e0ebe8bbde199386cce9fb15b50f3a35e0a5b705a224a2a55f27eb02703c380dc
7
+ data.tar.gz: de192f098f8b9f91c153d14e19b1e3f3c78cff543d305bf749e3cd6ed35cd498bf26e54009cd6f0a6fa82966850695675d0b4d7b9266c182ea963e822cb09d61
@@ -14,7 +14,7 @@ configurations {
14
14
  provided
15
15
  }
16
16
 
17
- version = "0.2.0"
17
+ version = "0.2.1"
18
18
 
19
19
  sourceCompatibility = 1.8
20
20
  targetCompatibility = 1.8
@@ -59,27 +59,25 @@ public class KintoneColumnVisitor
59
59
  .setField(fieldCode)
60
60
  .setValue(String.valueOf(value));
61
61
  }
62
- else {
63
- String stringValue = String.valueOf(value);
64
- FieldValue fieldValue = null;
65
- switch (type) {
66
- case NUMBER:
67
- fieldValue = new NumberFieldValue(new BigDecimal(stringValue));
68
- break;
69
- case MULTI_LINE_TEXT:
70
- fieldValue = new MultiLineTextFieldValue(stringValue);
71
- break;
72
- case DROP_DOWN:
73
- fieldValue = new DropDownFieldValue(stringValue);
74
- break;
75
- case LINK:
76
- fieldValue = new LinkFieldValue(stringValue);
77
- break;
78
- default:
79
- fieldValue = new SingleLineTextFieldValue(stringValue);
80
- }
81
- record.putField(fieldCode, fieldValue);
62
+ String stringValue = String.valueOf(value);
63
+ FieldValue fieldValue = null;
64
+ switch (type) {
65
+ case NUMBER:
66
+ fieldValue = new NumberFieldValue(new BigDecimal(stringValue));
67
+ break;
68
+ case MULTI_LINE_TEXT:
69
+ fieldValue = new MultiLineTextFieldValue(stringValue);
70
+ break;
71
+ case DROP_DOWN:
72
+ fieldValue = new DropDownFieldValue(stringValue);
73
+ break;
74
+ case LINK:
75
+ fieldValue = new LinkFieldValue(stringValue);
76
+ break;
77
+ default:
78
+ fieldValue = new SingleLineTextFieldValue(stringValue);
82
79
  }
80
+ record.putField(fieldCode, fieldValue);
83
81
  }
84
82
 
85
83
  private void setTimestampValue(String fieldCode, Instant instant, ZoneId zoneId, FieldType type)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-kintone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - takeshi fujita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-25 00:00:00.000000000 Z
11
+ date: 2020-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -52,7 +52,7 @@ files:
52
52
  - README.md
53
53
  - Rakefile
54
54
  - build.gradle
55
- - classpath/embulk-output-kintone-0.2.0.jar
55
+ - classpath/embulk-output-kintone-0.2.1.jar
56
56
  - config/checkstyle/checkstyle.xml
57
57
  - config/checkstyle/default.xml
58
58
  - gradle/wrapper/gradle-wrapper.jar