benry-cmdapp 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGES.md +8 -0
- data/MIT-LICENSE +21 -0
- data/README.md +2475 -0
- data/benry-cmdapp.gemspec +38 -0
- data/doc/benry-cmdapp.html +2314 -0
- data/doc/css/style.css +168 -0
- data/lib/benry/cmdapp.rb +1376 -0
- data/test/action_test.rb +1038 -0
- data/test/app_test.rb +1371 -0
- data/test/func_test.rb +137 -0
- data/test/help_test.rb +755 -0
- data/test/index_test.rb +185 -0
- data/test/run_all.rb +7 -0
- data/test/shared.rb +75 -0
- data/test/util_test.rb +189 -0
- metadata +98 -0
@@ -0,0 +1,38 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = "benry-cmdapp"
|
5
|
+
spec.version = "$Release: 0.1.0 $".split()[1]
|
6
|
+
spec.author = "kwatch"
|
7
|
+
spec.email = "kwatch@gmail.com"
|
8
|
+
spec.platform = Gem::Platform::RUBY
|
9
|
+
spec.homepage = "https://kwatch.github.io/benry-ruby/benry-cmdapp.html"
|
10
|
+
spec.summary = "Command-line application framework`"
|
11
|
+
spec.description = <<-"END"
|
12
|
+
Benry-CmdApp is a framework to create command-line application
|
13
|
+
like `git`, `docker`, or `npm` commands.
|
14
|
+
|
15
|
+
If you want create a command-line application which takes sub-commands,
|
16
|
+
Benry-CmdApp is the solution.
|
17
|
+
|
18
|
+
See #{spec.homepage} for details.
|
19
|
+
END
|
20
|
+
spec.license = "MIT"
|
21
|
+
spec.files = Dir[
|
22
|
+
"README.md", "MIT-LICENSE", "CHANGES.md",
|
23
|
+
"#{spec.name}.gemspec",
|
24
|
+
#"Rakefile.rb", "task/**/*.rb",,
|
25
|
+
"lib/**/*.rb", "test/**/*.rb",
|
26
|
+
#"bin/*", "examples/**/*",
|
27
|
+
"doc/*.html", "doc/css/*.css",
|
28
|
+
]
|
29
|
+
#spec.executables = []
|
30
|
+
spec.bindir = "bin"
|
31
|
+
spec.require_path = "lib"
|
32
|
+
spec.test_files = Dir["test/**/*_test.rb"] # or: ["test/run_all.rb"]
|
33
|
+
#spec.extra_rdoc_files = ["README.md", "CHANGES.md"]
|
34
|
+
|
35
|
+
spec.required_ruby_version = ">= 2.3"
|
36
|
+
spec.add_runtime_dependency "benry-cmdopt" , "~> 2"
|
37
|
+
spec.add_development_dependency "oktest" , "~> 1"
|
38
|
+
end
|