Kouhei Sutou
null+****@clear*****
Sat Aug 11 20:49:43 JST 2012
Kouhei Sutou 2012-08-11 20:49:43 +0900 (Sat, 11 Aug 2012) New Revision: 90d715d076110897c07f93a6a629c0476fa830e9 https://github.com/groonga/grntest/commit/90d715d076110897c07f93a6a629c0476fa830e9 Log: Split VERSION Added files: lib/grntest/version.rb Modified files: lib/grntest/tester.rb Modified: lib/grntest/tester.rb (+3 -3) =================================================================== --- lib/grntest/tester.rb 2012-08-11 20:48:58 +0900 (3320ad6) +++ lib/grntest/tester.rb 2012-08-11 20:49:43 +0900 (cc1c78a) @@ -26,10 +26,10 @@ require "shellwords" require "open-uri" require "cgi/util" +require "grntest/version" + module Grntest class Tester - VERSION = "1.0.0" - class << self def run(argv=nil) argv ||= ARGV.dup @@ -175,7 +175,7 @@ module Grntest parser.on("--version", "Show version and exit") do - puts(GroongaTester::VERSION) + puts(VERSION) throw(tag, true) end Added: lib/grntest/version.rb (+18 -0) 100644 =================================================================== --- /dev/null +++ lib/grntest/version.rb 2012-08-11 20:49:43 +0900 (041ac61) @@ -0,0 +1,18 @@ +# Copyright (C) 2012 Kouhei Sutou <kou �� clear-code.com> +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +module Grntest + VERSION = "1.0.0" +end -------------- next part -------------- HTML����������������������������... 다운로드