-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathextoptparse.gemspec
44 lines (37 loc) · 1.65 KB
/
extoptparse.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
42
43
44
#!/usr/bin/env ruby
# -*- encoding: utf-8 -*-
# stub: EXTOPTPARSE ruby lib
=begin
Copyright 2017 Michal Papis <[email protected]>
This file is part of extoptparse.
Extoptparse is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Extoptparse is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with extoptparse. If not, see <http://www.gnu.org/licenses/>.
=end
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "extoptparse/version"
Gem::Specification.new do |s|
s.license = "AGPL-3.0"
s.email = ["[email protected]"]
s.authors = ["Michal Papis" ]
s.version = EXT_OPT_PARSE_VERSION.dup
s.name = "extoptparse"
s.summary = "Extended Ruby's OptionParser with grouping of options."
s.homepage = "https://github.com/rvm/extoptparse"
s.files = Dir["lib/**/*.rb", "*.md", "LICENSE"]
s.required_ruby_version = ">= 1.9.3"
s.required_rubygems_version = ">= 2.0.0"
s.add_development_dependency("rake", "~> 12.0")
s.add_development_dependency("rubocop", "~> 0.49") if RUBY_VERSION>="2.0.0"
s.add_development_dependency("minitest", "~> 5.10")
s.add_development_dependency("minitest-reporters", "~> 1.1")
# s.add_development_dependency("smf-gem")
end