summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2015-11-21 00:04:17 -0600
committerSamuel Giddins <segiddins@segiddins.me>2015-11-21 00:04:17 -0600
commitae873ed6acbb5885a4e3cb03e1766aca797bca3b (patch)
tree325bf106d78997873738badc4ad556690a7d976a
parent7be4f29c7caaccead7a6d9014839a8b3a63da315 (diff)
downloadbundler-ae873ed6acbb5885a4e3cb03e1766aca797bca3b.tar.gz
[RuboCop] Update to 0.35.1seg-rubocop-0.35.1
-rw-r--r--.rubocop_todo.yml30
-rw-r--r--Rakefile4
-rwxr-xr-xbin/rubocop2
3 files changed, 23 insertions, 13 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 7269f36893..a66ed2604c 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2015-10-05 08:53:42 -0500 using RuboCop version 0.34.2.
+# on 2015-11-21 00:03:12 -0600 using RuboCop version 0.35.1.
# 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
@@ -31,13 +31,12 @@ Lint/NonLocalExitFromIterator:
Exclude:
- 'lib/bundler/rubygems_integration.rb'
-# Offense count: 6
+# Offense count: 5
Lint/RescueException:
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'
@@ -48,7 +47,7 @@ Lint/UselessAssignment:
- 'lib/bundler/index.rb'
- 'lib/bundler/installer.rb'
-# Offense count: 1002
+# Offense count: 1031
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 207
@@ -83,7 +82,7 @@ Style/AndOr:
- 'lib/bundler/settings.rb'
- 'spec/support/builders.rb'
-# Offense count: 23
+# Offense count: 24
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
Style/BlockDelimiters:
@@ -107,7 +106,7 @@ Style/CaseIndentation:
Style/ClassAndModuleChildren:
Enabled: false
-# Offense count: 117
+# Offense count: 119
# Configuration parameters: Exclude.
Style/Documentation:
Enabled: false
@@ -149,7 +148,7 @@ Style/GlobalVars:
- 'spec/spec_helper.rb'
- 'spec/support/helpers.rb'
-# Offense count: 30
+# Offense count: 32
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Enabled: false
@@ -190,6 +189,7 @@ Style/MultilineOperationIndentation:
Enabled: false
# Offense count: 10
+# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
Style/Next:
Exclude:
@@ -201,6 +201,16 @@ Style/Next:
- 'lib/bundler/source/path.rb'
- 'spec/support/artifice/endpoint.rb'
+# Offense count: 13
+# Cop supports --auto-correct.
+Style/ParallelAssignment:
+ Exclude:
+ - 'lib/bundler/dsl.rb'
+ - 'lib/bundler/shared_helpers.rb'
+ - 'lib/bundler/ui/shell.rb'
+ - 'spec/bundler/bundler_spec.rb'
+ - 'spec/support/helpers.rb'
+
# Offense count: 67
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
@@ -221,7 +231,7 @@ Style/PerlBackrefs:
- 'lib/bundler/source/path.rb'
# Offense count: 8
-# Configuration parameters: NamePrefix, NamePrefixBlacklist.
+# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
Style/PredicateName:
Exclude:
- 'lib/bundler/definition.rb'
@@ -231,7 +241,7 @@ Style/PredicateName:
- 'lib/bundler/source/git/git_proxy.rb'
- 'lib/bundler/source/path.rb'
-# Offense count: 6
+# Offense count: 7
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/RaiseArgs:
Enabled: false
@@ -248,7 +258,7 @@ Style/RedundantSelf:
- 'spec/support/less_than_proc.rb'
- 'spec/support/ruby_ext.rb'
-# Offense count: 5
+# Offense count: 6
# Cop supports --auto-correct.
Style/RescueModifier:
Exclude:
diff --git a/Rakefile b/Rakefile
index b64f738757..bbe10ef802 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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.2" if RUBY_VERSION >= "1.9.3" # can't go in the gemspec because of the ruby version requirement
+ deps["rubocop"] ||= "= 0.35.1" 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"
@@ -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.2"
+ gem "rubocop", "= 0.35.1"
require "rubocop/rake_task"
RuboCop::RakeTask.new
end
diff --git a/bin/rubocop b/bin/rubocop
index f4993c40f3..404e05888b 100755
--- a/bin/rubocop
+++ b/bin/rubocop
@@ -7,5 +7,5 @@ bundler_spec.dependencies.each do |dep|
gem dep.name, dep.requirement.to_s
end
-gem "rubocop", "= 0.34.2"
+gem "rubocop", "= 0.35.1"
load Gem.bin_path("rubocop", "rubocop")