mister_bin 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mister_bin/runner.rb +3 -3
- data/lib/mister_bin/terminal.rb +1 -1
- data/lib/mister_bin/version.rb +1 -1
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2096df3dcaec80c5e02c17abba74e3a14463bb605eb86cbe60a33599123a854
|
4
|
+
data.tar.gz: ca4801c9843d8a19d7ca8da621996cd6390c291fb3d74133ff33a79734edab96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 355f4ac5e4a87abf6e1bd3f7be44dc48a53d74c42db3692c85a2e6faafcc0a40f02f8770abd86dc3e149d62de9d16024cc46617b787a8a2b3a5261550ededeee
|
7
|
+
data.tar.gz: b19e80921d188eec872f2b2e751289677f714bfd74097df6aa2d251e520f9b51377c4d525e0fd44940f2d30147ed4a6209f27c2bc31476f58e42b5426347ceda
|
data/lib/mister_bin/runner.rb
CHANGED
@@ -46,7 +46,7 @@ module MisterBin
|
|
46
46
|
if command
|
47
47
|
command.execute argv
|
48
48
|
else
|
49
|
-
say "
|
49
|
+
say "r`Unknown command`\n"
|
50
50
|
show_subs
|
51
51
|
end
|
52
52
|
end
|
@@ -80,7 +80,7 @@ module MisterBin
|
|
80
80
|
commands.each do |key, command|
|
81
81
|
summary = command.meta.description
|
82
82
|
summary = summary[0..max_summary_size].strip
|
83
|
-
say "
|
83
|
+
say " gb`#{key.ljust longest_key} `#{summary}"
|
84
84
|
end
|
85
85
|
|
86
86
|
say "\n#{footer}" if footer
|
@@ -103,7 +103,7 @@ module MisterBin
|
|
103
103
|
meta = command.meta
|
104
104
|
next unless meta.help || meta.summary
|
105
105
|
|
106
|
-
say "
|
106
|
+
say "g`#{key}`"
|
107
107
|
help = meta.help || meta.summary
|
108
108
|
say word_wrap " #{help}"
|
109
109
|
say ''
|
data/lib/mister_bin/terminal.rb
CHANGED
data/lib/mister_bin/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mister_bin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
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: docopt
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -71,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
77
|
- !ruby/object:Gem::Version
|
72
78
|
version: '0'
|
73
79
|
requirements: []
|
74
|
-
rubygems_version: 3.
|
80
|
+
rubygems_version: 3.4.5
|
75
81
|
signing_key:
|
76
82
|
specification_version: 4
|
77
83
|
summary: Command line interface for your gems
|