Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
[RuboCop] Regenerate todo file with new file excludes
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed Oct 5, 2015
1 parent 12fb460 commit cd705ce
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 53 deletions.
187 changes: 137 additions & 50 deletions .rubocop_todo.yml
@@ -1,72 +1,100 @@
# This configuration was generated by `rubocop --auto-gen-config`
# on 2015-07-15 20:39:25 -0700 using RuboCop version 0.32.1.
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2015-10-05 08:53:42 -0500 using RuboCop version 0.34.2.
# 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
# versions of RuboCop, may require this file to be generated again.

# Offense count: 4
Lint/Eval:
Enabled: false
Exclude:
- 'lib/bundler.rb'
- 'lib/bundler/endpoint_specification.rb'
- 'spec/support/streams.rb'

# Offense count: 5
Lint/HandleExceptions:
Enabled: false
Exclude:
- 'lib/bundler/fetcher/dependency.rb'
- 'lib/bundler/installer.rb'
- 'lib/bundler/psyched_yaml.rb'
- 'lib/bundler/vendored_persistent.rb'

# Offense count: 1
Lint/NestedMethodDefinition:
Enabled: false
Exclude:
- 'lib/bundler/graph.rb'

# Offense count: 1
Lint/NonLocalExitFromIterator:
Enabled: false
Exclude:
- 'lib/bundler/rubygems_integration.rb'

# Offense count: 6
Lint/RescueException:
Enabled: false
Exclude:
- 'lib/bundler/cli.rb'
- 'lib/bundler/dsl.rb'
- 'lib/bundler/friendly_errors.rb'
- 'lib/bundler/installer.rb'
- 'lib/bundler/rubygems_integration.rb'
- 'lib/bundler/worker.rb'

# Offense count: 7
Lint/UselessAssignment:
Enabled: false
Exclude:
- 'lib/bundler/graph.rb'
- 'lib/bundler/index.rb'
- 'lib/bundler/installer.rb'

# Offense count: 959
# Offense count: 1002
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 207

# Offense count: 4
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 363

# Offense count: 2
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 6

# Offense count: 49
# Offense count: 50
Metrics/PerceivedComplexity:
Max: 54

# Offense count: 1
Style/AccessorMethodName:
Enabled: false
Exclude:
- 'lib/bundler/source/git.rb'

# Offense count: 16
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/AndOr:
Enabled: false

# Offense count: 22
Exclude:
- 'lib/bundler/gem_helper.rb'
- 'lib/bundler/graph.rb'
- 'lib/bundler/lazy_specification.rb'
- 'lib/bundler/match_platform.rb'
- 'lib/bundler/remote_specification.rb'
- 'lib/bundler/resolver.rb'
- 'lib/bundler/rubygems_integration.rb'
- 'lib/bundler/runtime.rb'
- 'lib/bundler/settings.rb'
- 'spec/support/builders.rb'

# Offense count: 23
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
Style/BlockDelimiters:
Enabled: false

# Offense count: 3
Style/CaseEquality:
Enabled: false
Exclude:
- 'lib/bundler/dsl.rb'
- 'lib/bundler/match_platform.rb'
- 'lib/bundler/rubygems_ext.rb'

# Offense count: 4
# Cop supports --auto-correct.
Expand All @@ -79,52 +107,83 @@ Style/CaseIndentation:
Style/ClassAndModuleChildren:
Enabled: false

# Offense count: 153
# Offense count: 117
# Configuration parameters: Exclude.
Style/Documentation:
Enabled: false

# Offense count: 1
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/EmptyElse:
Enabled: false
Exclude:
- 'lib/bundler/fetcher.rb'
- 'lib/bundler/ruby_version.rb'

# Offense count: 9
# Offense count: 10
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/EmptyLinesAroundModuleBody:
Enabled: false
Exclude:
- 'lib/bundler/cli/common.rb'
- 'lib/bundler/deprecate.rb'
- 'lib/bundler/dsl.rb'
- 'lib/bundler/fetcher.rb'
- 'lib/bundler/friendly_errors.rb'
- 'lib/bundler/gem_helpers.rb'
- 'spec/support/builders.rb'
- 'spec/support/indexes.rb'
- 'spec/support/rubygems_ext.rb'

# Offense count: 1
# Configuration parameters: Exclude.
Style/FileName:
Enabled: false
Exclude:
- 'lib/bundler/templates/Executable'

# Offense count: 4
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Enabled: false
Exclude:
- 'lib/bundler/cli.rb'
- 'spec/spec_helper.rb'
- 'spec/support/helpers.rb'

# Offense count: 29
# Offense count: 30
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Enabled: false

# Offense count: 20
# Offense count: 18
# Cop supports --auto-correct.
# Configuration parameters: MaxLineLength.
Style/IfUnlessModifier:
Enabled: false
Exclude:
- 'lib/bundler.rb'
- 'lib/bundler/cli/install.rb'
- 'lib/bundler/definition.rb'
- 'lib/bundler/dependency.rb'
- 'lib/bundler/fetcher.rb'
- 'lib/bundler/gem_helper.rb'
- 'lib/bundler/lockfile_parser.rb'
- 'lib/bundler/rubygems_integration.rb'
- 'lib/bundler/settings.rb'
- 'lib/bundler/source/git.rb'
- 'lib/bundler/source/git/git_proxy.rb'
- 'spec/support/builders.rb'

# Offense count: 2
Style/ModuleFunction:
Enabled: false
Exclude:
- 'lib/bundler/shared_helpers.rb'
- 'spec/support/path.rb'

# Offense count: 1
Style/MultilineBlockChain:
Enabled: false
Exclude:
- 'spec/support/less_than_proc.rb'

# Offense count: 13
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/MultilineOperationIndentation:
Expand All @@ -133,9 +192,16 @@ Style/MultilineOperationIndentation:
# Offense count: 10
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
Style/Next:
Enabled: false

# Offense count: 63
Exclude:
- 'exe/bundle'
- 'exe/bundler'
- 'lib/bundler/definition.rb'
- 'lib/bundler/dsl.rb'
- 'lib/bundler/resolver.rb'
- 'lib/bundler/source/path.rb'
- 'spec/support/artifice/endpoint.rb'

# Offense count: 67
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
Expand All @@ -144,34 +210,55 @@ Style/PercentLiteralDelimiters:
# Offense count: 22
# Cop supports --auto-correct.
Style/PerlBackrefs:
Enabled: false
Exclude:
- 'exe/bundle'
- 'exe/bundler'
- 'lib/bundler/cli/gem.rb'
- 'lib/bundler/dsl.rb'
- 'lib/bundler/lockfile_parser.rb'
- 'lib/bundler/runtime.rb'
- 'lib/bundler/source/git/git_proxy.rb'
- 'lib/bundler/source/path.rb'

# Offense count: 8
# Configuration parameters: NamePrefix, NamePrefixBlacklist.
Style/PredicateName:
Enabled: false
Exclude:
- 'lib/bundler/definition.rb'
- 'lib/bundler/installer/parallel_installer.rb'
- 'lib/bundler/settings.rb'
- 'lib/bundler/source/git.rb'
- 'lib/bundler/source/git/git_proxy.rb'
- 'lib/bundler/source/path.rb'

# Offense count: 8
# Offense count: 6
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/RaiseArgs:
Enabled: false

# Offense count: 7
# Cop supports --auto-correct.
Style/RedundantSelf:
Enabled: false
Exclude:
- 'lib/bundler.rb'
- 'lib/bundler/definition.rb'
- 'lib/bundler/graph.rb'
- 'lib/bundler/rubygems_integration.rb'
- 'lib/bundler/source/rubygems.rb'
- 'spec/support/less_than_proc.rb'
- 'spec/support/ruby_ext.rb'

# Offense count: 3
# Offense count: 5
# Cop supports --auto-correct.
Style/RescueModifier:
Enabled: false
Exclude:
- 'lib/bundler.rb'
- 'lib/bundler/fetcher.rb'
- 'lib/bundler/resolver.rb'
- 'spec/realworld/dependency_api_spec.rb'

# Offense count: 2
# Offense count: 1
# Configuration parameters: Methods.
Style/SingleLineBlockParams:
Enabled: false

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/SpaceAroundEqualsInParameterDefault:
Enabled: false
Exclude:
- 'lib/bundler/cli/gem.rb'
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -33,7 +33,7 @@ namespace :spec do
deps = Hash[BUNDLER_SPEC.development_dependencies.map do |d|
[d.name, d.requirement.to_s]
end]
deps["rubocop"] ||= "= 0.34.1" if RUBY_VERSION >= "1.9.3" # can't go in the gemspec because of the ruby version requirement
deps["rubocop"] ||= "= 0.34.2" if RUBY_VERSION >= "1.9.3" # can't go in the gemspec because of the ruby version requirement

# JRuby can't build ronn or rdiscount, so we skip that
if defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
Expand Down Expand Up @@ -88,7 +88,7 @@ begin

if RUBY_VERSION >= "1.9.3"
# can't go in the gemspec because of the ruby version requirement
gem "rubocop", "= 0.34.1"
gem "rubocop", "= 0.34.2"
require "rubocop/rake_task"
RuboCop::RakeTask.new
end
Expand Down
2 changes: 1 addition & 1 deletion bin/rubocop
Expand Up @@ -7,5 +7,5 @@ bundler_spec.dependencies.each do |dep|
gem dep.name, dep.requirement.to_s
end

gem "rubocop", "= 0.34.1"
gem "rubocop", "= 0.34.2"
load Gem.bin_path("rubocop", "rubocop")

0 comments on commit cd705ce

Please sign in to comment.