Sha256: 5252cf20a4e1337e1db36387679f9a76622ba9be4019d2c2fa7ff0d0212d5109

Contents?: true

Size: 775 Bytes

Versions: 4

Compression:

Stored size: 775 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

self.extend Hem::Helper

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hem-1.2.4 lib/hem/helper/vm_command.rb
hem-1.2.3 lib/hem/helper/vm_command.rb
hem-1.2.2 lib/hem/helper/vm_command.rb
hem-1.2.1 lib/hem/helper/vm_command.rb