Skip to content

Commit

Permalink
Rename name of adapter that provides Groonga compatible command
Browse files Browse the repository at this point in the history
select ->
groonga
  • Loading branch information
kou committed Dec 20, 2013
1 parent cb6137e commit 4b43cb1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/droonga/plugin/adapter/groonga.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

module Droonga
class GroongaInputAdapter < Droonga::InputAdapterPlugin
repository.register("select", self)
repository.register("groonga", self)

command :select
def select(input_message)
Expand All @@ -32,7 +32,7 @@ def select(input_message)
end

class GroongaOutputAdapter < Droonga::OutputAdapterPlugin
repository.register("select", self)
repository.register("groonga", self)

command :select_response
def select_response(search_response)
Expand Down
2 changes: 1 addition & 1 deletion sample/cluster/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
}
},
"options": {
"plugins": ["select"]
"plugins": ["groonga"]
}
}
2 changes: 1 addition & 1 deletion test/command/config/default/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
}
},
"options": {
"plugins": ["select"]
"plugins": ["groonga"]
}
}

0 comments on commit 4b43cb1

Please sign in to comment.