shellopts 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/TODO +6 -0
- data/lib/shellopts/version.rb +1 -1
- data/shellopts.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 405cc16b5b116eaecfbbf6bc3e7896b473380d710de246fe1d0db8957a0b37ad
|
4
|
+
data.tar.gz: f455be9f739a91cd3c809670985509a92d91115e92475a7d2c3d4fb46cf22a90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d148291a8658490359f0e9b4515e384f955bcb95ea81d88965dc6659bd3d6d0c7c46d07772ca7c77470a3e3b5e1b7b0261281d322670fdce90738a992d1ce3e8
|
7
|
+
data.tar.gz: da6f42af8a1cea71f2f75600200bffbb6c2f3859375cc19ddac137639b1019db7a830723089a419c0266deb3f2b6f4aa5753070b2e8626fe72cf0bd5d5bba5a8
|
data/TODO
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
|
2
2
|
TODO
|
3
|
+
o Check on return value from #process block to see if all options was handled:
|
4
|
+
case opt
|
5
|
+
when '-v'; verbose = true # Return value 'true' is ok
|
6
|
+
# Unhandled option means return value is nil
|
7
|
+
end
|
3
8
|
o Consolidate some of the 3 variations of #error and #fail
|
4
9
|
o Add a option flag for solitary options (--help)
|
5
10
|
o Make a #to_yaml
|
@@ -55,6 +60,7 @@ LATER
|
|
55
60
|
o Escape of separator in lists
|
56
61
|
o Handle output of subcommand usage like "cmd1 cmd1.cmd2 cmd2"
|
57
62
|
o Command-specific arguments: clone! o,opt ++ ARG1 ARG2...
|
63
|
+
o Hostname and email as basic types
|
58
64
|
|
59
65
|
ON TO_H BRANCH
|
60
66
|
ShellOpts.process(usage, argv) { |opt,val| ... } => args
|
data/lib/shellopts/version.rb
CHANGED
data/shellopts.gemspec
CHANGED
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
|
|
33
33
|
spec.require_paths = ["lib"]
|
34
34
|
|
35
35
|
spec.add_development_dependency "bundler", "~> 1.16"
|
36
|
-
spec.add_development_dependency "rake", "
|
36
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
37
37
|
spec.add_development_dependency "rspec", "~> 3.0"
|
38
38
|
spec.add_development_dependency "indented_io"
|
39
39
|
spec.add_development_dependency "simplecov"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shellopts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Claus Rasmussen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 12.3.3
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 12.3.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|