Sha256: e8cd616616101cd5dca808f62cd9a0822819ceca8b6c5421f6cf1679fd439fb0
Contents?: true
Size: 1.96 KB
Versions: 2
Compression:
Stored size: 1.96 KB
Contents
# -*- ruby -*- # # Copyright (C) 2017 Yasuhiro Horimoto <horimoto@clear-code.com> # Copyright (C) 2018 Kouhei Sutou <kou@clear-code.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'groonga-log/version' clean_white_space = lambda do |entry| entry.gsub(/(\A\n+|\n+\z)/, '') + "\n" end Gem::Specification.new do |spec| spec.name = "groonga-log" spec.version = GroongaLog::VERSION spec.authors = ["Horimoto Yasuhiro", "Kouhei Sutou"] spec.email = ["horimoto@clear-code.com", "kou@clear-code.com"] readme = File.read("README.md", :encoding => "UTF-8") entries = readme.split(/^\#\#\s(.*)$/) description = clean_white_space.call(entries[entries.index("Description") + 1]) spec.summary, spec.description, = description.split(/\n\n+/, 3) spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end spec.homepage = "https://github.com/groonga/groonga-log" spec.licenses = ["LGPLv2.1+"] spec.require_paths = ["lib"] spec.add_runtime_dependency "archive-zip" spec.add_development_dependency("bundler") spec.add_development_dependency("rake") spec.add_development_dependency("test-unit") end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
groonga-log-0.1.3 | groonga-log.gemspec |
groonga-log-0.1.2 | groonga-log.gemspec |