embulk-output-td 0.3.0 → 0.3.1

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: 1f6572b7067dbe90e8b8687e796cace68c784653
4
- data.tar.gz: df2090ebd8861f183447b4800f4847f1c4a847e5
3
+ metadata.gz: 5cad2cf52951ef756a112466a0d4c45fbb4aaa08
4
+ data.tar.gz: 1a52354a42fd5686e897c5077ff3e1ac9d2d6d11
5
5
  SHA512:
6
- metadata.gz: f95ec8ff2e4a4bc6ea2ede82b92c0bd325421c848ddaa05ec1cd73c6f31a6e16357835bfb5a046202ad917c6a9ba047d44bc8a80b6cc9227c6d249c844b49e51
7
- data.tar.gz: 4b97abbd2486cb0556c18257f6c5b9d922452798a80d68d9097bab9f9bdc03ce463c492a13109925c021ec6572a22d391f1cf876c4ee4f61a6ecaa5e7c1c70fc
6
+ metadata.gz: 80147f9fbeba7f30f4e878219a0cc7e2046a4da4d21df6451a9287814729ff9d083dbe9e0e5901e45e91820b15b155efe2cd75c45c2d9ccbb989f0cc3d915851
7
+ data.tar.gz: 28b99ac88e456db27b79d86897a2f176daf09119c0c1dd8dfce07e95a65902dda9c5feadde69b6bc3f05f6ead643db72e483dc46436448f756d3a88e0054c2da
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3.1 - 2016-04-25
2
+
3
+ * [maintenance] Fix bug TransactionalPageOutput.flush method throws NullPointerException
4
+
1
5
  ## 0.3.0 - 2016-03-03
2
6
 
3
7
  * [maintenance] Upgrade embulk v08 [#37](https://github.com/treasure-data/embulk-output-td/pull/37)
data/build.gradle CHANGED
@@ -16,7 +16,7 @@ configurations {
16
16
  provided
17
17
  }
18
18
 
19
- version = "0.3.0"
19
+ version = "0.3.1"
20
20
 
21
21
  compileJava.options.encoding = 'UTF-8' // source encoding
22
22
  sourceCompatibility = 1.7
@@ -1,7 +1,7 @@
1
1
 
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "embulk-output-td"
4
- spec.version = "0.3.0"
4
+ spec.version = "0.3.1"
5
5
  spec.authors = ["Muga Nishizawa"]
6
6
  spec.summary = %[TreasureData output plugin for Embulk]
7
7
  spec.description = %[TreasureData output plugin is an Embulk plugin that loads records to TreasureData read by any input plugins. Search the input plugins by 'embulk-output' keyword.]
@@ -106,7 +106,7 @@ public class RecordWriter
106
106
 
107
107
  public void flush() throws IOException
108
108
  {
109
- if (builder.getRecordCount() > 0) {
109
+ if (builder != null && builder.getRecordCount() > 0) {
110
110
  builder.finish();
111
111
 
112
112
  log.info("{uploading: {rows: {}, size: {} bytes (compressed)}}",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-td
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Muga Nishizawa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-03 00:00:00.000000000 Z
11
+ date: 2016-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +82,7 @@ files:
82
82
  - src/test/java/org/embulk/output/td/TestTdOutputPlugin.java
83
83
  - src/test/java/org/embulk/output/td/TestTimeValueGenerator.java
84
84
  - src/test/java/org/embulk/output/td/writer/TestFieldWriterSet.java
85
- - classpath/embulk-output-td-0.3.0.jar
85
+ - classpath/embulk-output-td-0.3.1.jar
86
86
  - classpath/hamcrest-core-1.1.jar
87
87
  - classpath/jackson-datatype-json-org-2.4.4.jar
88
88
  - classpath/jetty-client-9.2.2.v20140723.jar