| 1 |
# frozen_string_literal: true |
| 2 |
|
| 3 |
require_relative "lib/tty/color/version" |
| 4 |
|
| 5 |
Gem::Specification.new do |spec| |
| 6 |
spec.name = "tty-color" |
| 7 |
spec.version = TTY::Color::VERSION |
| 8 |
spec.authors = ["Piotr Murach"] |
| 9 |
spec.email = ["[email protected]"] |
| 10 |
spec.summary = %q{Terminal color capabilities detection} |
| 11 |
spec.description = %q{Terminal color capabilities detection} |
| 12 |
spec.homepage = "https://ttytoolkit.org" |
| 13 |
spec.license = "MIT" |
| 14 |
if spec.respond_to?(:metadata=) |
| 15 |
spec.metadata = { |
| 16 |
"allowed_push_host" => "https://rubygems.org", |
| 17 |
"bug_tracker_uri" => "https://github.com/piotrmurach/tty-color/issues", |
| 18 |
"changelog_uri" => "https://github.com/piotrmurach/tty-color/blob/master/CHANGELOG.md", |
| 19 |
"documentation_uri" => "https://www.rubydoc.info/gems/tty-color", |
| 20 |
"homepage_uri" => spec.homepage, |
| 21 |
"source_code_uri" => "https://github.com/piotrmurach/tty-color" |
| 22 |
} |
| 23 |
end |
| 24 |
spec.files = Dir["lib/**/*"] |
| 25 |
spec.extra_rdoc_files = ["README.md", "CHANGELOG.md", "LICENSE.txt"] |
| 26 |
spec.bindir = "exe" |
| 27 |
spec.require_paths = ["lib"] |
| 28 |
spec.required_ruby_version = ">= 2.0.0" |
| 29 |
|
| 30 |
spec.add_development_dependency "rake" |
| 31 |
spec.add_development_dependency "rspec", ">= 3.0" |
| 32 |
end |