Sha256: e5b0fb7fd73834fe803f2e6473c1947e3acee4a729fd8309c4d4f6de1976b182

Contents?: true

Size: 449 Bytes

Versions: 8

Compression:

Stored size: 449 Bytes

Contents

require 'engineyard-serverside/callbacks/collection/base'
require 'engineyard-serverside/callbacks/hooks/app'

module EY
  module Serverside
    module Callbacks
      module Collection

        class DeployHooks < Base
          private
          def load_hooks
            Dir["#{paths.deploy_hooks}/*"].each do |hook_path|
              hooks.push(Hooks::App.new(hook_path))
            end
          end
        end

      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
engineyard-serverside-3.0.4 lib/engineyard-serverside/callbacks/collection/deploy_hooks.rb
engineyard-serverside-3.0.3 lib/engineyard-serverside/callbacks/collection/deploy_hooks.rb
engineyard-serverside-2.8.0 lib/engineyard-serverside/callbacks/collection/deploy_hooks.rb
engineyard-serverside-2.8.0.pre4 lib/engineyard-serverside/callbacks/collection/deploy_hooks.rb
engineyard-serverside-2.8.0.pre3 lib/engineyard-serverside/callbacks/collection/deploy_hooks.rb
engineyard-serverside-2.8.0.pre2 lib/engineyard-serverside/callbacks/collection/deploy_hooks.rb
engineyard-serverside-2.8.0.pre lib/engineyard-serverside/callbacks/collection/deploy_hooks.rb
engineyard-serverside-2.7.0.pre lib/engineyard-serverside/callbacks/collection/deploy_hooks.rb