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 Dec 20, 2023
1 parent e3c19a0 commit 53a6e82
Showing 1 changed file with 21 additions and 22 deletions.
43 changes: 21 additions & 22 deletions tty-color.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,28 @@
require_relative "lib/tty/color/version"

Gem::Specification.new do |spec|
spec.name = "tty-color"
spec.version = TTY::Color::VERSION
spec.authors = ["Piotr Murach"]
spec.email = ["piotr@piotrmurach.com"]
spec.summary = %q{Terminal color capabilities detection}
spec.description = %q{Terminal color capabilities detection}
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-color/issues",
"changelog_uri" => "https://github.com/piotrmurach/tty-color/blob/master/CHANGELOG.md",
"documentation_uri" => "https://www.rubydoc.info/gems/tty-color",
"funding_uri" => "https://github.com/sponsors/piotrmurach",
"homepage_uri" => spec.homepage,
"rubygems_mfa_required" => "true",
"source_code_uri" => "https://github.com/piotrmurach/tty-color"
}
end
spec.files = Dir["lib/**/*"]
spec.name = "tty-color"
spec.version = TTY::Color::VERSION
spec.authors = ["Piotr Murach"]
spec.email = ["piotr@piotrmurach.com"]
spec.summary = "Terminal color capabilities detection."
spec.description = "Terminal color capabilities detection."
spec.homepage = "https://ttytoolkit.org"
spec.license = "MIT"
spec.metadata = {
"allowed_push_host" => "https://rubygems.org",
"bug_tracker_uri" => "https://github.com/piotrmurach/tty-color/issues",
"changelog_uri" =>
"https://github.com/piotrmurach/tty-color/blob/master/CHANGELOG.md",
"documentation_uri" => "https://www.rubydoc.info/gems/tty-color",
"funding_uri" => "https://github.com/sponsors/piotrmurach",
"homepage_uri" => spec.homepage,
"rubygems_mfa_required" => "true",
"source_code_uri" => "https://github.com/piotrmurach/tty-color"
}
spec.files = Dir["lib/**/*"]
spec.extra_rdoc_files = ["README.md", "CHANGELOG.md", "LICENSE.txt"]
spec.bindir = "exe"
spec.bindir = "exe"
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.0.0"

Expand Down

0 comments on commit 53a6e82

Please sign in to comment.