-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlibclimate-ruby.gemspec
More file actions
79 lines (62 loc) · 2.14 KB
/
Copy pathlibclimate-ruby.gemspec
File metadata and controls
79 lines (62 loc) · 2.14 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# ######################################################################## #
# File: libclimate-ruby.gemspec
#
# Purpose: Gemspec for libCLImate.Ruby library
#
# Created: 1st March 2019
# Updated: 28th August 2026
#
# ######################################################################## #
$:.unshift File.join(File.dirname(__FILE__), 'lib')
require 'libclimate/version'
PROJECT_URL = 'https://github.com/synesissoftware/libCLImate.Ruby'
Gem::Specification.new do |spec|
spec.name = 'libclimate-ruby'
spec.summary = 'libCLImate, for Ruby'
spec.version = LibCLImate::VERSION
spec.description = <<END_DESC
libCLImate is a portable, lightweight mini-framework that encapsulates the common aspects of Command-Line Interface boilerplate, including:
- command-line argument parsing and sorting, into flags, options, and values;
- validating given and/or missing arguments;
- a declarative form of specifying the CLI elements for a program, including associating blocks with flag/option specifications;
- provision of de-facto standard CLI facilities, such as responding to '--help' and '--version';
libCLImate.Ruby is the Ruby version.
END_DESC
spec.authors = [
'Matt Wilson',
]
spec.email = [
'matthew@synesis.com.au',
]
spec.homepage = PROJECT_URL
spec.license = 'BSD-3-Clause'
spec.required_ruby_version = [ '>= 2.0' ]
spec.add_runtime_dependency "clasp-ruby", [ '~> 0.23', '>= 0.23.0.2' ]
spec.add_runtime_dependency "xqsr3", [ '>= 0.39.5', '< 1.0' ]
spec.metadata = {
'bug_tracker_uri' => "#{PROJECT_URL}/issues",
'changelog_uri' => "#{PROJECT_URL}/blob/master/CHANGES.md",
'homepage_uri' => PROJECT_URL,
'source_code_uri' => PROJECT_URL,
}
spec.files = Dir[
'Rakefile',
'{bin,examples,lib,man,spec,test}/**/*',
'AUTHORS*',
'CHANGES*',
'CONTRIBUTING*',
'EXAMPLES*',
'FAQ*',
'INSTALL*',
'LICENSE*',
'NEWS*',
'README*',
'SECURITY*',
'TODO*',
] & `git ls-files -z`.split("\0")
spec.files -= [
'.ruby-version',
'Gemfile.lock',
]
end
# ############################## end of file ############################# #