Rakefile in redis-sentinel-1.2.0 vs Rakefile in redis-sentinel-1.3.0
- old
+ new
@@ -1,17 +1,35 @@
+#!/usr/bin/env rake
require "bundler/gem_tasks"
+
+require "rake"
+require "rdoc/task"
+require "rspec"
+require "rspec/core/rake_task"
+
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern = "spec/**/*_spec.rb"
+end
+
+RSpec::Core::RakeTask.new('spec:progress') do |spec|
+ spec.rspec_opts = %w(--format progress)
+ spec.pattern = "spec/**/*_spec.rb"
+end
+
+task :default => :spec