groonga-client 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +7 -0
- data/lib/groonga/client/protocol/http/coolio.rb +6 -1
- data/lib/groonga/client/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c50b276ffa5a1f9020c6414018c089ac76943b9
|
4
|
+
data.tar.gz: 0e9f0189f9f19e1b94e27f1e1fce4363783c7753
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38b205d2086d409e3c604f7db19d8327f8cfa585481996f7c4cabbe4f52f5b53dfe6a4502032d2eb1180e117e7b93d6de40bbf81806b85efbd8d95a409ce1c93
|
7
|
+
data.tar.gz: ddd34bc40409ea4fe7d2ef3684f760c6ac5b01e23b51990bfc1d88fbb4671a2cb9c3626e7017694bbcaf382e07a586bb9bdd0a96fc786660c7feed2815e6d82e
|
data/doc/text/news.md
CHANGED
@@ -40,6 +40,7 @@ module Groonga
|
|
40
40
|
class GroongaHTTPClient < ::Coolio::HttpClient
|
41
41
|
def initialize(socket, callback)
|
42
42
|
super(socket)
|
43
|
+
@body = ""
|
43
44
|
@callback = callback
|
44
45
|
@finished = false
|
45
46
|
end
|
@@ -49,7 +50,11 @@ module Groonga
|
|
49
50
|
end
|
50
51
|
|
51
52
|
def on_body_data(data)
|
52
|
-
@
|
53
|
+
@body << data
|
54
|
+
end
|
55
|
+
|
56
|
+
def on_request_complete
|
57
|
+
@callback.call(@body)
|
53
58
|
end
|
54
59
|
|
55
60
|
def on_close
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2013 Kouhei Sutou <kou@clear-code.com>
|
3
|
+
# Copyright (C) 2013-2014 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
#
|
5
5
|
# This library is free software; you can redistribute it and/or
|
6
6
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -18,6 +18,6 @@
|
|
18
18
|
|
19
19
|
module Groonga
|
20
20
|
class Client
|
21
|
-
VERSION = "0.0.
|
21
|
+
VERSION = "0.0.6"
|
22
22
|
end
|
23
23
|
end
|