Kouhei Sutou
null+****@clear*****
Fri Feb 28 13:08:29 JST 2014
Kouhei Sutou 2014-02-28 13:08:29 +0900 (Fri, 28 Feb 2014) New Revision: e43e79a5be223b5df1a4ee8543f66f47fce1e266 https://github.com/droonga/fluent-plugin-droonga/commit/e43e79a5be223b5df1a4ee8543f66f47fce1e266 Message: Add sum collector Copied files: lib/droonga/collectors/sum.rb (from lib/droonga/collectors.rb) Modified files: lib/droonga/collectors.rb Modified: lib/droonga/collectors.rb (+1 -0) =================================================================== --- lib/droonga/collectors.rb 2014-02-28 12:48:51 +0900 (e1d9fee) +++ lib/droonga/collectors.rb 2014-02-28 13:08:29 +0900 (4688001) @@ -15,3 +15,4 @@ require "droonga/collectors/add" require "droonga/collectors/and" +require "droonga/collectors/sum" Copied: lib/droonga/collectors/sum.rb (+11 -2) 82% =================================================================== --- lib/droonga/collectors.rb 2014-02-28 12:48:51 +0900 (e1d9fee) +++ lib/droonga/collectors/sum.rb 2014-02-28 13:08:29 +0900 (938d644) @@ -13,5 +13,14 @@ # 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 "droonga/collectors/add" -require "droonga/collectors/and" +module Droonga + module Collectors + class Sum + class << self + def operator + "sum" + end + end + end + end +end -------------- next part -------------- HTML����������������������������... 下載