Sha256: e10ce2aaa4a34a43b7de3a7046c1e375967eccec5fea43476ec86518e57c78fa
Contents?: true
Size: 638 Bytes
Versions: 3
Compression:
Stored size: 638 Bytes
Contents
require 'bundler/gem_tasks' require 'rake/testtask' Rake::TestTask.new(:spec) do |t| t.libs << 'spec' t.libs << 'lib' t.pattern = ENV['DIR'] ? File.join(ENV['DIR'], '**', '*_spec.rb') : 'spec/**/*_spec.rb' t.verbose = false t.warning = false t.loader = nil if ENV['TEST'] ENV['TEST'], ENV['LINE'] = ENV['TEST'].split(':') if ENV['TEST'] && !ENV['LINE'] t.options = '' t.options << "--name=/#{ENV['NAME']}/ " if ENV['NAME'] t.options << "-l #{ENV['LINE']} " if ENV['LINE'] && ENV['TEST'] end task default: :spec desc 'Pry console' task :console do require 'resque-one' require 'pry' ARGV.clear Pry.start end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
resque-one-1.1.0 | Rakefile |
resque-one-1.0.1 | Rakefile |
resque-one-1.0.0 | Rakefile |