[Groonga-commit] droonga/fluent-plugin-droonga at 10e9a3b [master] Use meaningful special variable name

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Dec 24 14:43:11 JST 2013


Kouhei Sutou	2013-12-24 14:43:11 +0900 (Tue, 24 Dec 2013)

  New Revision: 10e9a3b271348ef49297919cdf8c8944a014c13e
  https://github.com/droonga/fluent-plugin-droonga/commit/10e9a3b271348ef49297919cdf8c8944a014c13e

  Message:
    Use meaningful special variable name

  Modified files:
    lib/droonga/dispatcher.rb

  Modified: lib/droonga/dispatcher.rb (+3 -1)
===================================================================
--- lib/droonga/dispatcher.rb    2013-12-24 14:34:30 +0900 (57e99c5)
+++ lib/droonga/dispatcher.rb    2013-12-24 14:43:11 +0900 (78b0081)
@@ -15,7 +15,9 @@
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
+require "English"
 require 'tsort'
+
 require "droonga/input_adapter"
 require "droonga/output_adapter"
 require "droonga/distributor"
@@ -129,7 +131,7 @@ module Droonga
 
     def farm_path(route)
       if route =~ /\A.*:\d+\/[^\.]+/
-        $&
+        $MATCH
       else
         route
       end
-------------- next part --------------
HTML����������������������������...
Download 



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