-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmygem.gemspec
31 lines (27 loc) · 921 Bytes
/
mygem.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
# frozen_string_literal: true
require_relative 'lib/mygem/version'
Gem::Specification.new do|spec|
spec.name = 'mygem'
spec.summary = ''
spec.version = MyGem::VERSION
spec.author = 'AUTHOR'
spec.license = ''
github_account = spec.author
github = "https://github.com/#{github_account}/#{spec.name}"
spec.metadata = {
'homepage_uri' => spec.homepage = github,
'changelog_uri' => File.join(github, 'releases'),
'bug_tracker_uri' => File.join(github, 'issues'),
'wiki_uri' => File.join(github, 'wiki'),
'funding_uri' => "https://github.com/sponsors/#{github_account}",
'documentation_uri' => "https://rubydoc.info/gems/#{spec.name}"
}
spec.files = Dir['**/*'].grep_v Regexp.union *%w[
test/
Gemfile
rbs_collection.yaml
Steepfile
]
spec.required_ruby_version = '~> 3.1'
#spec.add_dependency 'dependency_gem', '~> 2.1.0'
end