-
Notifications
You must be signed in to change notification settings - Fork 111
/
packwerk.gemspec
55 lines (43 loc) · 1.72 KB
/
packwerk.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# frozen_string_literal: true
require_relative "lib/packwerk/version"
Gem::Specification.new do |spec|
spec.name = "packwerk"
spec.version = Packwerk::VERSION
spec.authors = ["Shopify Inc."]
spec.email = ["gems@shopify.com"]
spec.summary = "Packages for applications based on the zeitwerk autoloader"
spec.description = <<~DESCRIPTION
Sets package level boundaries between a specified set of ruby
constants to minimize cross-boundary referencing and dependency.
DESCRIPTION
spec.homepage = "https://github.com/Shopify/packwerk"
spec.license = "MIT"
if spec.respond_to?(:metadata)
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/Shopify/packwerk"
spec.metadata["changelog_uri"] = "https://github.com/Shopify/packwerk/releases"
end
if spec.respond_to?(:metadata)
spec.metadata["allowed_push_host"] = "https://rubygems.org"
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end
spec.bindir = "exe"
spec.executables << "packwerk"
spec.files = Dir["CHANGELOG.md", "LICENSE.md", "README.md", "lib/**/*", "sorbet/**/*"]
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 3.1"
spec.add_dependency("activesupport", ">= 6.0")
spec.add_dependency("bundler")
spec.add_dependency("constant_resolver", ">= 0.2.0")
spec.add_dependency("parallel")
spec.add_dependency("sorbet-runtime", ">= 0.5.9914")
spec.add_dependency("zeitwerk", ">= 2.6.1")
# For Ruby parsing
spec.add_dependency("ast")
spec.add_dependency("parser")
spec.add_dependency("prism", ">= 0.25.0")
# For ERB parsing
spec.add_dependency("better_html")
end