-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathwhirly.gemspec
26 lines (21 loc) · 1.03 KB
/
whirly.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
# -*- encoding: utf-8 -*-
require File.dirname(__FILE__) + "/lib/whirly/version"
Gem::Specification.new do |gem|
gem.name = "whirly"
gem.version = Whirly::VERSION
gem.summary = "Whirly: The friendly terminal spinner"
gem.description = "Simple terminal spinner with support for custom spinners. Includes spinners from npm's cli-spinners."
gem.authors = ["Jan Lelis"]
gem.email = ["[email protected]"]
gem.homepage = "https://github.com/janlelis/whirly"
gem.license = "MIT"
gem.files = Dir["{**/}{.*,*}"].select{ |path| File.file?(path) && path !~ /^(pkg|data)/ } + %w[
data/cli-spinners.json
data/whirly-static-spinners.json
]
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.add_dependency "unicode-display_width", ">= 1.1"
gem.required_ruby_version = ">= 2.0", "< 4.0"
end