vagrant-bindfs 0.4.6 → 0.4.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/README.md +1 -1
- data/lib/vagrant-bindfs/bind.rb +2 -2
- data/lib/vagrant-bindfs/command.rb +5 -3
- data/lib/vagrant-bindfs/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e3b0e00aeeef8a74d411193632fc75722c99f63
|
|
4
|
+
data.tar.gz: 72f1752dc5801fb57aa73bb55fe87e280f98668e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b523b6f6f4a2e6746875c92835eec97e656cb36189d090e292007a58e78f37ada54939ee34545f82e828b3d1dbfcef12c837d8e1b382b1e64a97b8ba12e9ee1
|
|
7
|
+
data.tar.gz: cd0e34a55113c3b3c28905967cc343fa0f28ff0d7b2ad2834bd417058b192d17bef88cce6a5d9f3f976da2323589136ca1b1a52be363de27e96d8ea12dc36706
|
data/README.md
CHANGED
|
@@ -92,7 +92,7 @@ end
|
|
|
92
92
|
### bindfs support
|
|
93
93
|
|
|
94
94
|
The `bind_folder` config accept any option you can pass to bindfs.
|
|
95
|
-
vagrant-bindfs is compatible with bindfs from version 1.9 to 1.
|
|
95
|
+
vagrant-bindfs is compatible with bindfs from version 1.9 to 1.13.0.
|
|
96
96
|
Check [lib/vagrant-bindfs/command.rb](https://github.com/gael-ian/vagrant-bindfs/blob/master/lib/vagrant-bindfs/command.rb#L66) for a complete list of supported options and default values.
|
|
97
97
|
|
|
98
98
|
Both long arguments and shorthand are supported.
|
data/lib/vagrant-bindfs/bind.rb
CHANGED
|
@@ -46,7 +46,7 @@ module VagrantPlugins
|
|
|
46
46
|
next
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
-
unless options[:skip_verify_user] == true || @machine.communicate.test("getent passwd #{command.user.shellescape}")
|
|
49
|
+
unless options[:skip_verify_user] == true || command.user.nil? || @machine.communicate.test("getent passwd #{command.user.shellescape}")
|
|
50
50
|
@env[:ui].error I18n.t(
|
|
51
51
|
"vagrant.config.bindfs.errors.user_not_exist",
|
|
52
52
|
user: command.user
|
|
@@ -54,7 +54,7 @@ module VagrantPlugins
|
|
|
54
54
|
next
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
-
unless options[:skip_verify_user] == true || @machine.communicate.test("getent group #{command.group.shellescape}")
|
|
57
|
+
unless options[:skip_verify_user] == true || command.group.nil? || @machine.communicate.test("getent group #{command.group.shellescape}")
|
|
58
58
|
@env[:ui].error I18n.t(
|
|
59
59
|
"vagrant.config.bindfs.errors.group_not_exist",
|
|
60
60
|
group: command.group
|
|
@@ -178,9 +178,11 @@ module VagrantPlugins
|
|
|
178
178
|
%{sudo bindfs --version | cut -d" " -f2},
|
|
179
179
|
%{sudo -i bindfs --version | cut -d" " -f2}
|
|
180
180
|
].each do |command|
|
|
181
|
-
@machine.communicate.execute(command) do |type,
|
|
182
|
-
@env[:ui].info("#{command}: #{
|
|
183
|
-
|
|
181
|
+
@machine.communicate.execute(command) do |type, output|
|
|
182
|
+
@env[:ui].info("#{command}: #{output.inspect}") if @machine.config.bindfs.debug
|
|
183
|
+
|
|
184
|
+
version = output.strip
|
|
185
|
+
throw(:version, Gem::Version.new(version)) if version.length > 0 && Gem::Version.correct?(version)
|
|
184
186
|
end
|
|
185
187
|
end
|
|
186
188
|
Gem::Version.new("0.0")
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant-bindfs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gaël-Ian Havard
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2016-04-21 00:00:00.000000000 Z
|
|
14
14
|
dependencies: []
|
|
15
15
|
description: A Vagrant plugin to automate bindfs mount in the VM. This allow you to
|
|
16
16
|
change owner, group and permissions on files and, for example, work around NFS share
|
|
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
60
60
|
version: '0'
|
|
61
61
|
requirements: []
|
|
62
62
|
rubyforge_project:
|
|
63
|
-
rubygems_version: 2.
|
|
63
|
+
rubygems_version: 2.5.1
|
|
64
64
|
signing_key:
|
|
65
65
|
specification_version: 4
|
|
66
66
|
summary: A Vagrant plugin to automate bindfs mount in the VM
|