Skip to content

Commit

Permalink
chore: bump the rubocop version
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Harrison committed Apr 29, 2020
1 parent 8af5aaa commit e43a8c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 27 deletions.
31 changes: 5 additions & 26 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2020-01-06 13:56:04 -0300 using RuboCop version 0.79.0.
# on 2020-04-29 14:57:47 -0500 using RuboCop version 0.82.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down Expand Up @@ -55,22 +55,14 @@ Layout/SpaceInsideHashLiteralBraces:

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: IndentationWidth.
Layout/Tab:
Exclude:
- 'twilio-ruby.gemspec'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
Lint/UnusedBlockArgument:
Exclude:
- 'Rakefile'
- 'spec/rack/twilio_webhook_authentication_spec.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
Lint/UnusedMethodArgument:
Exclude:
- 'lib/twilio-ruby.rb'
Expand All @@ -88,12 +80,6 @@ Lint/UselessAssignment:
Exclude:
- 'spec/rack/twilio_webhook_authentication_spec.rb'

# Offense count: 1
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
Max: 28

# Offense count: 1
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
Expand All @@ -103,7 +89,7 @@ Naming/FileName:

# Offense count: 2
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at, ip, db, os
# AllowedNames: io, id, to, by, on, in, at, ip, db, os, pp
Naming/MethodParameterName:
Exclude:
- 'lib/twilio-ruby/security/request_validator.rb'
Expand All @@ -116,7 +102,7 @@ Naming/VariableName:
- 'spec/jwt/client_capability_spec.rb'
- 'spec/jwt/task_router_spec.rb'

# Offense count: 38
# Offense count: 39
Style/Documentation:
Enabled: false

Expand All @@ -136,7 +122,7 @@ Style/ExpandPathArguments:
# Offense count: 23
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, never
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Enabled: false

Expand Down Expand Up @@ -195,13 +181,6 @@ Style/StringLiterals:
Exclude:
- 'spec/framework/serialize_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: MinSize.
# SupportedStyles: percent, brackets
Style/SymbolArray:
EnforcedStyle: brackets

# Offense count: 14
# Cop supports --auto-correct.
# Configuration parameters: AllowNamedUnderscoreVariables.
Expand Down
2 changes: 1 addition & 1 deletion twilio-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rack', '~> 2.0'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rubocop', '~> 0.80.0'
spec.add_development_dependency 'rubocop', '~> 0.82.0'
spec.add_development_dependency 'yard', '~> 0.9.9'
end

0 comments on commit e43a8c4

Please sign in to comment.