Sha256: b15d5dfb7a3a0fbe8d9e563e035179bf4ca1cae76de0910740eef64940ee5f43
Contents?: true
Size: 733 Bytes
Versions: 4
Compression:
Stored size: 733 Bytes
Contents
###################################################################### # CAPABILITIES CHECK # ###################################################################### Capistrano::Configuration.instance(:must_exist).load do before 'capabilities:check', 'load_capability_checks' namespace :capabilities do namespace :check do desc "[internal] Runs checks for all of the capabilities listed." task :default do if exists?(:capabilities) fetch(:capabilities).each do |capability| top.capabilities.check.send(capability.to_s) if top.capabilities.check.respond_to?(capability.to_sym) end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems