-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathseams.gemspec
More file actions
42 lines (34 loc) · 1.74 KB
/
Copy pathseams.gemspec
File metadata and controls
42 lines (34 loc) · 1.74 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
# frozen_string_literal: true
require_relative "lib/seams/version"
Gem::Specification.new do |spec|
spec.name = "seams"
spec.version = Seams::VERSION
spec.authors = ["David Silva"]
spec.email = ["davidslv@users.noreply.github.com"]
spec.summary = "CLI framework that generates modular Rails engines."
spec.description = "Seams is a CLI framework for building Rails applications as a " \
"modular monolith. It generates isolated Rails engines with " \
"proper namespace isolation, contract tests, dummy apps, and " \
"boundary enforcement — without the operational cost of microservices."
spec.homepage = "https://davidslv.uk/modular-rails/"
spec.license = "MIT"
spec.required_ruby_version = ">= 4.0.0"
# homepage_uri (the book's canonical "what is this" page) and
# source_code_uri (this repo) deliberately differ so the
# rubygems.org page shows two distinct destinations.
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/Davidslv/seams"
spec.metadata["changelog_uri"] = "https://github.com/Davidslv/seams/blob/main/CHANGELOG.md"
spec.metadata["bug_tracker_uri"] = "https://github.com/Davidslv/seams/issues"
spec.metadata["rubygems_mfa_required"] = "true"
spec.files = Dir.chdir(File.expand_path(__dir__)) do
Dir["{lib,exe}/**/*", "LICENSE", "README.md", "CHANGELOG.md"].reject { |f| File.directory?(f) }
end
spec.bindir = "exe"
spec.executables = Dir.chdir(File.expand_path(__dir__)) do
Dir["exe/*"].map { |f| File.basename(f) }
end
spec.require_paths = ["lib"]
spec.add_dependency "rails", ">= 7.1", "< 9.0"
spec.add_dependency "thor", ">= 1.0"
end