-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvident-view_component.gemspec
More file actions
36 lines (31 loc) · 1.26 KB
/
vident-view_component.gemspec
File metadata and controls
36 lines (31 loc) · 1.26 KB
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
require_relative "lib/vident/version"
Gem::Specification.new do |spec|
spec.name = "vident-view_component"
spec.version = Vident::VERSION
spec.authors = ["Stephen Ierodiaconou"]
spec.email = ["stevegeek@gmail.com"]
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 == "lib/vident-view_component.rb" ||
f.match?(%r{^lib/vident/view_component(\.rb|/)(?!caching)}) ||
f.match?(%r{^lib/generators/vident/view_component/}) ||
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", ">= 4.0", "< 5"
end