vagrant-syncer 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/LICENSE +2 -2
- data/example/Vagrantfile +3 -1
- data/lib/syncer/actions.rb +1 -1
- data/lib/syncer/commands/syncer.rb +2 -2
- data/lib/syncer/config.rb +4 -1
- data/lib/syncer/syncers/rsync.rb +3 -2
- 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: 6f6e700c1878ab046b3eed7a6a585ed689a038ec
|
4
|
+
data.tar.gz: 27a802c416aa8cb32300002279266e5b2de8997d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a84d6f1baadd8b25ef6c8b36f9bffcb03ac629815c6f7dd07ed276f144eb7c40001a1c39ef62bbe26dac67412c29a9cae5c62494f4f99b71a10ea1cd91363db6
|
7
|
+
data.tar.gz: 378228b18aa94eb7558aeb4c451f341aebacfedd59ca3c5ef52b581fce88ce59877180807a359065bcda58c2de3c21a79ed64858d308ace732d7bd8f97731538
|
data/Gemfile
CHANGED
data/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License
|
2
2
|
|
3
|
-
Copyright (c) 2015 Anssi Syrjäsalo
|
3
|
+
Copyright (c) 2015-2016 Anssi Syrjäsalo
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
21
|
+
THE SOFTWARE.
|
data/example/Vagrantfile
CHANGED
@@ -27,7 +27,6 @@ Vagrant.configure(2) do |config|
|
|
27
27
|
"*.not",
|
28
28
|
".git"
|
29
29
|
],
|
30
|
-
rsync__rsync_path: 'rsync',
|
31
30
|
rsync__verbose: true
|
32
31
|
|
33
32
|
config.ssh.username = 'vagrant'
|
@@ -56,6 +55,9 @@ Vagrant.configure(2) do |config|
|
|
56
55
|
'-o UserKnownHostsFile=/dev/null',
|
57
56
|
'-c arcfour,blowfish-cbc',
|
58
57
|
'-o Compression=no',
|
58
|
+
'-o ControlMaster=auto',
|
59
|
+
"-o ControlPath=#{File.join(Dir.tmpdir, "ssh.#{rand(1000)}")}",
|
60
|
+
'-o ControlPersist=10m',
|
59
61
|
'-x'
|
60
62
|
]
|
61
63
|
end
|
data/lib/syncer/actions.rb
CHANGED
data/lib/syncer/config.rb
CHANGED
@@ -18,7 +18,10 @@ module Vagrant
|
|
18
18
|
@ssh_args = [
|
19
19
|
'-o StrictHostKeyChecking=no',
|
20
20
|
'-o IdentitiesOnly=true',
|
21
|
-
'-o UserKnownHostsFile=/dev/null'
|
21
|
+
'-o UserKnownHostsFile=/dev/null',
|
22
|
+
'-o ControlMaster=auto',
|
23
|
+
"-o ControlPath=#{File.join(Dir.tmpdir, "ssh.#{rand(1000)}")}",
|
24
|
+
'-o ControlPersist=10m'
|
22
25
|
] if @ssh_args == UNSET_VALUE
|
23
26
|
end
|
24
27
|
|
data/lib/syncer/syncers/rsync.rb
CHANGED
@@ -119,7 +119,8 @@ module Vagrant
|
|
119
119
|
end
|
120
120
|
|
121
121
|
def parse_rsync_args(rsync_args=nil, rsync_path=nil)
|
122
|
-
rsync_args ||= ["--archive", "--delete", "--compress", "--copy-links",
|
122
|
+
rsync_args ||= ["--archive", "--delete", "--compress", "--copy-links",
|
123
|
+
"--verbose"]
|
123
124
|
|
124
125
|
# This is the default rsync output unless overridden by user
|
125
126
|
rsync_args.unshift("--out-format=%L%n")
|
@@ -158,4 +159,4 @@ module Vagrant
|
|
158
159
|
end
|
159
160
|
end
|
160
161
|
end
|
161
|
-
end
|
162
|
+
end
|
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.0.
|
4
|
+
version: 1.0.1
|
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:
|
11
|
+
date: 2016-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|