completely 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/completely +1 -1
- data/lib/completely/cli.rb +1 -1
- data/lib/completely/commands/base.rb +2 -2
- data/lib/completely/commands/generate.rb +1 -1
- data/lib/completely/commands/init.rb +1 -1
- data/lib/completely/commands/test.rb +2 -2
- data/lib/completely/version.rb +1 -1
- metadata +15 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a935ee0ae2ceb0c9c7b1f579c876a97068c45f133cfeaebcc2e6a6578216af22
|
4
|
+
data.tar.gz: 624cc5668dd558f54aa8d66e6b6af765131c2f0a2442fe3c024247a52687a2fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a08c66582789427539a284b8b7e037643178cdfc602ea2621366fcd0de37bba34a6bd05a712ac5243e5538ddf19cc042549a9c6ecce1694cf8dabf5189f6e75
|
7
|
+
data.tar.gz: e654bff7e530d8cb5414a1bcefe52081542041c57387c2b71cf61d8d49f26b2b8b5df96c648b51fa83594c828f597f8f0f814e7f6760fac3cc8f5c8fb5b76aa0
|
data/bin/completely
CHANGED
data/lib/completely/cli.rb
CHANGED
@@ -10,7 +10,7 @@ module Completely
|
|
10
10
|
def self.runner
|
11
11
|
runner = MisterBin::Runner.new version: Completely::VERSION,
|
12
12
|
header: 'Completely - Bash Completions Generator',
|
13
|
-
footer: 'Run
|
13
|
+
footer: 'Run m`completely COMMAND --help` for more information'
|
14
14
|
|
15
15
|
runner.route 'init', to: Commands::Init
|
16
16
|
runner.route 'preview', to: Commands::Preview
|
@@ -51,8 +51,8 @@ module Completely
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def syntax_warning
|
54
|
-
say! "\
|
55
|
-
say! '
|
54
|
+
say! "\nr`WARNING:`\nr`Your configuration is invalid.`"
|
55
|
+
say! 'r`All patterns must start with the same word.`'
|
56
56
|
end
|
57
57
|
end
|
58
58
|
end
|
@@ -38,14 +38,14 @@ module Completely
|
|
38
38
|
|
39
39
|
def show_compline(compline, filename: nil)
|
40
40
|
filename ||= 'completely-tester.sh'
|
41
|
-
say "
|
41
|
+
say "b`$` g`#{compline}`<tab>"
|
42
42
|
puts tester.test(compline).join "\n"
|
43
43
|
puts
|
44
44
|
|
45
45
|
return unless keep
|
46
46
|
|
47
47
|
File.write filename, tester_script(compline)
|
48
|
-
say "Saved
|
48
|
+
say "Saved m`#{filename}`"
|
49
49
|
end
|
50
50
|
|
51
51
|
def complines
|
data/lib/completely/version.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,49 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: completely
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colsole
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.8.1
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
22
|
+
version: '2'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.8.1
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
32
|
+
version: '2'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: mister_bin
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - "~>"
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.7
|
39
|
+
version: '0.7'
|
34
40
|
type: :runtime
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
44
|
- - "~>"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.7
|
46
|
+
version: '0.7'
|
41
47
|
description: Generate bash completion scripts using simple YAML configuration
|
42
48
|
email: db@dannyben.com
|
43
49
|
executables:
|
@@ -81,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
87
|
- !ruby/object:Gem::Version
|
82
88
|
version: '0'
|
83
89
|
requirements: []
|
84
|
-
rubygems_version: 3.
|
90
|
+
rubygems_version: 3.4.5
|
85
91
|
signing_key:
|
86
92
|
specification_version: 4
|
87
93
|
summary: Bash Completions Generator
|