Sha256: 66928baf01e730188d7567b817ddb84b92d3d08ffbdae0f3acb4bb33224f2e20

Contents?: true

Size: 456 Bytes

Versions: 9

Compression:

Stored size: 456 Bytes

Contents

require 'vagrant-phpstorm-tunnel/configurator'
require 'vagrant-phpstorm-tunnel/config'

module VagrantPhpstormTunnel
  class Plugin < Vagrant.plugin('2')

    name 'vagrant-phpstorm-tunnel'

    config 'phpstorm_tunnel' do
      Config
    end

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

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vagrant-phpstorm-tunnel-0.1.11 lib/vagrant-phpstorm-tunnel.rb
vagrant-phpstorm-tunnel-0.1.10 lib/vagrant-phpstorm-tunnel.rb
vagrant-phpstorm-tunnel-0.1.9 lib/vagrant-phpstorm-tunnel.rb
vagrant-phpstorm-tunnel-0.1.8 lib/vagrant-phpstorm-tunnel.rb
vagrant-phpstorm-tunnel-0.1.7 lib/vagrant-phpstorm-tunnel.rb
vagrant-phpstorm-tunnel-0.1.6 lib/vagrant-phpstorm-tunnel.rb
vagrant-phpstorm-tunnel-0.1.5 lib/vagrant-phpstorm-tunnel.rb
vagrant-phpstorm-tunnel-0.1.4 lib/vagrant-phpstorm-tunnel.rb
vagrant-phpstorm-tunnel-0.1.2 lib/vagrant-phpstorm-tunnel.rb