Navigation Menu

Skip to content

Commit

Permalink
Add Droonga::VERSION
Browse files Browse the repository at this point in the history
It is for using version in code.
  • Loading branch information
kou committed Apr 7, 2014
1 parent bc6e924 commit 2562f07
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fluent-plugin-droonga.gemspec
Expand Up @@ -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"
Expand Down
18 changes: 18 additions & 0 deletions lib/droonga/version.rb
@@ -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

0 comments on commit 2562f07

Please sign in to comment.