Permalink
Browse files

Fix case statement to be compatible with ruby19

Signed-off-by: Greg Fitzgerald <netzdamon@gmail.com>
  • Loading branch information...
Greg Fitzgerald authored and thewoolleyman committed Jul 18, 2009
1 parent aaaf029 commit 0718fd9bca13ce65e0ddad774b1fa6f6f40a3595
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/geminstaller/output_filter.rb
@@ -26,8 +26,8 @@ def output(source, type, message)

def format_rubygems_message(type, message)
prefix = case type
when :stdout : "[RubyGems:stdout] "
when :stderr : "[RubyGems:stderr] "
when :stdout then "[RubyGems:stdout] "
when :stderr then "[RubyGems:stderr] "
end
"#{prefix}#{message}"
end
@@ -46,4 +46,4 @@ def geminstaller_output_type_matches?(type)
return false
end
end
end
end

0 comments on commit 0718fd9

Please sign in to comment.