lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

Gem::Specification.new do |spec|
  spec.name    = "<%= gem_name %>"
  spec.version = "0.1.0"
  spec.authors = ["<%= user_name %>"]
  spec.email   = ["<%= user_email %>"]

  spec.summary       = %q{TODO: Write a short summary, because Rubygems requires one.}
  spec.description   = %q{TODO: Write a longer description or delete this line.}
  spec.homepage      = "TODO: Put your gem's website or public repo URL here."
  spec.license       = "<%= @license.name %>"

  spec.files         = Dir.chdir(__dir__) do
    `git ls-files -z`.split("\x0").reject do |f|
      (File.expand_path(f) == __FILE__) ||
        f.start_with?(*%w[test/ spec/ features/ .git .circleci appveyor Gemfile])
    end
  end
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> <%= bundler_version %>"
  spec.add_development_dependency "rake", "~> <%= rake_version %>"
  spec.add_development_dependency "test-unit", "~> <%= test_unit_version %>"
  spec.add_runtime_dependency "fluentd", [">= 0.14.10", "< 2"]
end
