Sha256: 98407835cd6dfd6d5b6bb863fe11d9e6d6633c27636fc9f947246061814cccd0
Contents?: true
Size: 636 Bytes
Versions: 7
Compression:
Stored size: 636 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 'hash_ext' require 'pry' ARGV.clear Pry.start end
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
hash_ext-0.6.2 | Rakefile |
hash_ext-0.6.1 | Rakefile |
hash_ext-0.6.0 | Rakefile |
hash_ext-0.5.0 | Rakefile |
hash_ext-0.4.0 | Rakefile |
hash_ext-0.3.1 | Rakefile |
hash_ext-0.3.0 | Rakefile |