.gemspec
について
sample_gem.gemspec
Gem::Specification.new do |spec|
spec.name = "sample_gem"
spec.version = "Gemのバージョン"
spec.authors = ["作成者"]
spec.email = ["メールアドレス"]
spec.homepage = "ホームページ"
spec.summary = "要約"
spec.license = "ライセンス"
spec.metadata = {
"bug_tracker_uri" => "https://github.com/username/sample_gem/issues",
"documentation_uri" => "https://github.com/username/sample_gem",
"label" => "Gem名",
"rubygems_mfa_required" => "真偽値",
"source_code_uri" => "https://github.com/username/sample_gem"
}
spec.signing_key = Gem.default_key_path
spec.cert_chain = [Gem.default_cert_path]
spec.required_ruby_version = "~> 3.1"
spec.add_dependency "auto_injector", "~> 0.5"
spec.add_dependency "cogger", "~> 0.2"
spec.add_dependency "dry-container", "~> 0.10"
spec.add_dependency "git_plus", "~> 1.4"
spec.add_dependency "pastel", "~> 0.8"
spec.add_dependency "refinements", "~> 9.6"
spec.add_dependency "runcom", "~> 8.5"
spec.add_dependency "spek", "~> 0.3"
spec.add_dependency "zeitwerk", "~> 2.5"
spec.bindir = "exe"
spec.executables << "sample-gem"
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
spec.files = Dir["*.gemspec", "lib/**/*"]
end