Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed YML to parse in 1.9.2 as per roodi#11

  • Loading branch information...
commit 5fce3666ce26458928cfe95c2c1d4fa726d46720 1 parent 4aff319
duncan-bayne authored
Showing with 22 additions and 12 deletions.
  1. +2 −1  Gemfile
  2. +20 −11 roodi.yml
3  Gemfile
View
@@ -4,4 +4,5 @@ gem 'rake'
gem 'hoe'
gem 'rspec'
gem 'ruby_parser'
-gem 'rdoc'
+gem 'rdoc'
+
31 roodi.yml
View
@@ -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
+
Please sign in to comment.
Something went wrong with that request. Please try again.