Sha256: cc66bec744188876f672b46490d48e6d47ac4c6925bcfe71ec0d5a4980efdda4

Contents?: true

Size: 817 Bytes

Versions: 28

Compression:

Stored size: 817 Bytes

Contents

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

require 'rdoc/task'

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Torque::Postgresql'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

desc 'Prints a schema dump of the test database'
task :dump do |t|
  lib  = File.expand_path('../lib', __FILE__)
  spec = File.expand_path('../spec', __FILE__)
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
  $LOAD_PATH.unshift(spec) unless $LOAD_PATH.include?(spec)

  require 'byebug'
  require 'spec_helper'
  ActiveRecord::SchemaDumper.dump
end

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task default: :spec

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
torque-postgresql-1.1.1 Rakefile
torque-postgresql-1.1.0 Rakefile
torque-postgresql-1.0.1 Rakefile
torque-postgresql-1.0.0 Rakefile
torque-postgresql-0.2.16 Rakefile
torque-postgresql-0.2.15 Rakefile
torque-postgresql-0.2.14 Rakefile
torque-postgresql-0.2.13 Rakefile
torque-postgresql-0.2.12 Rakefile
torque-postgresql-0.2.11 Rakefile
torque-postgresql-0.2.10 Rakefile
torque-postgresql-0.2.9 Rakefile
torque-postgresql-0.2.8 Rakefile
torque-postgresql-0.2.7 Rakefile
torque-postgresql-0.2.6 Rakefile
torque-postgresql-0.2.5 Rakefile
torque-postgresql-0.2.4 Rakefile
torque-postgresql-0.2.3 Rakefile
torque-postgresql-0.2.2 Rakefile
torque-postgresql-0.2.1 Rakefile