Permalink
Browse files

Fixed YML to parse in 1.9.2 as per roodi#11

  • Loading branch information...
1 parent 4aff319 commit 5fce3666ce26458928cfe95c2c1d4fa726d46720 duncan-bayne committed Oct 12, 2011
Showing with 22 additions and 12 deletions.
  1. +2 −1 Gemfile
  2. +20 −11 roodi.yml
View
3 Gemfile
@@ -4,4 +4,5 @@ gem 'rake'
gem 'hoe'
gem 'rspec'
gem 'ruby_parser'
-gem 'rdoc'
+gem 'rdoc'
+
View
31 roodi.yml
@@ -1,16 +1,25 @@
AssignmentInConditionalCheck: { }
CaseMissingElseCheck: { }
-ClassLineCountCheck: { line_count: 300 }
-ClassNameCheck: { pattern: !ruby/regexp /^[A-Z][a-zA-Z0-9]*$/ }
-ClassVariableCheck: { }
-CyclomaticComplexityBlockCheck: { complexity: 4 }
-CyclomaticComplexityMethodCheck: { complexity: 8 }
+ClassLineCountCheck:
+ line_count: 300
+ClassNameCheck:
+ pattern: !ruby/regexp /^[A-Z][a-zA-Z0-9]*$/
+ClassVariableCheck: {}
+CyclomaticComplexityBlockCheck:
+ complexity: 4
+CyclomaticComplexityMethodCheck:
+ complexity: 8
EmptyRescueBodyCheck: { }
ForLoopCheck: { }
-MethodLineCountCheck: { line_count: 20 }
-MethodNameCheck: { pattern: !ruby/regexp /^[_a-z<>=\[|+-\/\*`]+[_a-z0-9_<>=~@\[\]]*[=!\?]?$/ }
+MethodLineCountCheck:
+ line_count: 20
+MethodNameCheck:
+ pattern: !ruby/regexp /^[_a-z<>=\[|+-\/\*`]+[_a-z0-9_<>=~@\[\]]*[=!\?]?$/
# MissingForeignKeyIndexCheck: { }
-ModuleLineCountCheck: { line_count: 300 }
-ModuleNameCheck: { pattern: !ruby/regexp /^[A-Z][a-zA-Z0-9]*$/ }
-ParameterNumberCheck: { parameter_count: 5 }
-CoreMethodOverrideCheck: { }
+ModuleLineCountCheck:
+ line_count: 300
+ModuleNameCheck:
+ pattern: !ruby/regexp /^[A-Z][a-zA-Z0-9]*$/
+ParameterNumberCheck:
+ parameter_count: 5
+

0 comments on commit 5fce366

Please sign in to comment.