[Groonga-mysql-commit] mroonga/homebrew-mroonga at 16f95ac [master] Use build.used_options instead of ARGV.options_only

アーカイブの一覧に戻る

Hiroshi Hatake null+****@clear*****
Tue Jun 30 00:28:38 JST 2015


Hiroshi Hatake	2015-06-30 00:28:38 +0900 (Tue, 30 Jun 2015)

  New Revision: 16f95ac1e978d73fa9f775c2e667e70c2a2e4d76
  https://github.com/mroonga/homebrew-mroonga/commit/16f95ac1e978d73fa9f775c2e667e70c2a2e4d76

  Merged 135e0a6: Merge pull request #3 from mroonga/modernize-formula

  Message:
    Use build.used_options instead of ARGV.options_only

  Modified files:
    mroonga.rb

  Modified: mroonga.rb (+2 -2)
===================================================================
--- mroonga.rb    2015-06-28 21:39:29 +0900 (22b24cf)
+++ mroonga.rb    2015-06-30 00:28:38 +0900 (cdc2d42)
@@ -161,8 +161,8 @@ class Mroonga < Formula
   end
 
   def option_value(search_key)
-    ARGV.options_only.each do |option|
-      key, value = option.split(/=/, 2)
+    build.used_options.each do |option|
+      key, value = option.to_s.split(/=/, 2)
       return value || true if key == search_key
     end
     nil
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-mysql-commit mailing list
アーカイブの一覧に戻る