[Groonga-commit] groonga/groonga-query-log at 79bb84c [master] Use .command_name which is introduced since groonga-command 1.2.3

Back to archive index

Kentaro Hayashi null+****@clear*****
Fri Sep 9 17:00:10 JST 2016


Kentaro Hayashi	2016-09-09 17:00:10 +0900 (Fri, 09 Sep 2016)

  New Revision: 79bb84cc1344f3c67d7c3f7096dfb006cf8f03a1
  https://github.com/groonga/groonga-query-log/commit/79bb84cc1344f3c67d7c3f7096dfb006cf8f03a1

  Merged 01180a9: Merge pull request #3 from kenhys/use-command-name

  Message:
    Use .command_name which is introduced since groonga-command 1.2.3
    
    This commit makes Travis-CI test case green again.

  Modified files:
    lib/groonga/query-log/analyzer/reporter/console.rb
    lib/groonga/query-log/command/extract.rb

  Modified: lib/groonga/query-log/analyzer/reporter/console.rb (+1 -1)
===================================================================
--- lib/groonga/query-log/analyzer/reporter/console.rb    2016-06-15 10:13:22 +0900 (a8d8751)
+++ lib/groonga/query-log/analyzer/reporter/console.rb    2016-09-09 17:00:10 +0900 (b9ab48a)
@@ -216,7 +216,7 @@ module Groonga
 
         def report_parameters(statistic)
           command = statistic.command
-          write("  name: <#{command.name}>\n")
+          write("  name: <#{command.command_name}>\n")
           write("  parameters:\n")
           command.arguments.each do |key, value|
             write("    <#{key}>: <#{value}>\n")

  Modified: lib/groonga/query-log/command/extract.rb (+1 -1)
===================================================================
--- lib/groonga/query-log/command/extract.rb    2016-06-15 10:13:22 +0900 (acab826)
+++ lib/groonga/query-log/command/extract.rb    2016-09-09 17:00:10 +0900 (8894729)
@@ -172,7 +172,7 @@ module Groonga
         end
 
         def target?(command)
-          name = command.name
+          name = command.command_name
           target_commands =****@optio*****
           exclude_commands =****@optio*****_commands
 
-------------- next part --------------
HTML����������������������������...
Download 



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