Rakefile in ackr-0.2.4 vs Rakefile in ackr-0.3.0

- old
+ new

@@ -1,22 +1,6 @@ -# -*- encoding: utf-8 -*- +require "bundler/gem_tasks" +require "rspec/core/rake_task" -require 'rake/dsl_definition' -require 'rake' -require 'rspec/core/rake_task' +RSpec::Core::RakeTask.new(:spec) -desc 'Test GEM' task :default => :spec - -desc 'Test GEM with rspec' -RSpec::Core::RakeTask.new(:spec) do |t| - t.rspec_opts = ['--color'] -end - -desc 'Check for code smells' -task :reek do - puts 'Checking for code smells...' - files = Dir.glob 'lib/**/*.rb' - # files.delete FILE_TO_EXCLUDE - args = files.join(' ') - sh "reek --quiet #{args} | ./reek.sed" -end