bundler_bash_completion 0.4.0 → 0.4.1

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
  SHA1:
3
- metadata.gz: c903d57c7e408b8fecabdb4fd458e96770898a02
4
- data.tar.gz: c3f5800a5c4e1d43b7c91ff0e31e0e06067667cb
3
+ metadata.gz: 802d64470ec4466b73856fa3b76661e6a18f492c
4
+ data.tar.gz: 0f4473b0c324502e12e6177a27321090ed37edae
5
5
  SHA512:
6
- metadata.gz: 7dff578f30f3923db5bfd66393dc7340a4abf4d0cbd2c05ba98bce475bd9b54c2a0354f2d9f902b1e0751c998cdadeb5b45f734c2e476994deb5e3243cf371f5
7
- data.tar.gz: b3cddb41116888fb74884d1f6eb5b75b6dfc7507e954974ce9b3ed9adef9e9065ae63efb820d6ba76eecf6ef3d202c881a71e30d27613a78188747ca6c9edaeb
6
+ metadata.gz: 817405e6d3afcd527b2c6c38c0af39b5470616cb4d65819ce701b8fbd5ec4dad951cbf15b819dd9fe7673da362a3dd4683c9fd40893f03f757278228094f1ac9
7
+ data.tar.gz: b34895a94793c08d163af240974650abe043a8452e0c652fa176152ed1b8a67478bdce0f4d2bf315d030b3dfaf8e599061504139b1331d69e04f528204bf8862
data/README.mdown CHANGED
@@ -19,5 +19,5 @@ gem install bundler_bash_completion
19
19
  Then, add following line to your `~/.bashrc` file:
20
20
 
21
21
  ```sh
22
- eval `complete_bundle_bash_command init`
22
+ eval "$(complete_bundle_bash_command init)"
23
23
  ```
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -3,7 +3,12 @@
3
3
  if ARGV[0] == 'init'
4
4
  puts %Q{
5
5
  _bundler_bash_completion() {
6
- COMPREPLY=($(compgen -W "$(#{File.expand_path(__FILE__)} complete "$COMP_LINE")"))
6
+ completion="$(#{File.expand_path(__FILE__)} complete "$COMP_LINE")"
7
+ if [ -z "$completion" ]; then
8
+ COMPREPLY=($(compgen -f -- "${COMP_WORDS[${COMP_CWORD}]}"))
9
+ else
10
+ COMPREPLY=($(compgen -W "$completion"))
11
+ fi
7
12
  }
8
13
  complete -F _bundler_bash_completion bundle
9
14
  }
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
17
  s.require_paths = ['lib']
18
18
 
19
- s.add_development_dependency 'byebug', '>= 3.2.0', '< 3.6.0'
20
- s.add_development_dependency 'rake', '>= 10.3.0', '< 10.5.0'
21
- s.add_development_dependency 'rspec', '>= 3.1.0', '< 3.2.0'
19
+ s.add_development_dependency 'byebug', '>= 9.0.0', '< 10.0.0'
20
+ s.add_development_dependency 'rake', '>= 11.0.0', '< 12.0.0'
21
+ s.add_development_dependency 'rspec', '>= 3.5.0', '< 4.0.0'
22
22
  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.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexis Toulotte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-20 00:00:00.000000000 Z
11
+ date: 2016-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -16,60 +16,60 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.0
19
+ version: 9.0.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 3.6.0
22
+ version: 10.0.0
23
23
  type: :development
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 3.2.0
29
+ version: 9.0.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 3.6.0
32
+ version: 10.0.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rake
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 10.3.0
39
+ version: 11.0.0
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: 10.5.0
42
+ version: 12.0.0
43
43
  type: :development
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 10.3.0
49
+ version: 11.0.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: 10.5.0
52
+ version: 12.0.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 3.1.0
59
+ version: 3.5.0
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
- version: 3.2.0
62
+ version: 4.0.0
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 3.1.0
69
+ version: 3.5.0
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
- version: 3.2.0
72
+ version: 4.0.0
73
73
  description: Provides bash completion for bundle command
74
74
  email: al@alweb.org
75
75
  executables: