bundler_bash_completion 0.4.1 → 0.5.0

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
  SHA1:
3
- metadata.gz: 802d64470ec4466b73856fa3b76661e6a18f492c
4
- data.tar.gz: 0f4473b0c324502e12e6177a27321090ed37edae
3
+ metadata.gz: 1b77cd9429f6e59d418d2410d57f727c5c35e946
4
+ data.tar.gz: f06b11ae906e690dfd8065efdd79418edab16170
5
5
  SHA512:
6
- metadata.gz: 817405e6d3afcd527b2c6c38c0af39b5470616cb4d65819ce701b8fbd5ec4dad951cbf15b819dd9fe7673da362a3dd4683c9fd40893f03f757278228094f1ac9
7
- data.tar.gz: b34895a94793c08d163af240974650abe043a8452e0c652fa176152ed1b8a67478bdce0f4d2bf315d030b3dfaf8e599061504139b1331d69e04f528204bf8862
6
+ metadata.gz: 7cf1e9c6db3fb235eb324106f4fac1ea0b4f1282c79aebd049e58081d8d1c6c1078a73b2b3032fe0e71cb19940e4c213d7d09ed1c60a5b40c4e2431e43219dad
7
+ data.tar.gz: db16febf2b99ff54e23bfde7dbc2d5f2e9dbecbee03081cf441afe702fa5ee8f1286b827b6588a8bf1fa04d8b8b5df71c450c5b443dcb9ca987b4006aa0d9f8b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.5.0
@@ -4,17 +4,32 @@ class BundlerBashCompletion
4
4
 
5
5
  TASKS = {
6
6
  'check' => {
7
+ '--dry-run' => :continue,
7
8
  '--gemfile' => :block,
8
9
  '--no-color' => :continue,
10
+ '--no-no-color' => :continue,
11
+ '--no-verbose' => :continue,
9
12
  '--path' => :block,
13
+ '--retry' => :block,
14
+ '--verbose' => :continue,
10
15
  },
11
16
  'clean' => {
17
+ '--dry-run' => :continue,
12
18
  '--force' => :continue,
13
19
  '--no-color' => :continue,
20
+ '--no-no-color' => :continue,
21
+ '--no-verbose' => :continue,
22
+ '--retry' => :block,
14
23
  '--verbose' => :continue,
15
24
  },
16
25
  'config' => {},
17
- 'console' => {},
26
+ 'console' => {
27
+ '--no-color' => :continue,
28
+ '--no-no-color' => :continue,
29
+ '--no-verbose' => :continue,
30
+ '--retry' => :block,
31
+ '--verbose' => :continue,
32
+ },
18
33
  'exec' => {
19
34
  :bin => :continue,
20
35
  },
@@ -26,6 +41,9 @@ class BundlerBashCompletion
26
41
  },
27
42
  'init' => {
28
43
  '--no-color' => :continue,
44
+ '--no-no-color' => :continue,
45
+ '--no-verbose' => :continue,
46
+ '--retry' => :block,
29
47
  '--verbose' => :continue,
30
48
  },
31
49
  'install' => {
@@ -33,41 +51,76 @@ class BundlerBashCompletion
33
51
  '--deployment' => :continue,
34
52
  '--gemfile' => :block,
35
53
  '--local' => :continue,
54
+ '--no-cache' => :continue,
36
55
  '--no-color' => :continue,
56
+ '--no-no-color' => :continue,
57
+ '--no-verbose' => :continue,
37
58
  '--path' => :block,
59
+ '--retry' => :block,
38
60
  '--shebang' => :block,
39
61
  '--standalone' => :block,
40
62
  '--system' => :continue,
63
+ '--trust-policy' => :block,
41
64
  '--verbose' => :continue,
65
+ '--with' => :block,
42
66
  '--without' => :block,
43
67
  },
44
68
  'list' => {
45
69
  '--no-color' => :continue,
70
+ '--no-no-color' => :continue,
71
+ '--no-verbose' => :continue,
46
72
  '--paths' => :continue,
73
+ '--retry' => :block,
47
74
  '--verbose' => :continue,
48
75
  :gem => :continue,
49
76
  },
77
+ 'lock' => {
78
+ '--full-index' => :continue,
79
+ '--local' => :continue,
80
+ '--lockfile' => :block,
81
+ '--no-color' => :continue,
82
+ '--no-no-color' => :continue,
83
+ '--no-verbose' => :continue,
84
+ '--print' => :continue,
85
+ '--retry' => :block,
86
+ '--update' => :continue,
87
+ '--verbose' => :continue,
88
+ },
50
89
  'open' => {
51
90
  :gem => :continue,
52
91
  },
53
92
  'outdated' => {
54
93
  '--local' => :continue,
55
94
  '--no-color' => :continue,
95
+ '--no-no-color' => :continue,
96
+ '--no-verbose' => :continue,
56
97
  '--pre' => :continue,
98
+ '--retry' => :block,
57
99
  '--source' => :block,
58
100
  '--verbose' => :continue,
59
101
  :gem => :continue,
60
102
  },
61
103
  'package' => {},
62
- 'platform' => {},
104
+ 'platform' => {
105
+ '--ruby' => :continue,
106
+ },
63
107
  'show' => {
64
108
  '--no-color' => :continue,
109
+ '--no-no-color' => :continue,
110
+ '--no-outdated' => :continue,
111
+ '--no-paths' => :continue,
112
+ '--no-verbose' => :continue,
113
+ '--outdated' => :continue,
65
114
  '--paths' => :continue,
115
+ '--retry' => :block,
66
116
  '--verbose' => :continue,
67
117
  :gem => :continue,
68
118
  },
69
119
  'update' => {
70
120
  '--no-color' => :continue,
121
+ '--no-no-color' => :continue,
122
+ '--no-verbose' => :continue,
123
+ '--retry' => :block,
71
124
  '--source' => :block,
72
125
  '--verbose' => :continue,
73
126
  :gems => :continue,
@@ -76,9 +129,16 @@ class BundlerBashCompletion
76
129
  '--file' => :block,
77
130
  '--format' => :block,
78
131
  '--no-color' => :continue,
132
+ '--no-no-color' => :continue,
133
+ '--no-requirements' => :continue,
134
+ '--no-verbose' => :continue,
135
+ '--no-version' => :continue,
79
136
  '--requirements' => :block,
137
+ '--requirements' => :continue,
138
+ '--retry' => :block,
80
139
  '--verbose' => :continue,
81
- '--version' => :block,
140
+ '--version' => :continue,
141
+ '--without' => :block,
82
142
  },
83
143
  }
84
144
 
@@ -151,6 +151,14 @@ describe BundlerBashCompletion do
151
151
 
152
152
  end
153
153
 
154
+ context 'with "bundle lock "' do
155
+
156
+ subject { completion('bundle lock ').complete }
157
+
158
+ it { should include('--update', '--verbose') }
159
+
160
+ end
161
+
154
162
  context 'with "bundle show "' do
155
163
 
156
164
  subject { completion('bundle show ').complete }
@@ -163,7 +171,7 @@ describe BundlerBashCompletion do
163
171
 
164
172
  subject { completion('bundle show rspec ').complete }
165
173
 
166
- it { should eq(['--no-color', '--paths', '--verbose']) }
174
+ it { should eq(['--no-color', '--no-no-color', '--no-outdated', '--no-paths', '--no-verbose', '--outdated', '--paths', '--retry', '--verbose']) }
167
175
 
168
176
  end
169
177
 
@@ -171,7 +179,7 @@ describe BundlerBashCompletion do
171
179
 
172
180
  subject { completion('bundle show foo ').complete }
173
181
 
174
- it { should eq(['--no-color', '--paths', '--verbose']) }
182
+ it { should eq(['--no-color', '--no-no-color', '--no-outdated', '--no-paths', '--no-verbose', '--outdated', '--paths', '--retry', '--verbose']) }
175
183
 
176
184
  end
177
185
 
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.1
4
+ version: 0.5.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: 2016-07-27 00:00:00.000000000 Z
11
+ date: 2016-11-21 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.5.1
112
+ rubygems_version: 2.5.2
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Bundler bash completion