check_names 0.1.1 → 0.1.3
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/exe/check_names +6 -2
- data/lib/check_names/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b0874e995854cc533fb38818a5b9f089e6a4e0d7332d0c17fccc938c53cf0b3
|
4
|
+
data.tar.gz: 6f5e08486246c0e0eb450aa5a96e471bfe6a70a3d8f5019cb51d53b5dff2b890
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5b237cc2c4de5f6e8c300a1fbfd63d6bcd3a0f7104710b3f6d586fb29b564b62c64fb5a20a840a3beb6b431b27487700efefa76c1fc291336953886dc29cbe9
|
7
|
+
data.tar.gz: fb1ecdc704ecbeb204394e4f54aed1896d3879b6884e8cc5c3966bcae1a5df64d3a674a1623c16c77bcd579f717693a57a56edc67b21f3cf665793fa2e978c29
|
data/exe/check_names
CHANGED
@@ -32,10 +32,14 @@ of the following meanings:
|
|
32
32
|
4 You have a shell function with this name
|
33
33
|
5 You have an alias with this name
|
34
34
|
|
35
|
-
|
35
|
+
If more than one name was given, the return code is the maximum return code
|
36
|
+
received for any name.
|
37
|
+
|
38
|
+
The following options are available:
|
36
39
|
|
37
40
|
--help -h Print this help information
|
38
41
|
--verbose -v Print messages about the status of the name check
|
42
|
+
--verbose is the default if more than one name is given
|
39
43
|
HELP
|
40
44
|
end
|
41
45
|
|
@@ -47,7 +51,7 @@ def main(args)
|
|
47
51
|
show_help
|
48
52
|
exit
|
49
53
|
end
|
50
|
-
verbose ||=
|
54
|
+
verbose ||= args.size > 1
|
51
55
|
rc = 0
|
52
56
|
args.each do |arg|
|
53
57
|
status = GemName.check(arg)
|
data/lib/check_names/version.rb
CHANGED