lib/chicken_soup/capabilities.rb in chicken_soup-0.5.3 vs lib/chicken_soup/capabilities.rb in chicken_soup-0.6.0

- old
+ new

@@ -12,12 +12,14 @@ # through the rest of the deployment. If not, the deployment will # abort. # ###################################################################### Capistrano::Configuration.instance(:must_exist).load do + extend ChickenSoup + require 'chicken_soup/capabilities/defaults' - require "chicken_soup/capabilities/checks" - require "chicken_soup/capabilities/tasks" + require 'chicken_soup/capabilities/checks' + require 'chicken_soup/capabilities/tasks' ['defaults', 'checks', 'tasks'].each do |method| desc "[internal] This task is only here because `require` cannot be used within a `namespace`" task "load_capability_#{method}".to_sym do require_if_exists "chicken_soup/capabilities/#{deployment_type}/#{deployment_type}-#{method}"