Kouhei Sutou
null+****@clear*****
Tue Oct 24 17:03:57 JST 2017
Kouhei Sutou 2017-10-24 17:03:57 +0900 (Tue, 24 Oct 2017) New Revision: cd0253c123459825f82fbe5779c890fbbe5f6f43 https://github.com/ranguba/groonga-client/commit/cd0253c123459825f82fbe5779c890fbbe5f6f43 Message: Create Groonga::Client::CommandLine namespace Modified files: bin/groonga-client Renamed files: lib/groonga/client/command-line/groonga-client.rb (from lib/groonga/client/cli.rb) Modified: bin/groonga-client (+3 -3) =================================================================== --- bin/groonga-client 2017-09-27 11:44:18 +0900 (1963f1c) +++ bin/groonga-client 2017-10-24 17:03:57 +0900 (1d2811c) @@ -1,7 +1,7 @@ #!/usr/bin/env ruby # -*- ruby -*- # -# Copyright (C) 2015-2016 Kouhei Sutou <kou �� clear-code.com> +# Copyright (C) 2015-2017 Kouhei Sutou <kou �� clear-code.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -17,7 +17,7 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -require "groonga/client/cli" +require "groonga/client/command-line/groonga-client" -cli = Groonga::Client::CLI.new +cli = Groonga::Client::CommandLine::GroongaClient.new exit(cli.run(ARGV)) Renamed: lib/groonga/client/command-line/groonga-client.rb (+4 -2) 98% =================================================================== --- lib/groonga/client/cli.rb 2017-09-27 11:44:18 +0900 (2bbcc48) +++ lib/groonga/client/command-line/groonga-client.rb 2017-10-24 17:03:57 +0900 (a54de31) @@ -1,4 +1,4 @@ -# Copyright (C) 2015-2016 Kouhei Sutou <kou �� clear-code.com> +# Copyright (C) 2015-2017 Kouhei Sutou <kou �� clear-code.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -25,7 +25,8 @@ require "groonga/command/parser" module Groonga class Client - class CLI + module CommandLine + class GroongaClient def initialize @protocol = :http @host = "localhost" @@ -229,5 +230,6 @@ module Groonga end end end + end end end -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171024/afc414ad/attachment-0001.htm