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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fba8b35154185b9354343689a0c8c874c454297738f0ac1e0f836e66f1012ea3
4
- data.tar.gz: a997257ded334c5d3854a113d4c6c98c5dec9902cc6165ed54b8c9bc41617181
3
+ metadata.gz: f2096df3dcaec80c5e02c17abba74e3a14463bb605eb86cbe60a33599123a854
4
+ data.tar.gz: ca4801c9843d8a19d7ca8da621996cd6390c291fb3d74133ff33a79734edab96
5
5
  SHA512:
6
- metadata.gz: 9dad16fd26501a5d7f1ca347cc9c097eb26990a27ac9a442625527fcaec57b6c6c40071d5d4d4c1fb48c02e4fd2f3490026bac144fddd9acea193f549e76b345
7
- data.tar.gz: e13f619d2c5a2a08046d10c4eb6befc585569524d0f85e8486d7021dd53e3f51ea738c713ac171af94d606b2913e7459e2a0e9084dad46ab5c157d79b5391f89
6
+ metadata.gz: 355f4ac5e4a87abf6e1bd3f7be44dc48a53d74c42db3692c85a2e6faafcc0a40f02f8770abd86dc3e149d62de9d16024cc46617b787a8a2b3a5261550ededeee
7
+ data.tar.gz: b19e80921d188eec872f2b2e751289677f714bfd74097df6aa2d251e520f9b51377c4d525e0fd44940f2d30147ed4a6209f27c2bc31476f58e42b5426347ceda
@@ -46,7 +46,7 @@ module MisterBin
46
46
  if command
47
47
  command.execute argv
48
48
  else
49
- say "!txtred!Unknown command\n"
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 " !bldgrn!#{key.ljust longest_key} !txtrst!#{summary}"
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 "!txtgrn!#{key}"
106
+ say "g`#{key}`"
107
107
  help = meta.help || meta.summary
108
108
  say word_wrap " #{help}"
109
109
  say ''
@@ -99,7 +99,7 @@ module MisterBin
99
99
  false
100
100
  rescue => e
101
101
  puts e.backtrace.reverse if ENV['DEBUG']
102
- say "!txtred!#{e.class}"
102
+ say "r`#{e.class}`"
103
103
  say e.message
104
104
  true
105
105
  # :nocov:
@@ -1,3 +1,3 @@
1
1
  module MisterBin
2
- VERSION = '0.7.3'
2
+ VERSION = '0.7.4'
3
3
  end
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.3
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: 2022-11-22 00:00:00.000000000 Z
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: '0.7'
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: '0.7'
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.3.14
80
+ rubygems_version: 3.4.5
75
81
  signing_key:
76
82
  specification_version: 4
77
83
  summary: Command line interface for your gems