-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathorthoses.gemspec
33 lines (26 loc) · 941 Bytes
/
orthoses.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
33
# frozen_string_literal: true
require_relative "lib/orthoses/version"
Gem::Specification.new do |spec|
spec.name = "orthoses"
spec.version = Orthoses::VERSION
spec.authors = ["ksss"]
spec.email = ["[email protected]"]
spec.summary = "Framework for Generate RBS"
spec.description = "Build RBS by Rack base architecture"
spec.homepage = "https://github.com/ksss/orthoses"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.1.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.files = Dir.chdir(File.expand_path(__dir__)) do
[
%w[CODE_OF_CONDUCT.md LICENSE.txt README.md],
Dir.glob("lib/**/*.rb").grep_v(/_test\.rb\z/),
Dir.glob("sig/**/*.rbs")
].flatten
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "rbs", "~> 3.0"
end