vagrant-phpstorm-tunnel 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a05b1fd73b26fa5621d6075d438f83ea953e7184
4
- data.tar.gz: 90ab8b87fa6a66450cbb46ba138270cdd02303d8
3
+ metadata.gz: eae6bfcfcc7a687ecb71437cf520c49af5a1f529
4
+ data.tar.gz: c5adb5f2b7c9c93f9b629855b7984fcc00d5b231
5
5
  SHA512:
6
- metadata.gz: 9cc0886a6cc029e25d6419cb93c74030824f79ff3af65fceeee329913cfcee3f3760ef17047fc2fba340822d422362364b0c1b8ac4c95da934ede5a00b9de54d
7
- data.tar.gz: f74f911a3efb42fe694d509ba3a71ec359af13b864d3af68b53bc778034e28cafecf7a7c9f12ae4acd113f93cbd9b0348216a9de13ee7a97418cd5e9134d4d27
6
+ metadata.gz: 4da092c73bdbfaa61c45ad4be5378215a934dddfab0f31ab4c6a46ed46d26f3a7ad09f435b1cc17965b43b69110a904747ab80e09583a42807cc0d41fe5a6ae9
7
+ data.tar.gz: 3c349d8273ecb7a7ff462d501c59f5d0567947e3d9afc0354a783c12f458e808294ccd96ed2bd3416ae749e8f24da8b990b5e5efee3532dcba9f23830fb2f471
@@ -8,7 +8,7 @@ module VagrantPhpstormTunnel
8
8
  @vm = nil
9
9
 
10
10
  @root_path = @env[:root_path].to_s
11
- @home_path = '.idea/vagrant'
11
+ @home_path = File.join(@root_path, '.idea/vagrant')
12
12
  end
13
13
 
14
14
  def is_intellij
@@ -16,7 +16,7 @@ module VagrantPhpstormTunnel
16
16
  end
17
17
 
18
18
  def link_php_to_intellij
19
- destination_path = File.join(@root_path, @home_path, 'php')
19
+ destination_path = File.join(@home_path, 'php')
20
20
  source_path = File.expand_path('../../../data/php', __FILE__)
21
21
 
22
22
  File.link(source_path, destination_path)
@@ -28,7 +28,7 @@ module VagrantPhpstormTunnel
28
28
  FileUtils.mkdir_p(@home_path)
29
29
 
30
30
  if tunnel_options[:project_home]
31
- destination_path = File.join(@root_path, @home_path, 'vm_project_dir')
31
+ destination_path = File.join(@home_path, 'vm_project_dir')
32
32
  File.write(destination_path, tunnel_options[:project_home].to_s, mode: 'a')
33
33
  end
34
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-phpstorm-tunnel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cargo Media
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-02-26 00:00:00.000000000 Z
13
+ date: 2014-02-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake