summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-11-19 11:46:46 -0600
committerSamuel Giddins <segiddins@segiddins.me>2016-11-29 00:51:26 -0600
commit73f2b99bd391a9e355b6f1d1fd8ca9dcf1372fd1 (patch)
treece8ff7af8156b55ffd6f18560fba5cfbea357f6a /Rakefile
parent6ba767d3cfab068cf0622495686939b022c6e20d (diff)
downloadbundler-73f2b99bd391a9e355b6f1d1fd8ca9dcf1372fd1.tar.gz
[RuboCop] Update to 0.45.0seg-rubocop-update
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Rakefile b/Rakefile
index 3a0779ce0c..7fb41ff4a0 100644
--- a/Rakefile
+++ b/Rakefile
@@ -39,7 +39,7 @@ namespace :spec do
deps = Hash[BUNDLER_SPEC.development_dependencies.map do |d|
[d.name, d.requirement.to_s]
end]
- deps["rubocop"] ||= "= 0.41.2" if RUBY_VERSION >= "1.9.3" # can't go in the gemspec because of the ruby version requirement
+ deps["rubocop"] ||= "= 0.45.0" if RUBY_VERSION >= "2.0.0" # 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"
@@ -91,9 +91,9 @@ begin
RSpec::Core::RakeTask.new
task :spec => "man:build"
- if RUBY_VERSION >= "1.9.3"
+ if RUBY_VERSION >= "2.0.0"
# can't go in the gemspec because of the ruby version requirement
- gem "rubocop", "= 0.41.2"
+ gem "rubocop", "= 0.45.0"
require "rubocop/rake_task"
RuboCop::RakeTask.new
end
@@ -190,7 +190,7 @@ begin
task :travis do
rg = ENV["RGV"] || raise("Rubygems version is required on Travis!")
- if RUBY_VERSION > "1.9.3"
+ if RUBY_VERSION >= "2.0.0"
puts "\n\e[1;33m[Travis CI] Running bundler linter\e[m\n\n"
Rake::Task["rubocop"].invoke
end