vagrant-syncer 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/syncer/command/rsync.rb +2 -1
- data/lib/syncer/command/rsync_auto.rb +3 -3
- data/lib/syncer/version.rb +1 -1
- 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: df7339055662081551ead92ca8baf31151e1f4cc
|
4
|
+
data.tar.gz: 9c94aa4f7a88f3c2f68aa5e89157ebf52472539b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 260f98e46518294da614ed692644ad823281f0198ee65de515ec5af9fdf8af5e4db79f6d8e3edf0464f7d07b309f510ee184a89fd970c4f1b8849de1671bd09a
|
7
|
+
data.tar.gz: 306fa08765ae37fdf5b52ec5801214133b97d0d5afd05f6309dbf29ffb5b85e08456a3cd5de0b07145e6d4f1fe9aaf505868d126a35227279c4c4fe14c142eba
|
data/lib/syncer/command/rsync.rb
CHANGED
@@ -46,7 +46,8 @@ module Vagrant
|
|
46
46
|
next unless machine.communicate.ready?
|
47
47
|
next unless synced_folders(machine)[:rsync]
|
48
48
|
|
49
|
-
Machine.new(machine)
|
49
|
+
target_machine = Machine.new(machine, options[:poll])
|
50
|
+
target_machine.full_sync if machine.ssh_info
|
50
51
|
end
|
51
52
|
|
52
53
|
return 0
|
@@ -56,9 +56,9 @@ module Vagrant
|
|
56
56
|
next unless machine.communicate.ready?
|
57
57
|
next unless synced_folders(machine)[:rsync]
|
58
58
|
|
59
|
-
|
60
|
-
machine.
|
61
|
-
listener_threads << Thread.new {
|
59
|
+
target_machine = Machine.new(machine, options[:poll])
|
60
|
+
target_machine.full_sync if machine.ssh_info
|
61
|
+
listener_threads << Thread.new { target_machine.listen }
|
62
62
|
end
|
63
63
|
listener_threads.each { |t| t.join }
|
64
64
|
|
data/lib/syncer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-syncer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anssi Syrjäsalo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|