vagrant-bindfs 1.2.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/vagrant-bindfs/bindfs/command.rb +1 -1
- data/lib/vagrant-bindfs/bindfs.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: 7c04ce40b98593e640f85659cae56352246df505d58442e0be0a109acf9b7032
|
4
|
+
data.tar.gz: aef4916a5a0985479bf6521033aa60bb0e19f4c7c03b291091d2e4f5a8952dbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf91071e3c8d6c012f0ff379d2e0aa33c6eceea8020c1880a5fe04357174b4150d8b24ebeed424f359243450f607b56c054c997a48c0ac39750edca909598e77
|
7
|
+
data.tar.gz: '07458228cf239c7eb33a0f4af0f1338fa8fc4f7f9726f1e47f8e010302de6e16021aa647bfc942d94f47c84cc58dd39e2c76d16c907c19529c477f7fed9dff00'
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,22 @@ 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.1 (2024-08-24)
|
10
|
+
|
11
|
+
## Fixed
|
12
|
+
|
13
|
+
* Rollback uses of Ruby 3.1+ syntaxic sugar for compatibility with Ruby 3.0 (#111)
|
14
|
+
|
15
|
+
## Version 1.3.0 (2024-08-23)
|
16
|
+
|
17
|
+
### Breaking changes
|
18
|
+
|
19
|
+
* Drop support for Ruby < 3.0 (#108)
|
20
|
+
|
21
|
+
### Added
|
22
|
+
|
23
|
+
* Update bindfs support to 1.17.7 (#108)
|
24
|
+
|
9
25
|
## Version 1.2.0 (2023-03-07)
|
10
26
|
|
11
27
|
### Breaking changes
|
@@ -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.1
|
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-24 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
|