Sha256: 216a5d15f4a85ca973454cf0e9a3685ce279c89aa11df39d2623c72e3d2d5438
Contents?: true
Size: 560 Bytes
Versions: 5
Compression:
Stored size: 560 Bytes
Contents
require 'bundler/gem_tasks' require 'rake/testtask' Rake::TestTask.new(:spec) do |t| t.libs << 'spec' t.pattern = '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 'timing' require 'pry' ARGV.clear Pry.start end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
timing-0.1.1 | Rakefile |
timing-0.1.0 | Rakefile |
timing-0.0.11 | Rakefile |
timing-0.0.10 | Rakefile |
timing-0.0.9 | Rakefile |