Skip to content

Commit

Permalink
Change the gemspec to improve formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Mar 2, 2024
1 parent 122e0dd commit 994f8d9
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions tty-prompt.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,33 @@
require_relative "lib/tty/prompt/version"

Gem::Specification.new do |spec|
spec.name = "tty-prompt"
spec.version = TTY::Prompt::VERSION
spec.authors = ["Piotr Murach"]
spec.email = ["piotr@piotrmurach.com"]
spec.summary = %q{A beautiful and powerful interactive command line prompt.}
spec.description = %q{A beautiful and powerful interactive command line prompt with a robust API for getting and validating complex inputs.}
spec.homepage = "https://ttytoolkit.org"
spec.license = "MIT"
if spec.respond_to?(:metadata=)
spec.metadata = {
"allowed_push_host" => "https://rubygems.org",
"bug_tracker_uri" => "https://github.com/piotrmurach/tty-prompt/issues",
"changelog_uri" => "https://github.com/piotrmurach/tty-prompt/blob/master/CHANGELOG.md",
"documentation_uri" => "https://www.rubydoc.info/gems/tty-prompt",
"funding_uri" => "https://github.com/sponsors/piotrmurach",
"homepage_uri" => spec.homepage,
"rubygems_mfa_required" => "true",
"source_code_uri" => "https://github.com/piotrmurach/tty-prompt"
}
end
spec.files = Dir["lib/**/*"]
spec.extra_rdoc_files = Dir["README.md", "CHANGELOG.md", "LICENSE.txt"]
spec.name = "tty-prompt"
spec.version = TTY::Prompt::VERSION
spec.authors = ["Piotr Murach"]
spec.email = ["piotr@piotrmurach.com"]
spec.summary = "A beautiful and powerful interactive command line prompt."
spec.description = "A beautiful and powerful interactive command line " \
"prompt with a robust API for getting and validating " \
"complex inputs."
spec.homepage = "https://ttytoolkit.org"
spec.license = "MIT"
spec.metadata = {
"allowed_push_host" => "https://rubygems.org",
"bug_tracker_uri" => "https://github.com/piotrmurach/tty-prompt/issues",
"changelog_uri" =>
"https://github.com/piotrmurach/tty-prompt/blob/master/CHANGELOG.md",
"documentation_uri" => "https://www.rubydoc.info/gems/tty-prompt",
"funding_uri" => "https://github.com/sponsors/piotrmurach",
"homepage_uri" => spec.homepage,
"rubygems_mfa_required" => "true",
"source_code_uri" => "https://github.com/piotrmurach/tty-prompt"
}
spec.files = Dir["lib/**/*"]
spec.extra_rdoc_files = Dir["CHANGELOG.md", "LICENSE.txt", "README.md"]
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.0.0"

spec.add_dependency "pastel", "~> 0.8"
spec.add_dependency "pastel", "~> 0.8"
spec.add_dependency "tty-reader", "~> 0.8"

spec.add_development_dependency "rake"
Expand Down

0 comments on commit 994f8d9

Please sign in to comment.