Kouhei Sutou
null+****@clear*****
Mon Apr 7 17:00:39 JST 2014
Kouhei Sutou 2014-04-07 17:00:39 +0900 (Mon, 07 Apr 2014) New Revision: 2562f073517155e84c17207e572db611f94985c4 https://github.com/droonga/fluent-plugin-droonga/commit/2562f073517155e84c17207e572db611f94985c4 Message: Add Droonga::VERSION It is for using version in code. Added files: lib/droonga/version.rb Modified files: fluent-plugin-droonga.gemspec Modified: fluent-plugin-droonga.gemspec (+6 -1) =================================================================== --- fluent-plugin-droonga.gemspec 2014-03-29 00:19:37 +0900 (a7cd107) +++ fluent-plugin-droonga.gemspec 2014-04-07 17:00:39 +0900 (4dde975) @@ -15,9 +15,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 +base_dir = File.dirname(__FILE__) +$LOAD_PATH.unshift(File.join(base_dir, "lib")) + +require "droonga/version" + Gem::Specification.new do |gem| gem.name = "fluent-plugin-droonga" - gem.version = "1.0.1" + gem.version = Droonga::VERSION gem.authors = ["Droonga Project"] gem.email = ["droonga �� groonga.org"] gem.description = "Droonga (distributed Groonga) plugin for Fluent event collector" Added: lib/droonga/version.rb (+18 -0) 100644 =================================================================== --- /dev/null +++ lib/droonga/version.rb 2014-04-07 17:00:39 +0900 (c12caa5) @@ -0,0 +1,18 @@ +# Copyright (C) 2014 Droonga Project +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License version 2.1 as published by the Free Software Foundation. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +module Droonga + VERSION = "1.0.1" +end -------------- next part -------------- HTML����������������������������...Download