Sha256: d61292ffde3f27792b11965cedd33c8d40bfa2a572ef918c389afdd060822f0f

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 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_tunnel, "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.4 lib/vagrant-phpstorm-tunnel.rb