Sha256: 3faf9fa1185b98de7577a5db5769f81d77077f3d19331ac9722b4f38b5c0cefe

Contents?: true

Size: 1.44 KB

Versions: 17

Compression:

Stored size: 1.44 KB

Contents

require_relative 'deploy-context/cucumber-studio'

module Context
  class Manager < DefaultStudio
    attr_reader :contexts

    # 2
    def do_download
      super
      contexts.each do |context|
        context.do_download
      end
      true
    end
    
    # 3
    def do_verify
      super
      contexts.each do |context|
        context.do_verify
      end
      true
    end
    
    # 4
    def do_clean
      super
      contexts.each do |context|
        context.do_clean
      end
      true
    end
    
    # 5
    def do_unpack
      super
      contexts.each do |context|
        context.do_unpack
      end
      true
    end
    
    # 6
    def do_prepare
      super
      contexts.each do |context|
        context.do_prepare
      end
      true
    end
    
    # 7
    def do_build
      super
      contexts.each do |context|
        context.do_build
      end
      true
    end
    
    # 8
    def do_check
      super
      contexts.each do |context|
        context.do_check
      end
      true
    end
    
    # 9
    def do_install
      super
      contexts.each do |context|
        context.do_install
      end
      true
    end
    
    # 10
    def do_strip
      super
      def do_install
        contexts.each do |context|
          context.do_strip
        end
        true
      end
    end
    
    # 11
    def do_end
      super
      contexts.each do |context|
        context.do_end
      end
      true
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
deploy-context-2.13.39 x86_64-linux/lib/context-manager.rb
deploy-context-2.13.38 x86_64-linux/lib/context-manager.rb
deploy-context-2.13.36 x86_64-linux/lib/context-manager.rb
deploy-context-2.13.35 x86_64-linux/lib/context-manager.rb
deploy-context-2.13.34 x86_64-linux/lib/context-manager.rb
deploy-context-2.13.26 /home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/context-manager.rb
deploy-context-2.13.25 /home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/context-manager.rb
deploy-context-2.13.17 /home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/context-manager.rb
deploy-context-2.13.8 /src/libraries/deploy-context/helpers/../../../libraries/context-manager.rb
deploy-context-2.13.7.1.g02c67e1 /home/jimboadmin/deploy-context/libraries/deploy-context/helpers/../../../libraries/context-manager.rb
deploy-context-2.13.7 /home/jimboadmin/deploy-context/libraries/deploy-context/helpers/../../../libraries/context-manager.rb
deploy-context-2.13.6 /home/jimboadmin/deploy-context/libraries/deploy-context/helpers/../../../libraries/context-manager.rb
deploy-context-2.13.5.1.gb802412 /home/jimboadmin/deploy-context/libraries/deploy-context/helpers/../../../libraries/context-manager.rb
deploy-context-2.13.5 /home/jimboadmin/deploy-context/libraries/deploy-context/helpers/../../../libraries/context-manager.rb
deploy-context-2.13.4 /home/jimboadmin/deploy-context/libraries/deploy-context/helpers/../../../libraries/context-manager.rb
deploy-context-2.13.3 /home/jimboadmin/deploy-context/libraries/deploy-context/helpers/../../../libraries/context-manager.rb
deploy-context-2.13.2.18.g9a85249 /home/jimboadmin/deploy-context/libraries/deploy-context/helpers/../../../libraries/context-manager.rb