Sha256: db88e04245bce9d0cc9d8be8ba94dad2edae72687906f95933415b8d29d6eaad
Contents?: true
Size: 584 Bytes
Versions: 75
Compression:
Stored size: 584 Bytes
Contents
module PactBroker module DB class CleanTask < ::Rake::TaskLib attr_accessor :database_connection def initialize &block rake_task &block end def rake_task &block namespace :pact_broker do namespace :db do desc "Clean unused pacts and verifications from database" task :clean do | t, args | require 'pact_broker/db/clean' instance_eval(&block) PactBroker::DB::Clean.call(database_connection) end end end end end end end
Version data entries
75 entries across 75 versions & 1 rubygems