diff options
| author | Adam Malczewski <[email protected]> | 2026-03-31 00:50:17 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-03-31 00:50:17 +0900 |
| commit | 7221a9d38fcd29d89794bc3041f11c5358b3155e (patch) | |
| tree | 6f33ee6d9cbad1f891b034c3c05e9fbce7b73445 /dispatch-tools-interface.gemspec | |
| download | dispatch-tools-interface-main.tar.gz dispatch-tools-interface-main.zip | |
Diffstat (limited to 'dispatch-tools-interface.gemspec')
| -rw-r--r-- | dispatch-tools-interface.gemspec | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dispatch-tools-interface.gemspec b/dispatch-tools-interface.gemspec new file mode 100644 index 0000000..704705f --- /dev/null +++ b/dispatch-tools-interface.gemspec @@ -0,0 +1,38 @@ +# frozen_string_literal: true + +require_relative "lib/dispatch/tools/interface/version" + +Gem::Specification.new do |spec| + spec.name = "dispatch-tools-interface" + spec.version = Dispatch::Tools::Interface::VERSION + spec.authors = ["Adam Malczewski"] + spec.email = ["[email protected]"] + + spec.summary = "TODO: Write a short summary, because RubyGems requires one." + spec.description = "TODO: Write a longer description or delete this line." + spec.homepage = "TODO: Put your gem's website or public repo URL here." + spec.license = "MIT" + spec.required_ruby_version = ">= 3.2.0" + spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'" + spec.metadata["homepage_uri"] = spec.homepage + spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here." + + # Specify which files should be added to the gem when it is released. + # The `git ls-files -z` loads the files in the RubyGem that have been added into git. + gemspec = File.basename(__FILE__) + spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls| + ls.readlines("\x0", chomp: true).reject do |f| + (f == gemspec) || + f.start_with?(*%w[bin/ Gemfile .gitignore .rspec spec/ .rubocop.yml]) + end + end + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] + + # Uncomment to register a new dependency of your gem + # spec.add_dependency "example-gem", "~> 1.0" + + # For more information and examples about making a new gem, check out our + # guide at: https://bundler.io/guides/creating_gem.html +end |
