Sha256: 83b970518a16a73a11d6bc1a3a3ef5b985813f1b9b31f5cf5877c2043274960a

Contents?: true

Size: 480 Bytes

Versions: 7

Compression:

Stored size: 480 Bytes

Contents

require 'engineyard-serverside/callbacks/executor/executable'
require 'engineyard-serverside/callbacks/executor/ruby'

module EY
  module Serverside
    module Callbacks

      module Executor
        FLAVORS = {
          :ruby => Ruby,
          :executable => Executable
        }

        def self.execute(config, shell, hooks)
          hooks.each do |hook|
            FLAVORS[hook.flavor].execute(config, shell, hook)
          end
        end
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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