fluent-plugin-bigobject 0.0.8 → 0.0.9

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: 9ae0aa20e9ace9a5c6fbac6b928b0ad93e468631
4
- data.tar.gz: c124609c62f863feaf60f58b436dc4182b8f729d
3
+ metadata.gz: 930ca226c373ce91810a6197d365e65cfe11f2d4
4
+ data.tar.gz: c5d94024d78adfa61fbd33e721f33fd1eec1c3f0
5
5
  SHA512:
6
- metadata.gz: e39a32c1ec17bcf0df524918db0ac9934e3ed86dff1257ca607484e87a24705551dae0781440ee5a0bf63f6fc7352df7c0a853a1f8333395feceab691ec38838
7
- data.tar.gz: 1ba87b7d564195e1f51dca8656633dc1d9bb75db374d2083739c347e4cca4d40839dac06ce7190d21a0514dadcdc2a1db9f871c0802f52e04bb37e81f2ec6cca
6
+ metadata.gz: a06f1092a69e80b4b314371f30e107252f1d00433dd4ee0c6ed7f650af764b37f2e4d64744916c713313fb28a8ad267ef5de5388136c0d734bd10639f4f99034
7
+ data.tar.gz: b5c77e8eb80f165c8e01020e3952aa451d8d6aae1ac9d4fe0e985ef4158a488293b995d6b9b72d3e8bd9104232109626f16431d31ecdd0f0447077c3966eb3d3
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-bigobject"
4
- gem.version = "0.0.8"
4
+ gem.version = "0.0.9"
5
5
  gem.authors = ["Andrea Sung"]
6
6
  gem.email = ["andrea@bigobject.io"]
7
7
  gem.description = %q{Fluentd output plugin to insert BIGOBJECT }
@@ -85,12 +85,11 @@ class Fluent::BigObjectOutput < Fluent::BufferedOutput
85
85
  if columns.to_s.empty?
86
86
  columns = "(#{keys.join(",")})"
87
87
  end
88
- stmts.push("('#{values.join("','")}')")
88
+ stmts.push("(\"#{values.join("\",\"")}\")")
89
89
  i+=1
90
90
  }
91
91
 
92
92
  sendStmt = "INSERT INTO #{@table} #{columns} VALUES" + stmts.join(",")
93
-
94
93
  resp = sendBO(@bo_url, sendStmt)
95
94
  parsed = JSON.parse(resp)
96
95
  err = parsed['Err']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-bigobject
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrea Sung
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-29 00:00:00.000000000 Z
11
+ date: 2015-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd