Rakefile in dry-pipeline-0.0.1 vs Rakefile in dry-pipeline-0.0.2
- old
+ new
@@ -1,6 +1,12 @@
-require "bundler/gem_tasks"
-require "rspec/core/rake_task"
+#!/usr/bin/env rake
+require 'bundler/gem_tasks'
-RSpec::Core::RakeTask.new(:spec)
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
-task :default => :spec
+require 'rspec/core'
+require 'rspec/core/rake_task'
+
+task default: :spec
+
+desc 'Run all specs in spec directory'
+RSpec::Core::RakeTask.new(:spec)