-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrailstart.gemspec
More file actions
43 lines (37 loc) · 1.6 KB
/
Copy pathrailstart.gemspec
File metadata and controls
43 lines (37 loc) · 1.6 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
37
38
39
40
41
42
43
# frozen_string_literal: true
require_relative "lib/railstart/version"
Gem::Specification.new do |spec|
spec.name = "railstart"
spec.version = Railstart::VERSION
spec.authors = ["dpaluy"]
spec.email = ["dpaluy@users.noreply.github.com"]
spec.summary = "Rails application starter and development utilities"
spec.description = "Interactive CLI wizard for Rails app generation with customizable config"
spec.homepage = "https://github.com/dpaluy/railstart"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.2.0"
spec.metadata["rubygems_mfa_required"] = "true"
spec.metadata["documentation_uri"] = "https://rubydoc.info/gems/railstart"
spec.metadata["source_code_uri"] = "https://github.com/dpaluy/railstart"
spec.metadata["changelog_uri"] = "https://github.com/dpaluy/railstart/blob/master/CHANGELOG.md"
spec.metadata["bug_tracker_uri"] = "https://github.com/dpaluy/railstart/issues"
gemspec = File.basename(__FILE__)
excluded_prefixes = %w[
bin/ Gemfile .gitignore .ruby-version test/ .github/ .rubocop.yml
docs/ .agents/ .omx/ examples/
]
spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls|
ls.readlines("\x0", chomp: true).reject do |f|
(f == gemspec) ||
(f == "AGENTS.md") ||
f.start_with?(*excluded_prefixes)
end
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.add_dependency "thor"
spec.add_dependency "tty-box"
spec.add_dependency "tty-prompt"
spec.require_paths = ["lib"]
spec.extra_rdoc_files = Dir["README.md", "CHANGELOG.md", "LICENSE.txt"]
end