Sha256: 02b7beb6a018a167f88e23fba8cad1da788567545cbaf0d2ae6a4f559f5821ac

Contents?: true

Size: 414 Bytes

Versions: 7

Compression:

Stored size: 414 Bytes

Contents

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

require 'simple_migrations/rake_tasks'
require 'pg'
require 'yaml'

namespace :migrate do
  task :connect do
    conn = PG::Connection.new(host: '192.168.33.10', user: 'postgres', dbname: 'migrations_development')
    SimpleMigrations.sql_executor do |sql|
      conn.exec(sql)
    end
  end
end

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

task :default => :spec

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
simple_migrations-1.0.0 Rakefile
simple_migrations-0.1.10 Rakefile
simple_migrations-0.1.9 Rakefile
simple_migrations-0.1.8 Rakefile
simple_migrations-0.1.7 Rakefile
simple_migrations-0.1.6 Rakefile
simple_migrations-0.1.5 Rakefile