Sha256: 7e9a4932160e8a0f9ab89c1f49f246b583f6b9190cd3a4551d81c96485c6f366

Contents?: true

Size: 589 Bytes

Versions: 4

Compression:

Stored size: 589 Bytes

Contents

require "bundler/gem_tasks"
require "bundler/setup"
require 'rake/testtask'

task :default => :test

desc "Run the Test Suite, toot suite"
task :test do
  sh "ruby test/test_*"
end

desc "Open and IRB Console with the gem and test-app loaded"
task :console do
  sh "bundle exec irb  -Ilib -I . -r postgresql_cursor -r test-app/app"
  #require 'irb'
  #ARGV.clear
  #IRB.start
end

desc "Setup testing database and table"
task :setup do
  sh %q(createdb postgresql_cursor_test)
  sh %Q<echo "create table products ( id serial primary key, data varchar);" | psql postgresql_cursor_test>
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
postgresql_cursor-0.6.3 Rakefile
postgresql_cursor-0.6.2 Rakefile
postgresql_cursor-0.6.1 Rakefile
postgresql_cursor-0.6.0 Rakefile