completely 0.6.2 → 0.6.3

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: c273101b2b80aad90b161621c5af8296f29e02520c3e7db620f905c97b466bdd
4
- data.tar.gz: 67b0e2b8b3434c25ae63a6b37fbb3603ffa7bcf1a1aca1e3d7f89beab61655aa
3
+ metadata.gz: a1725a40745985999197a9e3aa59c2b4d2ff7a5669657e1f4425a5537ae3c888
4
+ data.tar.gz: 67547ef69659b1751cf17f1c71ede5ad7176e7d3816367ed0bdacccb474b75df
5
5
  SHA512:
6
- metadata.gz: 06e7729112f9b6d3a62e8ab58a5f38999b2e799844a07e1a43b4c12c4d6497d8c0ce3ebbdda1de7808639567783e44263c63b7e5fe2d4d36abf2a9d4030851ee
7
- data.tar.gz: 350d9dd114c588e6221a79044ce96a497c5d5d342123fe09031b97a7eb5afbdcfde8f34078ecad001db83e5af56e0f1777eb997895c85a0f6f87620dd93315d4
6
+ metadata.gz: 3aa99c40ee76e3488702a8c6b59f8ba3789ec12995dbf9655f0600d7d81787d2cd2bc820c465247966cc695e84be3aa43cb6ccf08854b85d4422f2f0fe8b4bba
7
+ data.tar.gz: eb44a7eee738f7810491913b4a9873a528804991669a506d63fa54dc610bef025daf2603fd9c3db6c5c21b3d119580e12e224d54e75880f87cd4b4aa71ec08df
data/README.md CHANGED
@@ -77,7 +77,7 @@ mygit status:
77
77
  - --help
78
78
  - --verbose
79
79
  - --branch
80
- - $(git branch 2> /dev/null)
80
+ - $(git branch 2>/dev/null)
81
81
 
82
82
  mygit init:
83
83
  - --bare
@@ -169,7 +169,7 @@ branches to your suggestions, use the following:
169
169
 
170
170
  ```yaml
171
171
  mygit:
172
- - $(git branch 2> /dev/null)
172
+ - $(git branch 2>/dev/null)
173
173
  ```
174
174
 
175
175
  The `2> /dev/null` is used so that if the command is executed in a directory
@@ -186,10 +186,10 @@ mygit checkout:
186
186
  - -b
187
187
 
188
188
  mygit checkout*--branch:
189
- - $(git branch 2> /dev/null)
189
+ - $(git branch 2>/dev/null)
190
190
 
191
191
  mygit checkout*-b:
192
- - $(git branch 2> /dev/null)
192
+ - $(git branch 2>/dev/null)
193
193
  ```
194
194
 
195
195
  The above will suggest git branches for commands that end with `-b` or `--branch`.
@@ -202,7 +202,7 @@ mygit checkout:
202
202
  - -b
203
203
 
204
204
  mygit checkout*--branch: &branches
205
- - $(git branch 2> /dev/null)
205
+ - $(git branch 2>/dev/null)
206
206
 
207
207
  mygit checkout*-b: *branches
208
208
  ```
@@ -9,7 +9,7 @@ mygit status:
9
9
  - --help
10
10
  - --verbose
11
11
  - --branch
12
- - $(git branch 2> /dev/null)
12
+ - $(git branch 2>/dev/null)
13
13
 
14
14
  mygit init:
15
15
  - --bare
@@ -11,7 +11,7 @@
11
11
 
12
12
  if [[ "${cur:0:1}" == "-" ]]; then
13
13
  echo "$words"
14
-
14
+
15
15
  else
16
16
  for word in $words; do
17
17
  [[ "${word:0:1}" != "-" ]] && result+=("$word")
@@ -38,12 +38,12 @@
38
38
  % patterns.each do |pattern|
39
39
  % next if pattern.empty?
40
40
  <%= pattern.case_string %>)
41
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen <%= pattern.compgen %> -- "$cur" )
41
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen <%= pattern.compgen %> -- "$cur")
42
42
  ;;
43
43
 
44
44
  % end
45
45
  esac
46
46
  } &&
47
- complete -F <%= function_name %> <%= command %>
47
+ complete -F <%= function_name %> <%= command %>
48
48
 
49
49
  # ex: filetype=sh
@@ -1,3 +1,3 @@
1
1
  module Completely
2
- VERSION = '0.6.2'
2
+ VERSION = '0.6.3'
3
3
  end
data/lib/completely.rb CHANGED
@@ -1,8 +1,3 @@
1
- if ENV['BYEBUG']
2
- require 'byebug'
3
- require 'lp'
4
- end
5
-
6
1
  require 'completely/exceptions'
7
2
  require 'completely/pattern'
8
3
  require 'completely/completions'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: completely
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.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: 2023-12-29 00:00:00.000000000 Z
11
+ date: 2024-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colsole
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubygems_version: 3.3.26
97
+ rubygems_version: 3.5.14
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Bash Completions Generator