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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b702b769ffe7514d1ae9f63a275cdb6ab0ffc693dc2a6e6c3504591f64ccb14
4
- data.tar.gz: 7390756baadd8f08b6628f5929a9cdbbdc790ab3a3b8d5622d0825f1a568d113
3
+ metadata.gz: 2b0874e995854cc533fb38818a5b9f089e6a4e0d7332d0c17fccc938c53cf0b3
4
+ data.tar.gz: 6f5e08486246c0e0eb450aa5a96e471bfe6a70a3d8f5019cb51d53b5dff2b890
5
5
  SHA512:
6
- metadata.gz: 599a846067a7afc96e42422103fedbd6bbeee9929c8a4bce8c14da06655e856cae3b0d7f562b02505ac1c4a0e6c33b16f057489d01480143848c017d9cdcac4b
7
- data.tar.gz: 7375bd9b233184c65ed12b6ba9897e9547b2346a6d098d28911c6585238a5ce5067c1cace1c2854f7b33aba611b085696467b00cfd6233873248485db9678451
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
- The following options are supported:
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 ||= arg.size > 1
54
+ verbose ||= args.size > 1
51
55
  rc = 0
52
56
  args.each do |arg|
53
57
  status = GemName.check(arg)
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CheckNames
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.3"
5
5
 
6
6
  def self.version
7
7
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: check_names
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard LeBer