-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathview_component-contrib.gemspec
45 lines (37 loc) · 1.82 KB
/
view_component-contrib.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
# frozen_string_literal: true
require_relative "lib/view_component_contrib/version"
Gem::Specification.new do |s|
s.name = "view_component-contrib"
s.version = ViewComponentContrib::VERSION
s.authors = ["Vladimir Dementyev"]
s.email = ["[email protected]"]
s.homepage = "http://github.com/palkan/view_component-contrib"
s.summary = "A collection of extensions and developer tools for ViewComponent"
s.description = "A collection of extensions and developer tools for ViewComponent"
s.metadata = {
"bug_tracker_uri" => "http://github.com/palkan/view_component-contrib/issues",
"changelog_uri" => "https://github.com/palkan/view_component-contrib/blob/master/CHANGELOG.md",
"documentation_uri" => "http://github.com/palkan/view_component-contrib",
"homepage_uri" => "http://github.com/palkan/view_component-contrib",
"source_code_uri" => "http://github.com/palkan/view_component-contrib"
}
s.license = "MIT"
s.files = Dir.glob("app/**/*") + Dir.glob("lib/.rbnext/**/*") + Dir.glob("lib/**/*") + %w[README.md LICENSE.txt CHANGELOG.md]
s.require_paths = ["lib"]
s.required_ruby_version = ">= 2.7"
s.add_dependency "view_component"
# When gem is installed from source, we add `ruby-next` as a dependency
# to auto-transpile source files during the first load
if ENV["RELEASING_GEM"].nil? && File.directory?(File.join(__dir__, ".git"))
s.add_runtime_dependency "ruby-next", ">= 0.15.0"
else
s.add_dependency "ruby-next-core", ">= 0.15.0"
end
s.add_development_dependency "bundler", ">= 1.15"
s.add_development_dependency "capybara"
s.add_development_dependency "combustion", ">= 1.1"
s.add_development_dependency "minitest", "~> 5.0"
s.add_development_dependency "minitest-focus"
s.add_development_dependency "minitest-reporters"
s.add_development_dependency "rake", ">= 13.0"
end