-
Notifications
You must be signed in to change notification settings - Fork 87
/
hammer_cli.gemspec
41 lines (33 loc) · 1.35 KB
/
hammer_cli.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
40
41
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "hammer_cli/version"
Gem::Specification.new do |s|
s.name = "hammer_cli"
s.version = HammerCLI.version.dup
s.platform = Gem::Platform::RUBY
s.authors = ["Martin Bačovský", "Tomáš Strachota"]
s.email = "[email protected]"
s.homepage = "https://github.com/theforeman/hammer-cli"
s.license = "GPL-3.0-only"
s.summary = %q{Universal command-line interface}
s.description = <<EOF
Hammer cli provides universal extendable CLI interface for ruby apps
EOF
locales = Dir['locale/*'].select { |f| File.directory?(f) }
s.files = Dir['{lib,test,bin,doc,config}/**/*', 'LICENSE', 'README*'] +
locales.map { |loc| "#{loc}/LC_MESSAGES/hammer-cli.mo" } +
['locale/Makefile.def', 'man/hammer.1.gz']
s.test_files = Dir['test/**/*']
s.extra_rdoc_files = Dir['{doc,config}/**/*', 'README*']
s.require_paths = ["lib"]
s.executables = ['hammer', 'hammer-complete']
s.required_ruby_version = '>= 2.7'
s.add_dependency 'clamp', '>= 1.3.1', '< 2.0.0'
s.add_dependency 'logging'
s.add_dependency 'unicode-display_width'
s.add_dependency 'amazing_print'
s.add_dependency 'highline'
s.add_dependency 'fast_gettext'
s.add_dependency 'locale', '>= 2.0.6'
s.add_dependency 'apipie-bindings', '>= 0.6.0'
end