Commit 25c1f0df authored by Kyle Fuller's avatar Kyle Fuller

[Rakefile] Remove references to Ruby 1.9

We don't support Ruby 1.9 anymore.
parent ceb0e5bd
...@@ -166,7 +166,7 @@ begin ...@@ -166,7 +166,7 @@ begin
Rake::Task['examples:build'].invoke Rake::Task['examples:build'].invoke
title 'Running RuboCop' title 'Running RuboCop'
Rake::Task['rubocop'].invoke if RUBY_VERSION >= '1.9.3' Rake::Task['rubocop'].invoke
end end
desc "Rebuild all the fixture tarballs" desc "Rebuild all the fixture tarballs"
...@@ -279,13 +279,11 @@ begin ...@@ -279,13 +279,11 @@ begin
#-- Rubocop ----------------------------------------------------------------# #-- Rubocop ----------------------------------------------------------------#
if RUBY_VERSION >= '1.9.3'
require 'rubocop/rake_task' require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop) do |task| RuboCop::RakeTask.new(:rubocop) do |task|
task.patterns = ['lib', 'spec'] task.patterns = ['lib', 'spec']
end end
end
rescue LoadError, NameError => e rescue LoadError, NameError => e
$stderr.puts "\033[0;31m" \ $stderr.puts "\033[0;31m" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment