Rakefile in cocoapods-plugins-0.3.2 vs Rakefile in cocoapods-plugins-0.4.0

- old
+ new

@@ -38,17 +38,13 @@ # Rubocop #-----------------------------------------------------------------------------# desc 'Checks code style' task :rubocop do - if RUBY_VERSION >= '1.9.3' - require 'rubocop' - cli = RuboCop::CLI.new - result = cli.run(FileList['{spec,lib}/**/*.rb']) - abort('RuboCop failed!') unless result == 0 - else - puts '[!] Ruby > 1.9 is required to run style checks' - end + require 'rubocop' + cli = RuboCop::CLI.new + result = cli.run(FileList['{spec,lib}/**/*.rb']) + abort('RuboCop failed!') unless result == 0 end rescue LoadError $stderr.puts "\033[0;31m" \ '[!] Some Rake tasks haven been disabled because the environment' \