Rakefile in soaspec-0.0.19 vs Rakefile in soaspec-0.0.20

- old
+ new

@@ -1,20 +1,20 @@ -require 'bundler/gem_tasks' -require 'rspec/core/rake_task' -require 'rake/clean' - -RSpec::Core::RakeTask.new(:run_spec) do |t| - t.pattern = "spec/*/*/*_spec.rb" -end - -desc 'Prepare log files' -task :logs do - mkdir_p 'logs' - touch 'logs/traffic.log' -end - -desc 'Run tests' -task :spec => %w[logs run_spec] - -task :default => :spec - -CLOBBER.include 'logs/*' +require 'bundler/gem_tasks' +require 'rspec/core/rake_task' +require 'rake/clean' + +RSpec::Core::RakeTask.new(:run_spec) do |t| + t.pattern = "spec/*/*/*_spec.rb" +end + +desc 'Prepare log files' +task :logs do + mkdir_p 'logs' + touch 'logs/traffic.log' +end + +desc 'Run tests' +task :spec => %w[logs run_spec] + +task :default => :spec + +CLOBBER.include 'logs/*'