[Groonga-commit] ranguba/chupa-text at a832bfd [master] Use FIFO

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Feb 18 00:48:30 JST 2017


Kouhei Sutou	2017-02-18 00:48:30 +0900 (Sat, 18 Feb 2017)

  New Revision: a832bfd91b6ed9b3eade6a111e90fb780eae9769
  https://github.com/ranguba/chupa-text/commit/a832bfd91b6ed9b3eade6a111e90fb780eae9769

  Message:
    Use FIFO

  Modified files:
    lib/chupa-text/extractor.rb

  Modified: lib/chupa-text/extractor.rb (+2 -2)
===================================================================
--- lib/chupa-text/extractor.rb    2017-02-18 00:48:17 +0900 (615ae18)
+++ lib/chupa-text/extractor.rb    2017-02-18 00:48:30 +0900 (c1b607a)
@@ -1,4 +1,4 @@
-# Copyright (C) 2013  Kouhei Sutou <kou �� clear-code.com>
+# Copyright (C) 2013-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
@@ -60,7 +60,7 @@ module ChupaText
     def extract(input)
       targets = [ensure_data(input)]
       until targets.empty?
-        target = targets.pop
+        target = targets.shift
         debug do
           "#{log_tag}[extract][target] <#{target.uri}>:<#{target.mime_type}>"
         end
-------------- next part --------------
HTML����������������������������...
Download 



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