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