Diff
1diff --git a/plugins/bundler/_bundler b/plugins/bundler/_bundler
2index 2ec3a5f9c7c97ea821c3ec6ac4e57108b8cc923d..ba647ab80a2abaf31724a9fdb8db0b0a8e769f63 100644
3--- a/plugins/bundler/_bundler
4+++ b/plugins/bundler/_bundler
5@@ -18,11 +18,13 @@ case $state in
6 "check[Determine whether the requirements for your application are installed]" \
7 "list[Show all of the gems in the current bundle]" \
8 "show[Show the source location of a particular gem in the bundle]" \
9+ "outdated[Show all of the outdated gems in the current bundle]" \
10 "console[Start an IRB session in the context of the current bundle]" \
11 "open[Open an installed gem in the editor]" \
12 "viz[Generate a visual representation of your dependencies]" \
13 "init[Generate a simple Gemfile, placed in the current directory]" \
14 "gem[Create a simple gem, suitable for development with bundler]" \
15+ "platform[Displays platform compatibility information]" \
16 "clean[Cleans up unused gems in your bundler directory]" \
17 "help[Describe available tasks or one specific task]"
18 ret=0
19@@ -39,11 +41,13 @@ case $state in
20 'check' \
21 'list' \
22 'show' \
23+ 'outdated' \
24 'console' \
25 'open' \
26 'viz' \
27 'init' \
28 'gem' \
29+ 'platform' \
30 'help' && ret=0
31 ;;
32 install)
33@@ -71,6 +75,15 @@ case $state in
34 '(--verbose)--verbose[Enable verbose output mode]'
35 ret=0
36 ;;
37+ outdated)
38+ _arguments \
39+ '(--pre)--pre[Check for newer pre-release gems]' \
40+ '(--source)--source[Check against a specific source]' \
41+ '(--local)--local[Do not attempt to fetch gems remotely and use the gem cache instead]' \
42+ '(--no-color)--no-color[Disable colorization in output]' \
43+ '(--verbose)--verbose[Enable verbose output mode]'
44+ ret=0
45+ ;;
46 (open|show)
47 _gems=( $(bundle show 2> /dev/null | sed -e '/^ \*/!d; s/^ \* \([^ ]*\) .*/\1/') )
48 if [[ $_gems != "" ]]; then