Skip to content

Commit

Permalink
Rubocop: Fixing error by updating gem
Browse files Browse the repository at this point in the history
Fixing the error: undefined method `color' for ".":String. This was caused by a
gem requirement in rubocop and was fixed in 0.17.
  • Loading branch information
David Davis committed Feb 4, 2014
1 parent fff01a0 commit 3550b56
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
24 changes: 21 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,24 @@ BracesAroundHashParameters:
AlignHash:
Enabled: false

PredicateName:
Enabled: false # remove me

DefaultScope:
Enabled: false # remove me?

IndentationConsistency:
Enabled: false # remove me

TrailingComma:
Enabled: false # remove me

ConditionPosition:
Enabled: false # remove me

AccessorMethodName:
Enabled: false # remove me

# end TODO

AllCops:
Expand Down Expand Up @@ -108,9 +126,6 @@ Lambda:
FavorSprintf:
Enabled: false # we use % for i18n

ReduceArguments:
Enabled: false # good rule of thumb but not worth enforcing

RedundantSelf:
Enabled: false

Expand All @@ -128,3 +143,6 @@ Encoding:

MethodCalledOnDoEndBlock:
Enabled: true

SingleLineBlockParams:
Enabled: false
2 changes: 1 addition & 1 deletion katello.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Gem::Specification.new do |gem|
gem.add_dependency "deface"

# Testing
gem.add_development_dependency "rubocop", "0.15.0"
gem.add_development_dependency "rubocop", "0.17.0"
gem.add_development_dependency "factory_girl_rails", "~> 1.4.0"
gem.add_development_dependency "minitest-tags"
gem.add_development_dependency "mocha", "~> 0.14.0"
Expand Down

0 comments on commit 3550b56

Please sign in to comment.