<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -25,7 +25,7 @@ module Roodi
 
       def evaluate(node)
         complexity = count_complexity(node)
-        add_error &quot;Method name \&quot;#{node[1]}\&quot; has a cyclomatic complexity is #{complexity}.  It should be #{@complexity} or less.&quot; unless complexity &lt;= @complexity
+        add_error &quot;Method name \&quot;#{node[1]}\&quot; cyclomatic complexity is #{complexity}.  It should be #{@complexity} or less.&quot; unless complexity &lt;= @complexity
       end
     end
   end</diff>
      <filename>lib/roodi/checks/cyclomatic_complexity_method_check.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,7 +6,7 @@ module Roodi
     # 
     # Keeping to a consistent nameing convention makes your code easier to read.
     class MethodNameCheck &lt; NameCheck
-      DEFAULT_PATTERN = /^[_a-z&lt;&gt;=\[\]|+-\/\*`]+[_a-z0-9_&lt;&gt;=~@\[\]]*[=!\?]?$/
+      DEFAULT_PATTERN = /^[_a-z&lt;&gt;=\[|+-\/\*`]+[_a-z0-9_&lt;&gt;=~@\[\]]*[=!\?]?$/
       
       def initialize(options = {})
         pattern = options['pattern'] || DEFAULT_PATTERN</diff>
      <filename>lib/roodi/checks/method_name_check.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,7 +8,7 @@ CyclomaticComplexityMethodCheck: { complexity: 8 }
 EmptyRescueBodyCheck:            { }
 ForLoopCheck:                    { }
 MethodLineCountCheck:            { line_count: 20 }
-MethodNameCheck:                 { pattern: !ruby/regexp /^[_a-z&lt;&gt;=\[\]|+-\/\*`]+[_a-z0-9_&lt;&gt;=~@\[\]]*[=!\?]?$/ }
+MethodNameCheck:                 { pattern: !ruby/regexp /^[_a-z&lt;&gt;=\[|+-\/\*`]+[_a-z0-9_&lt;&gt;=~@\[\]]*[=!\?]?$/ }
 ModuleLineCountCheck:            { line_count: 300 }
 ModuleNameCheck:                 { pattern: !ruby/regexp /^[A-Z][a-zA-Z0-9]*$/ }
 ParameterNumberCheck:            { parameter_count: 5 }</diff>
      <filename>roodi.yml</filename>
    </modified>
    <modified>
      <diff>@@ -9,7 +9,7 @@ describe Roodi::Checks::CyclomaticComplexityMethodCheck do
     @roodi.check_content(content)
     errors = @roodi.errors
     errors.should_not be_empty
-    errors[0].to_s.should eql(&quot;dummy-file.rb:1 - Method name \&quot;method_name\&quot; has a cyclomatic complexity is #{complexity}.  It should be 0 or less.&quot;)
+    errors[0].to_s.should eql(&quot;dummy-file.rb:1 - Method name \&quot;method_name\&quot; cyclomatic complexity is #{complexity}.  It should be 0 or less.&quot;)
   end
   
   it &quot;should find an if block&quot; do</diff>
      <filename>spec/roodi/checks/cyclomatic_complexity_method_check_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -71,6 +71,6 @@ describe Roodi::Checks::MethodNameCheck do
     @roodi.check_content(content)
     errors = @roodi.errors
     errors.should_not be_empty
-    errors[0].to_s.should eql(&quot;dummy-file.rb:1 - Method name \&quot;badMethodName\&quot; should match pattern /^[_a-z&lt;&gt;=\\[\\]|+-\\/\\*`]+[_a-z0-9_&lt;&gt;=~@\\[\\]]*[=!\\?]?$/&quot;)
+    errors[0].to_s.should eql(&quot;dummy-file.rb:1 - Method name \&quot;badMethodName\&quot; should match pattern /^[_a-z&lt;&gt;=\\[|+-\\/\\*`]+[_a-z0-9_&lt;&gt;=~@\\[\\]]*[=!\\?]?$/&quot;)
   end
 end</diff>
      <filename>spec/roodi/checks/method_name_check_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b8f1b8a3cb7bbbe7391c66a914519764f3b556e2</id>
    </parent>
  </parents>
  <author>
    <name>Marty Andrews</name>
    <email>marty@martyandrews.net</email>
  </author>
  <url>http://github.com/martinjandrews/roodi/commit/5e4a297c89fde6789b9269d18c0358eae58e03b7</url>
  <id>5e4a297c89fde6789b9269d18c0358eae58e03b7</id>
  <committed-date>2008-11-30T22:32:08-08:00</committed-date>
  <authored-date>2008-11-30T22:32:08-08:00</authored-date>
  <message>fixed a typo and a bug found by damien.</message>
  <tree>53825e29eea1eb8d0fedbbc58e0e94f6ffc37155</tree>
  <committer>
    <name>Marty Andrews</name>
    <email>marty@martyandrews.net</email>
  </committer>
</commit>
