Sha256: 6a076edcba80936b0fde2f133f08ecfec3cb66caca6a632c3924b22ede207c2f

Contents?: true

Size: 447 Bytes

Versions: 7

Compression:

Stored size: 447 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

task :default => :spec

namespace :db do
  desc "Use psql's `createdb` to create the test database"
  task :create do
    sh "createdb active_record_stats_test"
  end

  desc "Use psql's `dropdb` to drop the test database"
  task :drop do
    sh "dropdb active_record_stats_test"
  end

  desc "db:{drop,create}"
  task reset: %w[db:drop db:create]
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active_record_stats-0.1.6 Rakefile
active_record_stats-0.1.5 Rakefile
active_record_stats-0.1.4 Rakefile
active_record_stats-0.1.3 Rakefile
active_record_stats-0.1.2 Rakefile
active_record_stats-0.1.1 Rakefile
active_record_stats-0.1.0 Rakefile