Skip to content

Commit

Permalink
Fix RuboCop offenses introduced in version 0.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Mar 13, 2014
1 parent 71b0a38 commit c9cfca9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
15 changes: 15 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,18 @@ RaiseArgs:

TrailingComma:
Enabled: false

DoubleNegation:
Enabled: false

PercentLiteralDelimiters:
PreferredDelimiters:
'%': ()
'%i': ()
'%q': ()
'%Q': ()
'%r': '{}'
'%s': ()
'%w': '[]'
'%W': '[]'
'%x': ()
2 changes: 1 addition & 1 deletion lib/twitter/profile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class << self
private

def alias_predicate_uri_methods(method)
%w(_url? _uri_https? _url_https?).each do |replacement|
%w[_url? _uri_https? _url_https?].each do |replacement|
alias_method_sub(method, PREDICATE_URI_METHOD_REGEX, replacement)
end
end
Expand Down
4 changes: 2 additions & 2 deletions twitter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ Gem::Specification.new do |spec|
spec.add_dependency 'simple_oauth', '~> 0.2.0'
spec.add_development_dependency 'bundler', '~> 1.0'
spec.authors = ['Erik Michaels-Ober', 'John Nunemaker', 'Wynn Netherland', 'Steve Richert', 'Steve Agalloco']
spec.description = %q{A Ruby interface to the Twitter API.}
spec.description = %q(A Ruby interface to the Twitter API.)
spec.email = %w[[email protected]]
spec.files = %w(.yardopts CHANGELOG.md CONTRIBUTING.md LICENSE.md README.md Rakefile twitter.gemspec)
spec.files = %w[.yardopts CHANGELOG.md CONTRIBUTING.md LICENSE.md README.md Rakefile twitter.gemspec]
spec.files += Dir.glob('lib/**/*.rb')
spec.files += Dir.glob('spec/**/*')
spec.homepage = 'http://sferik.github.com/twitter/'
Expand Down

0 comments on commit c9cfca9

Please sign in to comment.