bundler_bash_completion 0.3.4 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -4
- data/README.mdown +6 -2
- data/VERSION +1 -1
- data/bin/complete_bundle_bash_command +8 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c903d57c7e408b8fecabdb4fd458e96770898a02
|
4
|
+
data.tar.gz: c3f5800a5c4e1d43b7c91ff0e31e0e06067667cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dff578f30f3923db5bfd66393dc7340a4abf4d0cbd2c05ba98bce475bd9b54c2a0354f2d9f902b1e0751c998cdadeb5b45f734c2e476994deb5e3243cf371f5
|
7
|
+
data.tar.gz: b3cddb41116888fb74884d1f6eb5b75b6dfc7507e954974ce9b3ed9adef9e9065ae63efb820d6ba76eecf6ef3d202c881a71e30d27613a78188747ca6c9edaeb
|
data/.gitignore
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
.DS_Store
|
2
|
-
|
3
|
-
|
4
|
-
Gemfile.lock
|
5
|
-
pkg
|
2
|
+
/.bundle/
|
3
|
+
/.ruby-version
|
4
|
+
/Gemfile.lock
|
5
|
+
/pkg/
|
data/README.mdown
CHANGED
@@ -12,8 +12,12 @@ etc.). Completion is also made for installed gems and their binaries (for
|
|
12
12
|
|
13
13
|
First, install gem:
|
14
14
|
|
15
|
-
|
15
|
+
```ruby
|
16
|
+
gem install bundler_bash_completion
|
17
|
+
```
|
16
18
|
|
17
19
|
Then, add following line to your `~/.bashrc` file:
|
18
20
|
|
19
|
-
|
21
|
+
```sh
|
22
|
+
eval `complete_bundle_bash_command init`
|
23
|
+
```
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
@@ -1,8 +1,13 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
if ARGV[0] == 'init'
|
4
|
-
puts
|
5
|
-
|
4
|
+
puts %Q{
|
5
|
+
_bundler_bash_completion() {
|
6
|
+
COMPREPLY=($(compgen -W "$(#{File.expand_path(__FILE__)} complete "$COMP_LINE")"))
|
7
|
+
}
|
8
|
+
complete -F _bundler_bash_completion bundle
|
9
|
+
}
|
10
|
+
elsif ARGV[0] == 'complete' && ARGV.size == 2
|
6
11
|
require File.expand_path("#{__dir__}/../lib/bundler_bash_completion")
|
7
|
-
puts BundlerBashCompletion.new(
|
12
|
+
puts BundlerBashCompletion.new(ARGV[1]).complete.sort.join("\n")
|
8
13
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler_bash_completion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexis Toulotte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project: bundler_bash_completion
|
112
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.5.1
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Bundler bash completion
|