fluent-plugin-groonga 1.2.0 → 1.2.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 +4 -4
- data/doc/text/news.md +7 -0
- data/fluent-plugin-groonga.gemspec +1 -1
- data/lib/fluent/plugin/in_groonga.rb +3 -16
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e63680563a80a14d2293cea8cd8f6001a57ac9be
|
|
4
|
+
data.tar.gz: e443be8f4f52f2669428ae13bedfe4639aced4e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4d64cc5c2900ef0c17f0aefc3fa07fba7c02311bdee3bb4efe6466d234d63bedeb09514febe943a427de62e70cc810c2f632dcc135f821e14b056323197f1e7
|
|
7
|
+
data.tar.gz: b4dce7aaa76152ffddbf7c15111ff899e248ce9374525715ffd954b8e59333ab29f6049a02c81cfcf7b627ad65a3beab651474de40ff42869461df983c49d1c9
|
data/doc/text/news.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
Gem::Specification.new do |spec|
|
|
19
19
|
spec.name = "fluent-plugin-groonga"
|
|
20
|
-
spec.version = "1.2.
|
|
20
|
+
spec.version = "1.2.1"
|
|
21
21
|
spec.authors = ["Kouhei Sutou"]
|
|
22
22
|
spec.email = ["kou@clear-code.com"]
|
|
23
23
|
spec.summary = "Fluentd plugin to store data into Groonga and implement Groonga replication system."
|
|
@@ -75,7 +75,9 @@ module Fluent
|
|
|
75
75
|
handler.write_back(data)
|
|
76
76
|
end
|
|
77
77
|
repeater.on_close do
|
|
78
|
-
|
|
78
|
+
connection.on(:write_complete) do
|
|
79
|
+
handler.close
|
|
80
|
+
end
|
|
79
81
|
end
|
|
80
82
|
event_loop_attach(repeater)
|
|
81
83
|
|
|
@@ -94,21 +96,6 @@ module Fluent
|
|
|
94
96
|
true
|
|
95
97
|
end
|
|
96
98
|
|
|
97
|
-
class Repeater < Coolio::TCPSocket
|
|
98
|
-
def initialize(socket, handler)
|
|
99
|
-
super(socket)
|
|
100
|
-
@handler = handler
|
|
101
|
-
end
|
|
102
|
-
|
|
103
|
-
def on_read(data)
|
|
104
|
-
@handler.write_back(data)
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
def on_close
|
|
108
|
-
@handler.close
|
|
109
|
-
end
|
|
110
|
-
end
|
|
111
|
-
|
|
112
99
|
class BaseInput
|
|
113
100
|
include Configurable
|
|
114
101
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-groonga
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kouhei Sutou
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-05-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
186
186
|
version: '0'
|
|
187
187
|
requirements: []
|
|
188
188
|
rubyforge_project:
|
|
189
|
-
rubygems_version: 2.6.
|
|
189
|
+
rubygems_version: 2.6.12
|
|
190
190
|
signing_key:
|
|
191
191
|
specification_version: 4
|
|
192
192
|
summary: Fluentd plugin to store data into Groonga and implement Groonga replication
|