Sha256: a332b0ea02a233f970b4a6ea69d9996a57feff1ae021f8f295b2e8e203f38dbc

Contents?: true

Size: 354 Bytes

Versions: 42

Compression:

Stored size: 354 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), "chef_cap/version"))

module ChefCap

  class Capistrano
    RECIPES_PATH = File.expand_path(File.join(File.dirname(__FILE__), "..", "recipes"))

    def self.load_recipes(capistrano)
      Dir[File.join(RECIPES_PATH, "*.rb")].each { |recipe| capistrano.send(:load, recipe) }
    end

  end

end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
chef_cap-0.1.1 lib/chef_cap.rb
chef_cap-0.0.7 lib/chef_cap.rb