thor-zsh_completion 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80edce6f394ea4b9fc61c8ec1d3de8120cc6fc67dd0ea4a3f696802582bf368d
|
4
|
+
data.tar.gz: e57bca556d1cb99cf7ab21ab359777a244f2bf92fe106f5668191dd5a2a20b2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d12f3e04253be27957e5cb0aad094988e95bd93fc7d9a4bd82179fd769b61e7ef8e53cbd454c9b8e5bafd4c75485ae58e322654b0ba7251969019f9eaea33747
|
7
|
+
data.tar.gz: 0e7464b50012941279344e9ab849a3f1cc6cff8d1a9752b1ee5d5ab8f93d9b6f2d65bcb26e1101fcf6218c536007fc70b01443208391346fb46200543a2c076e
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,14 @@
|
|
1
|
+
### 0.1.7
|
2
|
+
|
3
|
+
Misc
|
4
|
+
|
5
|
+
- fix the generation of zsh completion scripts to prevent all [ShellCheck](https://www.shellcheck.net/) warnings
|
6
|
+
|
1
7
|
### 0.1.6
|
2
8
|
|
3
9
|
Misc
|
4
10
|
|
5
|
-
- fix the generation of zsh completion scripts to prevent [ShellCheck](https://www.shellcheck.net/) warnings (@joehorsnell)
|
11
|
+
- fix the generation of zsh completion scripts to prevent [ShellCheck](https://www.shellcheck.net/) warnings (@joehorsnell)
|
6
12
|
|
7
13
|
### 0.1.5
|
8
14
|
|
@@ -3,14 +3,14 @@
|
|
3
3
|
readonly local DEPTH=<%= depth %>
|
4
4
|
|
5
5
|
case $CURRENT in
|
6
|
-
$DEPTH)
|
6
|
+
"$DEPTH")
|
7
7
|
_arguments \
|
8
8
|
<%- subcommand[:options].each do |option| -%>
|
9
9
|
<%= escape_option_names(option[:names]) %><%= quote(bracket(option[:description])) if option[:description] %> \
|
10
10
|
<%- end -%>
|
11
11
|
'*: :->subcommands'
|
12
12
|
|
13
|
-
case $state in
|
13
|
+
case ${state:?} in
|
14
14
|
subcommands)
|
15
15
|
_values \
|
16
16
|
'subcommand' \
|
@@ -25,7 +25,7 @@
|
|
25
25
|
esac
|
26
26
|
;;
|
27
27
|
*)
|
28
|
-
case ${words[$DEPTH]} in
|
28
|
+
case ${words[$DEPTH]:?} in
|
29
29
|
<%- subcommand[:subcommands].each do |subcommand| -%>
|
30
30
|
<%= subcommand[:name] %>)
|
31
31
|
<%= function_name %>_<%= subcommand[:name] %>
|
@@ -53,7 +53,7 @@
|
|
53
53
|
<%- end -%>
|
54
54
|
'*: :->rest'
|
55
55
|
|
56
|
-
case $state in
|
56
|
+
case ${state:?} in
|
57
57
|
rest)
|
58
58
|
# complete rest arguments
|
59
59
|
_files
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thor-zsh_completion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- labocho
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|