-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvident-view_component.gemspec
35 lines (30 loc) · 1.2 KB
/
vident-view_component.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
require_relative "lib/vident/version"
require_relative "lib/vident/view_component/version"
Gem::Specification.new do |spec|
spec.name = "vident-view_component"
spec.version = Vident::VERSION
spec.authors = ["Stephen Ierodiaconou"]
spec.email = ["[email protected]"]
spec.homepage = "https://github.com/stevegeek/vident"
spec.summary = "Vident with ViewComponent"
spec.description = "Vident with ViewComponent"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.2.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = spec.homepage + "/blob/main/CHANGELOG.md"
spec.files = Dir.chdir(File.expand_path(__dir__)) do
files = `git ls-files -z`.split("\x0")
# Only include files relevant to this gem
files.select do |f|
f.match?(%r{^(lib/vident/view_component(?!/caching))}) ||
f == "README.md" ||
f == "LICENSE.txt" ||
f == "CHANGELOG.md"
end
end
spec.add_dependency "railties", ">= 7.2", "< 9"
spec.add_dependency "activesupport", ">= 7.2", "< 9"
spec.add_dependency "vident", "~> #{Vident::VERSION}"
spec.add_dependency "view_component", ">= 2.74.1", "< 4"
end