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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7928212af575e203b41b2b6a1c94a0f6f564c28ae44795ade142b41ed83cbfe7
4
- data.tar.gz: 541bd497455eedd5b0114edb7913ed1ccb1d2cfc90d78ca6d45298864f210583
3
+ metadata.gz: a935ee0ae2ceb0c9c7b1f579c876a97068c45f133cfeaebcc2e6a6578216af22
4
+ data.tar.gz: 624cc5668dd558f54aa8d66e6b6af765131c2f0a2442fe3c024247a52687a2fa
5
5
  SHA512:
6
- metadata.gz: cccadd0753d2ba83700f9bdebbd8e29eb3519206bb99992636fdde98cc313107b6475b8c12291dac3be8cbfc9ee235fa59c512dd55b62c2d8027ab871d8d424c
7
- data.tar.gz: 36997d82e3438909788eb70484aabcaebe7a37534039ce748c1f3257aef05a674a8a9110280b3b324622eea1ff749263ea2a9968e31708be050676549536efcb
6
+ metadata.gz: 0a08c66582789427539a284b8b7e037643178cdfc602ea2621366fcd0de37bba34a6bd05a712ac5243e5538ddf19cc042549a9c6ecce1694cf8dabf5189f6e75
7
+ data.tar.gz: e654bff7e530d8cb5414a1bcefe52081542041c57387c2b71cf61d8d49f26b2b8b5df96c648b51fa83594c828f597f8f0f814e7f6760fac3cc8f5c8fb5b76aa0
data/bin/completely CHANGED
@@ -10,6 +10,6 @@ begin
10
10
  exit runner.run ARGV
11
11
  rescue => e
12
12
  puts e.backtrace.reverse if ENV['DEBUG']
13
- say! "!undred!#{e.class}!txtrst!\n#{e.message}"
13
+ say! "rib` #{e.class} `\n#{e.message}"
14
14
  exit 1
15
15
  end
@@ -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 !txtpur!completely COMMAND --help!txtrst! for more information'
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! "\n!txtred!WARNING:\nYour configuration is invalid."
55
- say! '!txtred!All patterns must start with the same word.'
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
@@ -27,7 +27,7 @@ module Completely
27
27
  wrap = args['--wrap']
28
28
  output = wrap ? wrapper_function(wrap) : script
29
29
  File.write output_path, output
30
- say "Saved !txtpur!#{output_path}"
30
+ say "Saved m`#{output_path}`"
31
31
  syntax_warning unless completions.valid?
32
32
  end
33
33
 
@@ -15,7 +15,7 @@ module Completely
15
15
  raise "File already exists: #{config_path}" if File.exist? config_path
16
16
 
17
17
  File.write config_path, sample
18
- say "Saved !txtpur!#{config_path}"
18
+ say "Saved m`#{config_path}`"
19
19
  end
20
20
 
21
21
  private
@@ -38,14 +38,14 @@ module Completely
38
38
 
39
39
  def show_compline(compline, filename: nil)
40
40
  filename ||= 'completely-tester.sh'
41
- say "!txtblu!$ !txtgrn!#{compline}!txtrst!<tab>"
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 !txtpur!#{filename}"
48
+ say "Saved m`#{filename}`"
49
49
  end
50
50
 
51
51
  def complines
@@ -1,3 +1,3 @@
1
1
  module Completely
2
- VERSION = '0.5.2'
2
+ VERSION = '0.5.3'
3
3
  end
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.2
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: 2022-12-02 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.6'
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.6'
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.2
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.2
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.3.26
90
+ rubygems_version: 3.4.5
85
91
  signing_key:
86
92
  specification_version: 4
87
93
  summary: Bash Completions Generator