|
| 1 | +# frozen_string_literal: true |
| 2 | + |
| 3 | +require_relative "lib/fluent/tail_checker/version" |
| 4 | + |
| 5 | +Gem::Specification.new do |spec| |
| 6 | + spec.name = "fluent-tail_checker" |
| 7 | + spec.version = Fluent::TailChecker::VERSION |
| 8 | + spec.authors = ["Daijiro Fukuda"] |
| 9 | + spec.email = ["fukuda@clear-code.com"] |
| 10 | + |
| 11 | + spec.summary = "TODO: Write a short summary, because RubyGems requires one." |
| 12 | + spec.description = "TODO: Write a longer description or delete this line." |
| 13 | + spec.homepage = "TODO: Put your gem's website or public repo URL here." |
| 14 | + spec.required_ruby_version = ">= 3.1.0" |
| 15 | + |
| 16 | + spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'" |
| 17 | + |
| 18 | + spec.metadata["homepage_uri"] = spec.homepage |
| 19 | + spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here." |
| 20 | + spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here." |
| 21 | + |
| 22 | + # Specify which files should be added to the gem when it is released. |
| 23 | + # The `git ls-files -z` loads the files in the RubyGem that have been added into git. |
| 24 | + gemspec = File.basename(__FILE__) |
| 25 | + spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls| |
| 26 | + ls.readlines("\x0", chomp: true).reject do |f| |
| 27 | + (f == gemspec) || |
| 28 | + f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile]) |
| 29 | + end |
| 30 | + end |
| 31 | + spec.bindir = "exe" |
| 32 | + spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } |
| 33 | + spec.require_paths = ["lib"] |
| 34 | + |
| 35 | + # Uncomment to register a new dependency of your gem |
| 36 | + # spec.add_dependency "example-gem", "~> 1.0" |
| 37 | + |
| 38 | + # For more information and examples about making a new gem, check out our |
| 39 | + # guide at: https://bundler.io/guides/creating_gem.html |
| 40 | +end |
0 commit comments