Sha256: fac10bf01e9f358a6740dae13e3904abc970dcb6c0522fa2888e4e938de88ebe

Contents?: true

Size: 771 Bytes

Versions: 4

Compression:

Stored size: 771 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 instead"
      opts['run_environment'] = 'vm'
      run 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

4 entries across 4 versions & 1 rubygems

Version Path
hem-1.2.0 lib/hem/helper/vm_command.rb
hem-1.1.2 lib/hem/helper/vm_command.rb
hem-1.1.1 lib/hem/helper/vm_command.rb
hem-1.1.0 lib/hem/helper/vm_command.rb