Sha256: 869286543e48522f2fe4cfded7ccf7798161f845142c75bd39bee76e8b347276

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

require 'vagrant-phpstorm-tunnel/configurator'

module VagrantPhpStormTunnel
  class Plugin < Vagrant.plugin("2")

    name "vagrant-phpstorm-tunnel"

    %w{up provision}.each do |action|
      action_hook(:restart_host_dns, "machine_action_#{action}".to_sym) do |hook|
        hook.append VagrantPhpStormTunnel::Configurator
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-phpstorm-tunnel-0.0.3 lib/vagrant-phpstorm-tunnel.rb