-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlibCLImate.gemspec
More file actions
44 lines (34 loc) · 1.63 KB
/
Copy pathlibCLImate.gemspec
File metadata and controls
44 lines (34 loc) · 1.63 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
# ######################################################################### #
# File: libclimate.gemspec
#
# Purpose: Gemspec for libCLImate.Ruby library
#
# Created: 1st March 2019
# Updated: 30th July 2026
#
# ######################################################################### #
$:.unshift File.join(File.dirname(__FILE__), 'lib')
require 'libclimate'
require 'date'
Gem::Specification.new do |spec|
spec.name = 'libclimate-ruby'
spec.version = LibCLImate::VERSION
spec.date = Date.today.to_s
spec.summary = 'libCLImate.Ruby'
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 = 'https://github.com/synesissoftware/libCLImate.Ruby'
spec.license = 'BSD-3-Clause'
spec.required_ruby_version = [ '>= 2.0', '< 4' ]
spec.add_runtime_dependency 'clasp-ruby', [ '~> 0.23', '>= 0.23.0.2' ]
spec.add_runtime_dependency 'xqsr3', [ '~> 0.39' ]
spec.files = Dir[ 'Rakefile', '{bin,examples,lib,man,spec,test}/**/*', 'README*', 'LICENSE*' ] & `git ls-files -z`.split("\0")
end