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 +4 -4
- data/lib/vagrant-phpstorm-tunnel/configurator.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eae6bfcfcc7a687ecb71437cf520c49af5a1f529
|
4
|
+
data.tar.gz: c5adb5f2b7c9c93f9b629855b7984fcc00d5b231
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(@
|
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(@
|
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
|
+
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-
|
13
|
+
date: 2014-02-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|