-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
tty-progressbar.gemspec
39 lines (35 loc) · 1.83 KB
/
tty-progressbar.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# frozen_string_literal: true
require_relative "lib/tty/progressbar/version"
Gem::Specification.new do |spec|
spec.name = "tty-progressbar"
spec.version = TTY::ProgressBar::VERSION
spec.authors = ["Piotr Murach"]
spec.email = ["[email protected]"]
spec.summary = "A flexible and extensible progress bar for terminal applications."
spec.description = "Display a single or multiple progress bars in the terminal. A progress bar can show determinate or indeterminate progress that can be paused and resumed at any time. A bar format supports many tokens for common information display like elapsed time, estimated time to completion, mean rate and more."
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-progressbar/issues",
"changelog_uri" => "https://github.com/piotrmurach/tty-progressbar/blob/master/CHANGELOG.md",
"documentation_uri" => "https://www.rubydoc.info/gems/tty-progressbar",
"funding_uri" => "https://github.com/sponsors/piotrmurach",
"homepage_uri" => spec.homepage,
"rubygems_mfa_required" => "true",
"source_code_uri" => "https://github.com/piotrmurach/tty-progressbar"
}
end
spec.files = Dir["lib/**/*"]
spec.extra_rdoc_files = ["README.md", "CHANGELOG.md", "LICENSE.txt"]
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.0.0"
spec.add_dependency "strings-ansi", "~> 0.2"
spec.add_dependency "tty-cursor", "~> 0.7"
spec.add_dependency "tty-screen", "~> 0.8"
spec.add_dependency "unicode-display_width", ">= 1.6", "< 3.0"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec", ">= 3.0"
spec.add_development_dependency "timecop", "~> 0.9"
end