Sha256: 824ee883f1f5105a5a290509af80a32bb0d079edf0bb2fdf3500413ea153fbf3

Contents?: true

Size: 636 Bytes

Versions: 36

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 'rasti-db'
  require 'pry'
  ARGV.clear
  Pry.start
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
rasti-db-4.2.0 Rakefile
rasti-db-4.1.1 Rakefile
rasti-db-4.1.0 Rakefile
rasti-db-4.0.0 Rakefile
rasti-db-3.0.0 Rakefile
rasti-db-2.3.3 Rakefile
rasti-db-2.3.2 Rakefile
rasti-db-2.3.1 Rakefile
rasti-db-2.3.0 Rakefile
rasti-db-2.2.0 Rakefile
rasti-db-2.1.0 Rakefile
rasti-db-2.0.1 Rakefile
rasti-db-2.0.0 Rakefile
rasti-db-1.5.0 Rakefile
rasti-db-1.4.0 Rakefile
rasti-db-1.3.1 Rakefile
rasti-db-1.3.0 Rakefile
rasti-db-1.2.0 Rakefile
rasti-db-1.1.1 Rakefile
rasti-db-1.1.0 Rakefile