-
Notifications
You must be signed in to change notification settings - Fork 7
/
example.gemspec
32 lines (26 loc) · 1.02 KB
/
example.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# frozen_string_literal: true
require_relative "lib/example/version"
Gem::Specification.new do |spec|
spec.name = "example"
spec.version = Example::VERSION
spec.authors = ["Example Owner"]
spec.email = ["[email protected]"]
spec.summary = ""
spec.homepage = "https://github.com/mattbrictson/gem"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.1"
spec.metadata = {
"bug_tracker_uri" => "https://github.com/mattbrictson/gem/issues",
"changelog_uri" => "https://github.com/mattbrictson/gem/releases",
"source_code_uri" => "https://github.com/mattbrictson/gem",
"homepage_uri" => spec.homepage,
"rubygems_mfa_required" => "true"
}
# Specify which files should be added to the gem when it is released.
spec.files = Dir.glob(%w[LICENSE.txt README.md {exe,lib}/**/*]).reject { |f| File.directory?(f) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
# Runtime dependencies
spec.add_dependency "thor", "~> 1.2"
end