Sha256: 22220695e810bfd7990509be6f8152ee935565be6491de899e29f0ee39c320a8

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "capistrano-db-rollback"
  gem.homepage = "http://github.com/leenasn/capistrano-db-rollback"
  gem.license = "MIT"
  gem.summary = %Q{Capistrano task for rolling back DB migrations to the previous release version}
  gem.description = %Q{Capistrano task for rolling back DB migrations to the previous release version. It assumes that the schema.rb is checked in with the correct version into the repository. Reads the version from the schema.rb file and runs the db:migrate with that task}
  gem.email = "leena.sn@multunus.com"
  gem.authors = ["Leena"]
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "capistrano-db-rollback #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-db-rollback-0.1.2 Rakefile