vagrant-notify-forwarder 0.3.1 → 0.4.0

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: 29db1a6471607ebdef7e7b81702ed2a215abfab5
4
- data.tar.gz: 399ba790c8f408778d912ebb5f9a933474e64a9a
3
+ metadata.gz: 0de481fac4a7e43796671364c899c5dacaf63c68
4
+ data.tar.gz: 62ee6182f5f9c1eb47f02e283688d8f8d3720426
5
5
  SHA512:
6
- metadata.gz: 5301bc08503ed9767f13fd8ac99ceaa28cc012804a0a316e23c401421d1640872aa07fe8d8c7eab62f5898c68439cd1e97d1def9dfbd080360c04e307a67f613
7
- data.tar.gz: 05c9442154955fac9a33183177927bc5cfdf0f7e7b3e9f052ecaca18f4092c36ecc11ed38e0736c2aecb2331ba70b428087340c7d83f0a94cdf853db399b3e4d
6
+ metadata.gz: 5939a4088a66cb58af7add7b435443f9ed86eb7b83ba2ecb225c2f1bc6783c46bb388cb6c43fcf685ec2864e7b12116404710dad153adcdcb01526f89437666d
7
+ data.tar.gz: e8d9340c781a795d9f482c27687beb43b5068bafc9407ce08b2f6668bf8d4a47835a81a818e9b161d72cef6e7eee310323a166add8c62342bc51645adb87e25f
data/README.md CHANGED
@@ -39,3 +39,8 @@ machine, add the following line to your `Vagrantfile`:
39
39
  ```ruby
40
40
  config.notify_forwarder.enable = false
41
41
  ```
42
+
43
+ ## Contributors
44
+
45
+ * [CharlieC3](https://github.com/CharlieC3)
46
+ * [hedinfaok](https://github.com/hedinfaok)
@@ -39,7 +39,9 @@ module VagrantPlugins
39
39
  port = env[:machine].config.notify_forwarder.port
40
40
 
41
41
  env[:machine].communicate.upload(path, "/tmp/notify-forwarder")
42
+ env[:ui].output("Starting notify-forwarder ...")
42
43
  env[:machine].communicate.execute("nohup /tmp/notify-forwarder receive -p #{port} &")
44
+ env[:ui].detail("Notify-forwarder: guest listening for file change notifications on 0.0.0.0:#{port}.")
43
45
  end
44
46
  end
45
47
  end
@@ -44,11 +44,13 @@ module VagrantPlugins
44
44
 
45
45
  env[:machine].config.vm.synced_folders.each do |id, options|
46
46
  unless options[:disabled]
47
- hostpath = File.absolute_path(options[:hostpath])
47
+ hostpath = File.expand_path(options[:hostpath], env[:root_path])
48
48
  guestpath = options[:guestpath]
49
49
 
50
50
  args = "watch -c 127.0.0.1:#{port} #{hostpath} #{guestpath}"
51
51
  start_watcher env, "#{path} #{args}"
52
+ env[:ui].detail("Notify-forwarder: host sending file change notifications to 127.0.0.1:#{port}")
53
+ env[:ui].detail("Notify-forwarder: host forwarding notifications on #{hostpath} to #{guestpath}")
52
54
  end
53
55
  end
54
56
  end
@@ -56,4 +58,4 @@ module VagrantPlugins
56
58
  end
57
59
  end
58
60
  end
59
- end
61
+ end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module VagrantNotifyForwarder
3
- VERSION = "0.3.1"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-notify-forwarder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Magnus Hallin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-16 00:00:00.000000000 Z
11
+ date: 2016-05-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A vagrant plugin that forwards file system events from the host to the
14
14
  guest