Permalink
Browse files

Fix broken symlink introduced by 9d3929f

patches/ree/fix-irb-completion.diff was a symlink to
patches/ruby/fix-irb-completion.diff. 9d3929f copied the patch into the
various 1.8.x sub-directories leaving the symlink broken. This commit
replaces the symlink with another copy of the patch.
  • Loading branch information...
rbrown committed Mar 15, 2012
1 parent 479f9e1 commit a21ed0ea7cb9cdd542d0bd6027897c107a3cb659
Showing with 13 additions and 1 deletion.
  1. +0 −1 patches/ree/fix-irb-completion.diff
  2. +13 −0 patches/ree/fix-irb-completion.diff
@@ -0,0 +1,13 @@
+diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb
+index 000658e..609dca3 100644
+--- a/lib/irb/completion.rb
++++ b/lib/irb/completion.rb
+@@ -157,7 +157,7 @@ module IRB
+ end
+ next if name != "IRB::Context" and
+ /^(IRB|SLex|RubyLex|RubyToken)/ =~ name
+- candidates.concat m.instance_methods(false)
++ candidates.concat m.instance_methods(false).map { |m| m.to_s }
+ }
+ candidates.sort!
+ candidates.uniq!

0 comments on commit a21ed0e

Please sign in to comment.