completely 0.7.1.pre.rc1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26eb35aee6ffcd3a79abf3959fd766ddda7ea9a40023fb0a55fe6d9cbfde31f1
4
- data.tar.gz: 2bff8085afe95bb8d6e989932c2a68a24af91067d93e3e325370afacf65ebc08
3
+ metadata.gz: 3e2d4ef0dc7d503f77387c199d75989c8aca7408f73421086219bfab91823dd0
4
+ data.tar.gz: 4c5650a43490f9d35417a808c532391c9a0e7cf52d47b36ef5ffe56ab0d28ed2
5
5
  SHA512:
6
- metadata.gz: b353204d2c671744376afa41e21781b544d69b3d556ace709508804cab83b02761ae3ee9d76c4100b5dec05af538c10bbb8e088371155e77c9397545fadc8455
7
- data.tar.gz: 121232ecd8b89208923307a663dea3156c0c16910b8cfbf71c9a9ab0251cdf6229057b188fb4d1d6df83c31f7cc499a54633434c308fc497217f09eaba0fc739
6
+ metadata.gz: 655e9090c78451ffc8ba5f8b4f309e92756c02b769b4f60d9df2520f5ddc572b6eb7e761aeb8d0a2e1f3113bd1bcf05be186c75a95d833fc9938ad6bf706057c
7
+ data.tar.gz: 81b519ae5db4f3eed6475b1a8b601c8bb873ed6cf0a67c2862b893e878342e031c60b3c58b600c2bc80b080f9c63a0a6ead68d37ef5b42924d5e687ac514feb1
data/README.md CHANGED
@@ -1,11 +1,5 @@
1
1
  # Completely - Bash Completions Generator
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/completely.svg)](https://badge.fury.io/rb/completely)
4
- [![Build Status](https://github.com/DannyBen/completely/workflows/Test/badge.svg)](https://github.com/DannyBen/completely/actions?query=workflow%3ATest)
5
- [![Maintainability](https://api.codeclimate.com/v1/badges/6c021b8309ac796c3919/maintainability)](https://codeclimate.com/github/DannyBen/completely/maintainability)
6
-
7
- ---
8
-
9
3
  Completely is a command line utility and a Ruby library that lets you generate
10
4
  bash completion scripts from simple YAML configuration.
11
5
 
@@ -40,6 +34,7 @@ or with Docker:
40
34
  $ alias completely='docker run --rm -it --user $(id -u):$(id -g) --volume "$PWD:/app" dannyben/completely'
41
35
  ```
42
36
 
37
+
43
38
  ## Configuration syntax
44
39
 
45
40
  Completely works with a simple YAML configuration file as input, and generates
@@ -246,6 +241,7 @@ The rules here are as follows:
246
241
  hash key (e.g., `+--branch` or `"*--branch"`). Note that when using a `*`,
247
242
  the hash key must be quoted since asterisks have special meaning in YAML.
248
243
 
244
+
249
245
  ## Using the generated completion scripts
250
246
 
251
247
  In order to enable the completions, simply source the generated script:
@@ -268,6 +264,7 @@ Alternatively, you can copy the script manually to one of these directories
268
264
  - `/usr/local/etc/bash_completion.d`
269
265
  - `~/.local/share/bash-completion/completions`
270
266
 
267
+
271
268
  ## Testing and debugging completion scripts
272
269
 
273
270
  You can use the built in completions script tester by running `completely test`.
@@ -305,6 +302,7 @@ puts completions.wrapper_function "custom_function_name"
305
302
  p completions.tester.test "mygit status "
306
303
  ```
307
304
 
305
+
308
306
  ## Completions in ZSH
309
307
 
310
308
  If you are using Oh-My-Zsh, bash completions should already be enabled,
@@ -317,6 +315,17 @@ autoload -Uz +X compinit && compinit
317
315
  autoload -Uz +X bashcompinit && bashcompinit
318
316
  ```
319
317
 
318
+ ## Customizing the `complete` command
319
+
320
+ In case you wish to customize the `complete` command call in the generated
321
+ script, you can do so by adding any additional flags to the `completely.yaml`
322
+ configuration file using the special `completely_options` key. For example:
323
+
324
+ ```yaml
325
+ completely_options:
326
+ complete_options: -o nosort
327
+ ```
328
+
320
329
  ## Contributing / Support
321
330
 
322
331
  If you experience any issue, have a question or a suggestion, or if you wish
@@ -324,6 +333,6 @@ to contribute, feel free to [open an issue][issues].
324
333
 
325
334
  ---
326
335
 
327
- [issues]: https://github.com/DannyBen/completely/issues
336
+ [issues]: https://github.com/bashly-framework/completely/issues
328
337
  [compgen]: https://www.gnu.org/software/bash/manual/html_node/Programmable-Completion-Builtins.html
329
338
  [bashly]: https://bashly.dannyb.co/
@@ -1,7 +1,7 @@
1
1
  # <%= "#{command} completion".ljust 56 %> -*- shell-script -*-
2
2
 
3
3
  # This bash completions script was generated by
4
- # completely (https://github.com/dannyben/completely)
4
+ # completely (https://github.com/bashly-framework/completely)
5
5
  # Modifying it manually is not recommended
6
6
 
7
7
  <%= function_name %>_filter() {
@@ -1,3 +1,3 @@
1
1
  module Completely
2
- VERSION = '0.7.1-rc1'
2
+ VERSION = '0.7.2'
3
3
  end
metadata CHANGED
@@ -1,34 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: completely
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1.pre.rc1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-25 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: colsole
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - ">="
17
- - !ruby/object:Gem::Version
18
- version: 0.8.1
19
- - - "<"
16
+ - - "~>"
20
17
  - !ruby/object:Gem::Version
21
- version: '2'
18
+ version: 1.0.0
22
19
  type: :runtime
23
20
  prerelease: false
24
21
  version_requirements: !ruby/object:Gem::Requirement
25
22
  requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- version: 0.8.1
29
- - - "<"
23
+ - - "~>"
30
24
  - !ruby/object:Gem::Version
31
- version: '2'
25
+ version: 1.0.0
32
26
  - !ruby/object:Gem::Dependency
33
27
  name: mister_bin
34
28
  requirement: !ruby/object:Gem::Requirement
@@ -72,13 +66,13 @@ files:
72
66
  - lib/completely/templates/tester-template.erb
73
67
  - lib/completely/tester.rb
74
68
  - lib/completely/version.rb
75
- homepage: https://github.com/DannyBen/completely
69
+ homepage: https://github.com/bashly-framework/completely
76
70
  licenses:
77
71
  - MIT
78
72
  metadata:
79
- bug_tracker_uri: https://github.com/DannyBen/completely/issues
80
- changelog_uri: https://github.com/DannyBen/completely/blob/master/CHANGELOG.md
81
- source_code_uri: https://github.com/DannyBen/completely
73
+ bug_tracker_uri: https://github.com/bashly-framework/completely/issues
74
+ changelog_uri: https://github.com/bashly-framework/completely/blob/master/CHANGELOG.md
75
+ source_code_uri: https://github.com/bashly-framework/completely
82
76
  rubygems_mfa_required: 'true'
83
77
  rdoc_options: []
84
78
  require_paths:
@@ -87,14 +81,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
81
  requirements:
88
82
  - - ">="
89
83
  - !ruby/object:Gem::Version
90
- version: '3.0'
84
+ version: '3.2'
91
85
  required_rubygems_version: !ruby/object:Gem::Requirement
92
86
  requirements:
93
87
  - - ">="
94
88
  - !ruby/object:Gem::Version
95
89
  version: '0'
96
90
  requirements: []
97
- rubygems_version: 3.6.3
91
+ rubygems_version: 3.6.9
98
92
  specification_version: 4
99
93
  summary: Bash Completions Generator
100
94
  test_files: []