Skip to content

Commit

Permalink
RuboCop: Enable Style/UnneededPercentQ and Auto-correct
Browse files Browse the repository at this point in the history
  • Loading branch information
meganemura committed Jul 11, 2014
1 parent 2a1a5d3 commit 15896e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Expand Up @@ -34,4 +34,7 @@ Style/SpecialGlobalVars:
Style/StringLiterals:
Enabled: true

Style/UnneededPercentQ:
Enabled: true

inherit_from: .rubocop_todo.yml
5 changes: 0 additions & 5 deletions .rubocop_todo.yml
Expand Up @@ -68,8 +68,3 @@ Style/SingleLineBlockParams:
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
Style/TrailingComma:
Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
Style/UnneededPercentQ:
Enabled: false
4 changes: 2 additions & 2 deletions ruby-dmm.gemspec
Expand Up @@ -8,8 +8,8 @@ Gem::Specification.new do |gem|
gem.version = DMM::VERSION
gem.authors = ['meganemura']
gem.email = ['mura2megane@gmail.com']
gem.description = %q(Client for the DMM Web Service API 2.0.)
gem.summary = %q(Client for the DMM Web Service API 2.0.)
gem.description = 'Client for the DMM Web Service API 2.0.'
gem.summary = 'Client for the DMM Web Service API 2.0.'
gem.homepage = ''

gem.files = `git ls-files -z`.split("\x0")
Expand Down

0 comments on commit 15896e2

Please sign in to comment.