benry-cmdapp 0.1.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +14 -0
- data/README.md +1698 -857
- data/benry-cmdapp.gemspec +4 -6
- data/doc/benry-cmdapp.html +1587 -911
- data/lib/benry/cmdapp.rb +1894 -1059
- data/test/app_test.rb +882 -1078
- data/test/config_test.rb +71 -0
- data/test/context_test.rb +382 -0
- data/test/func_test.rb +302 -82
- data/test/help_test.rb +1054 -553
- data/test/metadata_test.rb +191 -0
- data/test/misc_test.rb +175 -0
- data/test/registry_test.rb +402 -0
- data/test/run_all.rb +4 -3
- data/test/scope_test.rb +1210 -0
- data/test/shared.rb +112 -49
- data/test/util_test.rb +154 -99
- metadata +21 -7
- data/test/action_test.rb +0 -1038
- data/test/index_test.rb +0 -185
data/benry-cmdapp.gemspec
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "benry-cmdapp"
|
5
|
-
spec.version = "$Release:
|
5
|
+
spec.version = "$Release: 1.0.0 $".split()[1]
|
6
6
|
spec.author = "kwatch"
|
7
7
|
spec.email = "kwatch@gmail.com"
|
8
8
|
spec.platform = Gem::Platform::RUBY
|
9
9
|
spec.homepage = "https://kwatch.github.io/benry-ruby/benry-cmdapp.html"
|
10
|
-
spec.summary = "Command-line application framework
|
10
|
+
spec.summary = "Command-line application framework"
|
11
11
|
spec.description = <<-"END"
|
12
12
|
Benry-CmdApp is a framework to create command-line application
|
13
13
|
like `git`, `docker`, or `npm` commands.
|
@@ -21,9 +21,7 @@ END
|
|
21
21
|
spec.files = Dir[
|
22
22
|
"README.md", "MIT-LICENSE", "CHANGES.md",
|
23
23
|
"#{spec.name}.gemspec",
|
24
|
-
|
25
|
-
"lib/**/*.rb", "test/**/*.rb",
|
26
|
-
#"bin/*", "examples/**/*",
|
24
|
+
"lib/**/*.rb", "test/**/*.rb", #"bin/*", "examples/**/*",
|
27
25
|
"doc/*.html", "doc/css/*.css",
|
28
26
|
]
|
29
27
|
#spec.executables = []
|
@@ -33,6 +31,6 @@ END
|
|
33
31
|
#spec.extra_rdoc_files = ["README.md", "CHANGES.md"]
|
34
32
|
|
35
33
|
spec.required_ruby_version = ">= 2.3"
|
36
|
-
spec.add_runtime_dependency "benry-cmdopt" , "~> 2"
|
34
|
+
spec.add_runtime_dependency "benry-cmdopt" , "~> 2", ">= 2.2.0"
|
37
35
|
spec.add_development_dependency "oktest" , "~> 1"
|
38
36
|
end
|