Sha256: 9287b93777c0d02dacee4b2dfd7d4dc3581a22ecf8b3298fd3e6eaf4368c921d

Contents?: true

Size: 262 Bytes

Versions: 23

Compression:

Stored size: 262 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"

# RSpec
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new('spec')
task :default => :spec

# Custom Tasks
desc 'Flush the test database'
task :flushdb do
  require 'redis'
  Redis.new(:db => 15).flushdb
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
redis-mutex-4.0.2 Rakefile
redis-mutex-4.0.1 Rakefile
redis-classy-2.4.1 Rakefile
redis-classy-2.4.0 Rakefile
redis-classy-2.3.1 Rakefile
redis-classy-2.3.0 Rakefile
redis-mutex-4.0.0 Rakefile
redis-classy-2.2.0 Rakefile
redis-classy-2.1.0 Rakefile
redis-classy-2.0.0 Rakefile
redis-mutex-3.0.0 Rakefile
redis-mutex-2.1.1 Rakefile
redis-mutex-2.1.0 Rakefile
redis-mutex-2.0.0 Rakefile
redis-classy-1.2.0 Rakefile
redis-mutex-1.3.5 Rakefile
redis-mutex-1.3.4 Rakefile
redis-mutex-1.3.3 Rakefile
redis-mutex-1.3.2 Rakefile
redis-mutex-1.3.1 Rakefile