fluent-plugin-couch 0.1.5 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +0 -2
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_couch.rb +6 -7
- metadata +3 -3
data/README.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
@@ -80,13 +80,12 @@ module Fluent
|
|
80
80
|
|
81
81
|
def write(chunk)
|
82
82
|
records = []
|
83
|
-
chunk.msgpack_each {|record|
|
84
|
-
|
85
|
-
|
86
|
-
#
|
87
|
-
|
88
|
-
|
89
|
-
end
|
83
|
+
chunk.msgpack_each {|record| records << record }
|
84
|
+
@couch.post(@database+'/_bulk_docs', {"all_or_nothing"=>true, "docs"=>records}.to_json)
|
85
|
+
|
86
|
+
#for record in records
|
87
|
+
# @couch.post(@database,record.to_json)
|
88
|
+
#end
|
90
89
|
end
|
91
90
|
end
|
92
91
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-couch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-10-16 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|
16
|
-
requirement: &
|
16
|
+
requirement: &70156152291940 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 0.10.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70156152291940
|
25
25
|
description:
|
26
26
|
email: ixixizko@gmail.com
|
27
27
|
executables: []
|