Module: Webhookdb::Tasks

Defined in:
lib/webhookdb/tasks.rb,
lib/webhookdb/tasks/db.rb,
lib/webhookdb/tasks/docs.rb,
lib/webhookdb/tasks/admin.rb,
lib/webhookdb/tasks/specs.rb,
lib/webhookdb/tasks/fixture.rb,
lib/webhookdb/tasks/message.rb,
lib/webhookdb/tasks/regress.rb,
lib/webhookdb/tasks/release.rb,
lib/webhookdb/tasks/sidekiq.rb,
lib/webhookdb/tasks/annotate.rb

Defined Under Namespace

Classes: Admin, Annotate, DB, Docs, Fixture, Message, Regress, Release, Sidekiq, Specs

Class Method Summary collapse

Class Method Details

.load_allObject

Load all Webhookdb Rake tasks. You can also load them individually.



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/webhookdb/tasks.rb', line 8

def self.load_all
  require "webhookdb/tasks/admin"
  Webhookdb::Tasks::Admin.new
  require "webhookdb/tasks/annotate"
  Webhookdb::Tasks::Annotate.new
  require "webhookdb/tasks/db"
  Webhookdb::Tasks::DB.new
  require "webhookdb/tasks/docs"
  Webhookdb::Tasks::Docs.new
  require "webhookdb/tasks/fixture"
  Webhookdb::Tasks::Fixture.new
  require "webhookdb/tasks/release"
  Webhookdb::Tasks::Release.new
  require "webhookdb/tasks/message"
  Webhookdb::Tasks::Message.new
  require "webhookdb/tasks/regress"
  Webhookdb::Tasks::Regress.new
  require "webhookdb/tasks/sidekiq"
  Webhookdb::Tasks::Sidekiq.new
  require "webhookdb/tasks/specs"
  Webhookdb::Tasks::Specs.new
end