module Gitlab
class Seeder
def self.quiet
mute_mailer
SeedFu.quiet = true
yield
SeedFu.quiet = false
puts "\nOK".green
end
def self.by_user(user)
def self.mute_mailer
code = <<-eos
def Notify.deliver_later
self
eos
eval(code)