lib/tasks/tr8n_tasks.rake in tr8n-3.0.5 vs lib/tasks/tr8n_tasks.rake in tr8n-3.1.1

- old
+ new

@@ -20,20 +20,9 @@ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #++ namespace :tr8n do - desc "Sync config and db migrations for tr8n plugin." - task :sync do - system "rsync -ruv vendor/plugins/tr8n/config/tr8n ./config" - system "rsync -ruv vendor/plugins/tr8n/db/migrate ./db" - end - - desc "Sync db migrations for tr8n plugin." - task :sync_db do - system "rsync -ruv vendor/plugins/tr8n/db/migrate ./db" - end - desc "Initializes all of the tables with default data" task :init => :environment do raise "This action is prohibited in this environment" if ['production', 'stage', 'staging'].include?(Rails.env) and env('force') != 'true' Tr8n::Config.reset_all! end \ No newline at end of file