YouPlot/uplot.gemspec

27 lines
971 B
Ruby
Raw Normal View History

2020-07-28 22:07:15 +08:00
require_relative 'lib/uplot/version'
Gem::Specification.new do |spec|
2020-07-28 22:14:47 +08:00
spec.name = 'uplot'
2020-07-28 22:07:15 +08:00
spec.version = Uplot::VERSION
2020-07-28 22:14:47 +08:00
spec.authors = ['kojix2']
spec.email = ['2xijok@gmail.com']
2020-07-28 22:07:15 +08:00
2020-07-28 22:14:47 +08:00
spec.summary = 'Create Ascii charts on your terminal'
spec.description = 'Create Ascii charts on your terminal with pipeline'
spec.homepage = 'https://github.com/kojix2/uplot'
spec.license = 'MIT'
spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
2020-07-28 22:07:15 +08:00
2020-07-28 22:14:47 +08:00
spec.files = Dir.chdir(File.expand_path(__dir__)) do
2020-07-28 22:07:15 +08:00
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
2020-07-28 22:14:47 +08:00
spec.bindir = 'exe'
2020-07-28 22:07:15 +08:00
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2020-07-28 22:14:47 +08:00
spec.require_paths = ['lib']
spec.add_runtime_dependency 'unicode_plot'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'test-unit'
2020-07-28 22:07:15 +08:00
end