Sha256: e4b9991e7d8660cf39e0dde5dee6006d14584560f2855ad740a311e6cf5ecd5e

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 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/multunus/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.3 Rakefile