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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58980511ad7775baea84617dc9ab6ed0f93e29dc
4
- data.tar.gz: 63193a59c766554172b3d34a4d3f40c47465d594
3
+ metadata.gz: e63680563a80a14d2293cea8cd8f6001a57ac9be
4
+ data.tar.gz: e443be8f4f52f2669428ae13bedfe4639aced4e4
5
5
  SHA512:
6
- metadata.gz: c44c1ad1b43b1144ff703d61092a8ccf76735c5dfdfce75f5f33023b7e1969b78154629205d68b52d0b6ff9889f0b0a2a254a1e225777ded1cfcc23529293a71
7
- data.tar.gz: 7a1b9fdef294db2a6ab661ad7d4619486a887e82e5e674f6e0d1243cb301fc7281a6df8c3463cad04bcab63cf359ff8bc9be6edcb773a61234243b551bd0c6a8
6
+ metadata.gz: c4d64cc5c2900ef0c17f0aefc3fa07fba7c02311bdee3bb4efe6466d234d63bedeb09514febe943a427de62e70cc810c2f632dcc135f821e14b056323197f1e7
7
+ data.tar.gz: b4dce7aaa76152ffddbf7c15111ff899e248ce9374525715ffd954b8e59333ab29f6049a02c81cfcf7b627ad65a3beab651474de40ff42869461df983c49d1c9
data/doc/text/news.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  # News
4
4
 
5
+ ## 1.2.1: 2017-05-01
6
+
7
+ ### Fixes
8
+
9
+ * in: Fixed to wait until write back is completed to client.
10
+ Without this change, fluentd couldn't send back response correctly.
11
+
5
12
  ## 1.2.0: 2017-04-26
6
13
 
7
14
  ### Improvements
@@ -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.0"
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
- handler.close
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.0
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-04-26 00:00:00.000000000 Z
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.11
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