0.0
Repository is archived
No release in over a year
Know what tasks ran and keep the track of it
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 5.2
 Project Readme

Taskgration

Short description and motivation.

Usage

How to use my plugin.

Installation

Add this line to your application's Gemfile:

gem 'taskgration'

And then execute:

$ bundle

Or install it yourself as:

$ rake taskgration:install:migrations

Usage

1. Creating a task to migrate

$ rails generate taskgration:create YOUR_TASK_MIGRATION_NAME

2. Running the unapplied tasks migrations

$ rake taskgration:up

3. Rolling back applied tasks migrations

$ rake taskgration:down TASKGRATION_VERSION=YOUR_VERSION_NUMBER #=> Rollback 1 specific version
$ rake taskgration:down TASKGRATION_STEPS=QUANTITY_OF_STEPS #=> Rollback the number of times passed
$ rake taskgration:down #=> Rollback always the newest created migration

License

The gem is available as open source under the terms of the MIT License.