vagrant-bindfs 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/vagrant-bindfs/bindfs/command.rb +1 -1
- data/lib/vagrant-bindfs/bindfs.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/actions/mounter.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/darwin/system_checks.rb +2 -6
- data/lib/vagrant-bindfs/vagrant/capabilities/linux/system_checks.rb +2 -6
- data/lib/vagrant-bindfs/vagrant/config.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/plugin.rb +1 -1
- data/lib/vagrant-bindfs/version.rb +1 -1
- data/vagrant-bindfs.gemspec +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 376ed3d043356db8228f9b366356cd017fffcb8de726717be32450e93db7794f
|
4
|
+
data.tar.gz: 463007a2862e51a357af9eebffc78b054975bfb2fe3ca0e451ac76b43a181c17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83874975ae93fd3c262f841cdb742662cdca0f6869b07993926e5a46184e7890752da9c204839c5e70a782cda7db145ca63564ada576bfbeccec4d62730436d9
|
7
|
+
data.tar.gz: f59da57dbb9e0bafb61e129554d8f4629c8cbc0d9c1a03e41353e2255f9759cef514cced6641e294c5b23175af15dcc3bd5738bac288d1352f5f5d3bb92f7c50
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## Version 1.3.0 (2024-08-23)
|
10
|
+
|
11
|
+
### Breaking changes
|
12
|
+
|
13
|
+
* Drop support for Ruby < 3.0 (#108)
|
14
|
+
|
15
|
+
### Added
|
16
|
+
|
17
|
+
* Update bindfs support to 1.17.7 (#108)
|
18
|
+
|
9
19
|
## Version 1.2.0 (2023-03-07)
|
10
20
|
|
11
21
|
### Breaking changes
|
@@ -27,7 +27,7 @@ module VagrantBindfs
|
|
27
27
|
protected
|
28
28
|
|
29
29
|
def bind_folders!
|
30
|
-
info I18n.t('vagrant-bindfs.actions.mounter.start', hook:
|
30
|
+
info I18n.t('vagrant-bindfs.actions.mounter.start', hook:)
|
31
31
|
bound_folders(hook).each_value do |folder|
|
32
32
|
bind_folder!(folder)
|
33
33
|
end
|
@@ -7,17 +7,13 @@ module VagrantBindfs
|
|
7
7
|
module SystemChecks # :nodoc:
|
8
8
|
class << self
|
9
9
|
def bindfs_exists_user(machine, user)
|
10
|
-
|
11
|
-
user.nil? || \
|
10
|
+
user.nil? ||
|
12
11
|
machine.communicate.test("test -n \"$(dscacheutil -q user -a name #{user.shellescape})\"")
|
13
|
-
)
|
14
12
|
end
|
15
13
|
|
16
14
|
def bindfs_exists_group(machine, group)
|
17
|
-
|
18
|
-
group.nil? || \
|
15
|
+
group.nil? ||
|
19
16
|
machine.communicate.test("test -n \"$(dscacheutil -q group -a name #{group.shellescape})\"")
|
20
|
-
)
|
21
17
|
end
|
22
18
|
end
|
23
19
|
end
|
@@ -7,17 +7,13 @@ module VagrantBindfs
|
|
7
7
|
module SystemChecks # :nodoc:
|
8
8
|
class << self
|
9
9
|
def bindfs_exists_user(machine, user)
|
10
|
-
|
11
|
-
user.nil? || \
|
10
|
+
user.nil? ||
|
12
11
|
machine.communicate.test("getent passwd #{user.shellescape}")
|
13
|
-
)
|
14
12
|
end
|
15
13
|
|
16
14
|
def bindfs_exists_group(machine, group)
|
17
|
-
|
18
|
-
group.nil? || \
|
15
|
+
group.nil? ||
|
19
16
|
machine.communicate.test("getent group #{group.shellescape}")
|
20
|
-
)
|
21
17
|
end
|
22
18
|
end
|
23
19
|
end
|
@@ -64,7 +64,7 @@ module VagrantBindfs
|
|
64
64
|
def merge(other) # rubocop:disable Metrics/AbcSize
|
65
65
|
super.tap do |result|
|
66
66
|
%i[debug force_empty_mountpoints install_bindfs_from_source].each do |boolean|
|
67
|
-
result.send("#{boolean}=", (send(boolean) || other.send(boolean)))
|
67
|
+
result.send(:"#{boolean}=", (send(boolean) || other.send(boolean)))
|
68
68
|
end
|
69
69
|
result.bound_folders = bound_folders.merge(other.bound_folders)
|
70
70
|
result.skip_validations = (skip_validations + other.skip_validations).uniq
|
@@ -15,7 +15,7 @@ module VagrantBindfs
|
|
15
15
|
include Capabilities
|
16
16
|
|
17
17
|
%w[up reload].each do |action|
|
18
|
-
action_hook(:bindfs, "machine_action_#{action}"
|
18
|
+
action_hook(:bindfs, :"machine_action_#{action}") do |hook|
|
19
19
|
hooks.each do |(name, middleware)|
|
20
20
|
hook.before(middleware, Actions::Mounter, name)
|
21
21
|
end
|
data/vagrant-bindfs.gemspec
CHANGED
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: 1.
|
4
|
+
version: 1.3.0
|
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: 2024-08-23 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
15
|
description: " A Vagrant plugin to automate bindfs mount in the VM. Allows you to
|
16
16
|
change owner, group and permissions on files and work around NFS share permissions
|
@@ -100,14 +100,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '3.0'
|
104
|
+
- - "<"
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '3.4'
|
104
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
108
|
requirements:
|
106
109
|
- - ">="
|
107
110
|
- !ruby/object:Gem::Version
|
108
111
|
version: '0'
|
109
112
|
requirements: []
|
110
|
-
rubygems_version: 3.3
|
113
|
+
rubygems_version: 3.5.3
|
111
114
|
signing_key:
|
112
115
|
specification_version: 4
|
113
116
|
summary: A Vagrant plugin to automate bindfs mount in the VM
|