Sha256: 92f896cca13b13ffbcde660f073789db228275208a0aa356de05afa6cf9f07f0

Contents?: true

Size: 787 Bytes

Versions: 5

Compression:

Stored size: 787 Bytes

Contents

module Hem
  module Helper
    def vm_shell command, opts = {}
      Hem.ui.warning "Using vm_shell is deprecated and will be removed in a future release. Please use run_command instead"
      opts['run_environment'] = 'vm'
      run_command command, opts
    end

    def vm_mysql opts = {}
      Hem.ui.warning "Using vm_mysql is deprecated and will be removed in a future release. Please use create_mysql_command instead"
      opts['run_environment'] = 'vm'
      create_mysql_command opts
    end

    def vm_command command = nil, opts = {}
      Hem.ui.warning "Using vm_command is deprecated and will be removed in a future release. Please use create_command instead"
      opts['run_environment'] = 'vm'
      create_command command, opts
    end
  end
end

include Hem::Helper

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hem-1.0.1.beta6 lib/hem/helper/vm_command.rb
hem-1.0.1.beta5 lib/hem/helper/vm_command.rb
hem-1.0.1.beta4 lib/hem/helper/vm_command.rb
hem-1.0.1.beta3 lib/hem/helper/vm_command.rb
hem-1.0.1.beta2 lib/hem/helper/vm_command.rb