gemspec: add summary, description

This commit is contained in:
0x1eef 2024-04-26 21:41:28 -03:00
parent cb9e4b4fe2
commit 54fe0f7ee3
8 changed files with 26 additions and 16 deletions

View file

@ -15,8 +15,9 @@ Gem::Specification.new do |gem|
*Dir.glob(File.join(__dir__, "bin", "*"))
].select { File.file?(_1) }
gem.require_paths = ["lib"]
gem.summary = "Command-line interface"
gem.description = gem.summary
gem.summary = "Provides the CLI component of twenty"
gem.description = "#{gem.summary}. " \
"See https://rubygems.org/gems/twenty for context."
gem.executables = ["twenty"]
gem.add_runtime_dependency "cmd.rb", "~> 0.5"
gem.add_runtime_dependency "paint", "~> 2.3"

View file

@ -15,8 +15,9 @@ Gem::Specification.new do |gem|
*Dir.glob(File.join(__dir__, "bin", "*"))
].select { File.file?(_1) }
gem.require_paths = ["lib"]
gem.summary = "Command-line interface"
gem.description = gem.summary
gem.summary = "Provides the CLI component of <%= parent %>"
gem.description = "#{gem.summary}. " \
"See https://rubygems.org/gems/<%= parent %> for context."
gem.executables = ["<%= parent %>"]
gem.add_runtime_dependency "cmd.rb", "~> 0.5"
gem.add_runtime_dependency "paint", "~> 2.3"

View file

@ -12,8 +12,10 @@ Gem::Specification.new do |gem|
.flat_map { Dir.glob(_1.chomp) }
.select { File.file?(_1) }
gem.require_paths = ["lib"]
gem.summary = "HTTP client"
gem.description = gem.summary
gem.summary = "Provides the client component of twenty"
gem.description = "#{gem.summary}. " \
"Static content (HTML, CSS, JS). " \
"See https://rubygems.org/gems/twenty for context."
gem.add_development_dependency "nanoc", "~> 4.12"
gem.add_development_dependency "sass", "~> 3.7"
gem.add_development_dependency "rainpress", "~> 1.0"

View file

@ -12,8 +12,10 @@ Gem::Specification.new do |gem|
.flat_map { Dir.glob(_1.chomp) }
.select { File.file?(_1) }
gem.require_paths = ["lib"]
gem.summary = "HTTP client"
gem.description = gem.summary
gem.summary = "Provides the client component of <%= parent %>"
gem.description = "#{gem.summary}. " \
"Static content (HTML, CSS, JS). " \
"See https://rubygems.org/gems/<%= parent %> for context."
gem.add_development_dependency "nanoc", "~> 4.12"
gem.add_development_dependency "sass", "~> 3.7"
gem.add_development_dependency "rainpress", "~> 1.0"

View file

@ -14,8 +14,9 @@ Gem::Specification.new do |gem|
*Dir.glob(File.join(__dir__, "share", "**", "*")),
].select { File.file?(_1) }
gem.require_paths = ["lib"]
gem.summary = "HTTP server"
gem.description = gem.summary
gem.summary = "Provides the server component of twenty"
gem.description = "#{gem.summary}. " \
"See https://rubygems.org/gems/twenty for context."
gem.add_runtime_dependency "sequel", "~> 5.78"
gem.add_runtime_dependency "sqlite3", "~> 1.6"
gem.add_runtime_dependency "graphql", "~> 2.2"

View file

@ -14,8 +14,9 @@ Gem::Specification.new do |gem|
*Dir.glob(File.join(__dir__, "share", "**", "*")),
].select { File.file?(_1) }
gem.require_paths = ["lib"]
gem.summary = "HTTP server"
gem.description = gem.summary
gem.summary = "Provides the server component of <%= parent %>"
gem.description = "#{gem.summary}. " \
"See https://rubygems.org/gems/<%= parent %> for context."
gem.add_runtime_dependency "sequel", "~> 5.78"
gem.add_runtime_dependency "sqlite3", "~> 1.6"
gem.add_runtime_dependency "graphql", "~> 2.2"

View file

@ -10,8 +10,9 @@ Gem::Specification.new do |gem|
gem.files = [
*Dir.glob(File.join(__dir__, "host", "lib", "*.rb")),
].select { File.file?(_1) }
gem.summary = "Minimal project management that runs on your computer"
gem.description = gem.summary
gem.summary = "A standalone web application"
gem.description = "#{gem.summary}. " \
"This gem depends on twenty-cli, twenty-client, and twenty-server."
gem.add_runtime_dependency "twenty-server", "0.5.3"
gem.add_runtime_dependency "twenty-client", "0.5.3"
gem.add_runtime_dependency "twenty-cli", "0.5.3"

View file

@ -10,8 +10,9 @@ Gem::Specification.new do |gem|
gem.files = [
*Dir.glob(File.join(__dir__, "host", "lib", "*.rb")),
].select { File.file?(_1) }
gem.summary = "Minimal project management that runs on your computer"
gem.description = gem.summary
gem.summary = "A standalone web application"
gem.description = "#{gem.summary}. " \
"This gem depends on <%= parent %>-cli, <%= parent %>-client, and <%= parent %>-server."
gem.add_runtime_dependency "<%= parent %>-server", "<%= version %>"
gem.add_runtime_dependency "<%= parent %>-client", "<%= version %>"
gem.add_runtime_dependency "<%= parent %>-cli", "<%= version %>"