Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Note: This is not stable API yet. Before: # lib/droonga/plugin/handler/my_handler.rb require "droonga/handler_plugin" module Droonga class MyHandler < Droonga::HandlerPlugin repository.register("my-handler", self) command :my_command def my_command(message, messenger) end end end After: # lib/droonga/plugins/my_plugin.rb require "droonga/plugin" module Droonga module Plugins module MyPlugin Plugin.registry.register("my-plugin", self) class Handler < Droonga::Handler message.type = "my-command" def handle(message, messenger) end end end end end
- Loading branch information
Showing
31 changed files
with
819 additions
and
708 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.