summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-01-14 15:37:48 -0600
committerSamuel Giddins <segiddins@segiddins.me>2016-01-31 22:21:13 -0600
commitc8afcc19bacfefc638cfac9bce9f4e09ec238d47 (patch)
treea0212e691573898f59f95fa6298daf551fe2d434
parentc71bdfc892214babefc4c993bba0e23546fe7367 (diff)
downloadbundler-c8afcc19bacfefc638cfac9bce9f4e09ec238d47.tar.gz
Update to RuboCop 0.36.0
-rw-r--r--.rubocop.yml5
-rw-r--r--Rakefile4
-rwxr-xr-xbin/rubocop2
3 files changed, 6 insertions, 5 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 03f007416e..24360fcb3f 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -2,6 +2,7 @@ inherit_from:
- .rubocop_todo.yml
AllCops:
+ TargetRubyVersion: 1.9
Exclude:
- tmp/**/*
- lib/bundler/vendor/**/*
@@ -57,7 +58,7 @@ Style/StringLiteralsInInterpolation:
# Having these make it easier to *not* forget to add one when adding a new
# value and you can simply copy the previous line.
-Style/TrailingComma:
+Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingUnderscoreVariable:
@@ -84,7 +85,7 @@ Style/EachWithObject:
Style/SpecialGlobalVars:
Enabled: false
-Style/TrailingComma:
+Style/TrailingCommaInArguments:
Enabled: false
Performance/FlatMap:
diff --git a/Rakefile b/Rakefile
index 60f2cd1702..9075936312 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.35.1" if RUBY_VERSION >= "1.9.3" # can't go in the gemspec because of the ruby version requirement
+ deps["rubocop"] ||= "= 0.36.0" 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"
@@ -87,7 +87,7 @@ begin
if RUBY_VERSION >= "1.9.3"
# can't go in the gemspec because of the ruby version requirement
- gem "rubocop", "= 0.35.1"
+ gem "rubocop", "= 0.36.0"
require "rubocop/rake_task"
RuboCop::RakeTask.new
end
diff --git a/bin/rubocop b/bin/rubocop
index 8142053393..b0a3d74dbd 100755
--- a/bin/rubocop
+++ b/bin/rubocop
@@ -7,7 +7,7 @@ bundler_spec.dependencies.each do |dep|
gem dep.name, dep.requirement.to_s
end
-gem "rubocop", "= 0.35.1"
+gem "rubocop", "= 0.36.0"
Gem::Specification.unresolved_deps.each do |_name, dep|
gem dep.name, *dep.requirement