-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the gemspec to improve formatting
- Loading branch information
1 parent
960b712
commit 7f9f748
Showing
1 changed file
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,30 +3,31 @@ | |
require_relative "lib/tty/screen/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "tty-screen" | ||
spec.version = TTY::Screen::VERSION | ||
spec.authors = ["Piotr Murach"] | ||
spec.email = ["[email protected]"] | ||
spec.summary = %q{Terminal screen size detection which works on Linux, OS X and Windows/Cygwin platforms and supports MRI, JRuby, TruffleRuby and Rubinius interpreters.} | ||
spec.description = %q{Terminal screen size detection which works on Linux, OS X and Windows/Cygwin platforms and supports MRI, JRuby, TruffleRuby and Rubinius interpreters.} | ||
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-screen/issues", | ||
"changelog_uri" => "https://github.com/piotrmurach/tty-screen/blob/master/CHANGELOG.md", | ||
"documentation_uri" => "https://www.rubydoc.info/gems/tty-screen", | ||
"funding_uri" => "https://github.com/sponsors/piotrmurach", | ||
"homepage_uri" => spec.homepage, | ||
"rubygems_mfa_required" => "true", | ||
"source_code_uri" => "https://github.com/piotrmurach/tty-screen" | ||
} | ||
end | ||
spec.files = Dir["lib/**/*"] | ||
spec.name = "tty-screen" | ||
spec.version = TTY::Screen::VERSION | ||
spec.authors = ["Piotr Murach"] | ||
spec.email = ["[email protected]"] | ||
spec.summary = "Terminal screen size detection." | ||
spec.description = "Terminal screen size detection that works on Linux, " \ | ||
"OS X and Windows/Cygwin platforms and supports MRI, " \ | ||
"JRuby, TruffleRuby and Rubinius interpreters." | ||
spec.homepage = "https://ttytoolkit.org" | ||
spec.license = "MIT" | ||
spec.metadata = { | ||
"allowed_push_host" => "https://rubygems.org", | ||
"bug_tracker_uri" => "https://github.com/piotrmurach/tty-screen/issues", | ||
"changelog_uri" => | ||
"https://github.com/piotrmurach/tty-screen/blob/master/CHANGELOG.md", | ||
"documentation_uri" => "https://www.rubydoc.info/gems/tty-screen", | ||
"funding_uri" => "https://github.com/sponsors/piotrmurach", | ||
"homepage_uri" => spec.homepage, | ||
"rubygems_mfa_required" => "true", | ||
"source_code_uri" => "https://github.com/piotrmurach/tty-screen" | ||
} | ||
spec.files = Dir["lib/**/*"] | ||
spec.extra_rdoc_files = ["README.md", "CHANGELOG.md", "LICENSE.txt"] | ||
spec.require_paths = ["lib"] | ||
spec.required_ruby_version = Gem::Requirement.new(">= 2.0.0") | ||
spec.required_ruby_version = ">= 2.0.0" | ||
|
||
spec.add_development_dependency "rake" | ||
spec.add_development_dependency "rspec", ">= 3.0" | ||
|