[Groonga-commit] ranguba/groonga-client-cli at 56fea51 [master] Use default value defined in groonga-client

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jun 10 16:42:50 JST 2015


Kouhei Sutou	2015-06-10 16:42:50 +0900 (Wed, 10 Jun 2015)

  New Revision: 56fea51379f47962128a75bfdf55472050009dab
  https://github.com/ranguba/groonga-client-cli/commit/56fea51379f47962128a75bfdf55472050009dab

  Message:
    Use default value defined in groonga-client

  Removed files:
    lib/groonga-client-cli/default.rb
  Modified files:
    groonga-client-cli.gemspec
    lib/groonga-client-cli/groonga-client.rb

  Modified: groonga-client-cli.gemspec (+1 -1)
===================================================================
--- groonga-client-cli.gemspec    2015-06-10 15:52:53 +0900 (639d98f)
+++ groonga-client-cli.gemspec    2015-06-10 16:42:50 +0900 (756939d)
@@ -56,7 +56,7 @@ Gem::Specification.new do |spec|
     spec.executables = Dir.glob("*")
   end
 
-  spec.add_runtime_dependency("groonga-client")
+  spec.add_runtime_dependency("groonga-client", ">= 0.1.6")
   spec.add_runtime_dependency("groonga-command-parser")
 
   spec.add_development_dependency("bundler")

  Deleted: lib/groonga-client-cli/default.rb (+0 -23) 100644
===================================================================
--- lib/groonga-client-cli/default.rb    2015-06-10 15:52:53 +0900 (dd20952)
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright (C) 2015  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
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
-
-module GroongaClientCLI
-  module Default
-    # The default timeout on reading response from Groonga server in
-    # seconds.
-    READ_TIMEOUT = 60
-  end
-end

  Modified: lib/groonga-client-cli/groonga-client.rb (+1 -2)
===================================================================
--- lib/groonga-client-cli/groonga-client.rb    2015-06-10 15:52:53 +0900 (a7d18f0)
+++ lib/groonga-client-cli/groonga-client.rb    2015-06-10 16:42:50 +0900 (d0e17c4)
@@ -23,7 +23,6 @@ require "groonga/command/parser"
 require "groonga/client"
 
 require "groonga-client-cli/version"
-require "groonga-client-cli/default"
 
 module GroongaClientCLI
   class GroongaClient
@@ -32,7 +31,7 @@ module GroongaClientCLI
       @host     = "localhost"
       @port     = nil
 
-      @read_timeout = Default::READ_TIMEOUT
+      @read_timeout = Groonga::Client::Default::READ_TIMEOUT
 
       @runner_options = {
         :split_load_chunk_size => 10000,
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index