<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -181,7 +181,7 @@ class Formula
 
   def self.class_s name
     #remove invalid characters and camelcase
-    name.capitalize.gsub(/[-_\s]([a-zA-Z0-9])/) { $1.upcase }
+    name.capitalize.gsub(/[-_\s]([a-zA-Z0-9])/) { $1.upcase }.gsub('+', 'x')
   end
 
   def self.factory name</diff>
      <filename>Library/Homebrew/formula.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7f8258f0bd09397c2709b2ead1ef4480fea4b205</id>
    </parent>
  </parents>
  <author>
    <name>Max Howell</name>
    <email>max@methylblue.com</email>
  </author>
  <url>http://github.com/aanand/homebrew/commit/5649ca637424cdd6649f4dd43db7b6ada4a00706</url>
  <id>5649ca637424cdd6649f4dd43db7b6ada4a00706</id>
  <committed-date>2009-10-18T20:02:48-07:00</committed-date>
  <authored-date>2009-10-18T17:43:57-07:00</authored-date>
  <message>Allow formula names with '+' in them

HFS+ handles the + fine. However the Ruby class name needs a s/+/x/g.

I acknowledge that supporting + will make it harder to port to certain other
filesystems. However that's your challenge! :D</message>
  <tree>7b1b4bf647c8498d689dd923011f8a37e1ab2818</tree>
  <committer>
    <name>Max Howell</name>
    <email>max@methylblue.com</email>
  </committer>
</commit>
