YUKI Hiroshi
null+****@clear*****
Thu Mar 27 18:42:56 JST 2014
YUKI Hiroshi 2014-03-27 18:42:56 +0900 (Thu, 27 Mar 2014) New Revision: b31d40d7661ad351f75629c7b3d204a84d7aa7a9 https://github.com/droonga/droonga.org/commit/b31d40d7661ad351f75629c7b3d204a84d7aa7a9 Message: Remove sections for deprecated information Modified files: reference/plugin/adapter/index.md tutorial/plugin-development/adapter/index.md Modified: reference/plugin/adapter/index.md (+0 -4) =================================================================== --- reference/plugin/adapter/index.md 2014-03-27 18:36:11 +0900 (8012982) +++ reference/plugin/adapter/index.md 2014-03-27 18:42:56 +0900 (124ee7a) @@ -89,8 +89,6 @@ Any error raised from the adapter is handled by the Droonga Engine itself. See a : A [matching pattern][] for outgoing messages. If no pattern (`nil`) is given, any message is regarded as "matched". -Note: On Droonga 0.9.9, they are named as `message.input_pattern` and `message.output_pattern` but changed to new configurations on Droonga 1.0.0, like above. If you write plugins for Droonga 0.9.9, you have to migrate it. - ## Classes and methods {#classes} ### `Droonga::Adapter` {#classes-Droonga-Adapter} @@ -164,8 +162,6 @@ module Droonga::Plugins::MySearch end ~~~ -Note: On Droonga 0.9.9, this method is named as `command` but changed to `type` on Droonga 1.0.0, like above. If you write plugins for Droonga 0.9.9, you have to migrate it. - #### `#body`, `#body=(body)` {#classes-Droonga-InputMessage-body} This returns the `"body"` of the incoming message. Modified: tutorial/plugin-development/adapter/index.md (+0 -4) =================================================================== --- tutorial/plugin-development/adapter/index.md 2014-03-27 18:36:11 +0900 (8b2fbf2) +++ tutorial/plugin-development/adapter/index.md 2014-03-27 18:42:56 +0900 (ee88351) @@ -208,8 +208,6 @@ The line beginning with `input_message.pattern` is a configuration. This example defines a plugin for any incoming message with `"type":"search"`. See the [reference manual's configuration section](../../../reference/plugin/adapter/#config) -(Note: `input_message.pattern` is for Droonga 1.0.0 and later. On Droonga 0.9.9, you have to use a deprecated configuration `message.input_pattern` instead.) - The method `adapt_input` is called for every incoming message matching to the pattern. The argument `input_message` is a wrapped version of the incoming message. @@ -535,8 +533,6 @@ module Droonga end ~~~ -(Note: `input_message.pattern` is for Droonga 1.0.0 and later. On Droonga 0.9.9, you have to use a deprecated configuration `message.input_pattern` instead.) - Then update your `catalog.json` to activate the plugin. Remove the `sample-logger` plugin previously created. -------------- next part -------------- HTML����������������������������... ダウンロード