vagrant-bindfs 1.1.8 → 1.2.0
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/CHANGELOG.md +462 -0
- data/README.md +2 -3
- data/Vagrantfile +6 -10
- data/lib/vagrant-bindfs/bindfs/command.rb +1 -1
- data/lib/vagrant-bindfs/bindfs/folder.rb +1 -1
- data/lib/vagrant-bindfs/bindfs/option_definitions.json +2 -0
- data/lib/vagrant-bindfs/bindfs/option_set.rb +2 -2
- data/lib/vagrant-bindfs/bindfs/validators/config.rb +14 -6
- data/lib/vagrant-bindfs/bindfs/validators/runtime.rb +5 -5
- data/lib/vagrant-bindfs/bindfs/validators.rb +1 -1
- data/lib/vagrant-bindfs/bindfs.rb +2 -2
- data/lib/vagrant-bindfs/vagrant/actions/concerns/log.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/actions/concerns/machine.rb +4 -6
- data/lib/vagrant-bindfs/vagrant/actions/concerns.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/actions/installer.rb +8 -3
- data/lib/vagrant-bindfs/vagrant/actions/mounter.rb +5 -2
- data/lib/vagrant-bindfs/vagrant/actions.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/all/bindfs.rb +11 -2
- data/lib/vagrant-bindfs/vagrant/capabilities/all/package_manager.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/all/system_checks.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/all.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/darwin/bindfs.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/darwin/fuse.rb +3 -3
- data/lib/vagrant-bindfs/vagrant/capabilities/darwin/package_manager.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/darwin/system_checks.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/darwin.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/debian/bindfs.rb +8 -4
- data/lib/vagrant-bindfs/vagrant/capabilities/debian/fuse.rb +2 -2
- data/lib/vagrant-bindfs/vagrant/capabilities/debian/package_manager.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/debian.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/gentoo/bindfs.rb +22 -12
- data/lib/vagrant-bindfs/vagrant/capabilities/gentoo/fuse.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/gentoo/package_manager.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/gentoo.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/linux/fuse.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/linux/package_manager.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/linux/system_checks.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/linux.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/redhat/bindfs.rb +3 -3
- data/lib/vagrant-bindfs/vagrant/capabilities/redhat/fuse.rb +2 -2
- data/lib/vagrant-bindfs/vagrant/capabilities/redhat/package_manager.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/redhat.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/suse/bindfs.rb +4 -2
- data/lib/vagrant-bindfs/vagrant/capabilities/suse/fuse.rb +2 -2
- data/lib/vagrant-bindfs/vagrant/capabilities/suse/package_manager.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/suse.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/ubuntu/fuse.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities/ubuntu.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/capabilities.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/config.rb +1 -1
- data/lib/vagrant-bindfs/vagrant/errors.rb +3 -3
- data/lib/vagrant-bindfs/vagrant/plugin.rb +5 -7
- data/lib/vagrant-bindfs/vagrant.rb +1 -1
- data/lib/vagrant-bindfs/version.rb +1 -1
- data/lib/vagrant-bindfs.rb +1 -1
- data/vagrant-bindfs.gemspec +43 -0
- metadata +18 -13
- data/Rakefile +0 -25
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
module VagrantBindfs
|
4
4
|
module Vagrant
|
5
|
-
class Plugin < ::Vagrant.plugin('2')
|
5
|
+
class Plugin < ::Vagrant.plugin('2') # :nodoc:
|
6
6
|
name 'bindfs'
|
7
7
|
description <<-DESC
|
8
8
|
A Vagrant plugin to automate bindfs mount in the VM. This allow you to change owner, group and permissions on files and, for example, work around NFS share permissions issues.
|
@@ -25,12 +25,10 @@ module VagrantBindfs
|
|
25
25
|
|
26
26
|
class << self
|
27
27
|
def hooks
|
28
|
-
@hooks ||=
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
}
|
33
|
-
end
|
28
|
+
@hooks ||= {
|
29
|
+
synced_folders: synced_folders_hook,
|
30
|
+
provision: ::Vagrant::Action::Builtin::Provision
|
31
|
+
}
|
34
32
|
end
|
35
33
|
|
36
34
|
def synced_folders_hook
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module VagrantBindfs
|
4
|
-
module Vagrant
|
4
|
+
module Vagrant # :nodoc:
|
5
5
|
autoload :Plugin, 'vagrant-bindfs/vagrant/plugin'
|
6
6
|
autoload :Config, 'vagrant-bindfs/vagrant/config'
|
7
7
|
autoload :Capabilities, 'vagrant-bindfs/vagrant/capabilities'
|
data/lib/vagrant-bindfs.rb
CHANGED
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'vagrant-bindfs/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'vagrant-bindfs'
|
9
|
+
spec.version = VagrantBindfs::VERSION
|
10
|
+
spec.licenses = ['MIT']
|
11
|
+
spec.authors = ['Gaël-Ian Havard', 'Igor Serebryany', 'Thomas Boerger']
|
12
|
+
spec.email = ['gaelian.havard@gmail.com', 'igor.serebryany@airbnb.com']
|
13
|
+
|
14
|
+
spec.summary = 'A Vagrant plugin to automate bindfs mount in the VM'
|
15
|
+
spec.description = <<-DESC.gsub(/\s+/, ' ')
|
16
|
+
A Vagrant plugin to automate bindfs mount in the VM.
|
17
|
+
Allows you to change owner, group and permissions on files and work around NFS share permissions issues.
|
18
|
+
DESC
|
19
|
+
spec.homepage = 'https://github.com/gael-ian/vagrant-bindfs'
|
20
|
+
|
21
|
+
raise 'RubyGems 2.0 or newer is required.' unless spec.respond_to?(:metadata)
|
22
|
+
|
23
|
+
spec.metadata = {
|
24
|
+
'allowed_push_host' => 'https://rubygems.org',
|
25
|
+
'rubygems_mfa_required' => 'true',
|
26
|
+
|
27
|
+
'bug_tracker_uri' => 'https://github.com/gael-ian/vagrant-bindfs/issues',
|
28
|
+
'changelog_uri' => 'https://github.com/gael-ian/vagrant-bindfs/blob/main/CHANGELOG.md',
|
29
|
+
'homepage_uri' => 'https://github.com/gael-ian/vagrant-bindfs',
|
30
|
+
'source_code_uri' => 'https://github.com/gael-ian/vagrant-bindfs',
|
31
|
+
'funding_uri' => 'https://opencollective.com/notus-sh'
|
32
|
+
}
|
33
|
+
|
34
|
+
spec.require_paths = ['lib']
|
35
|
+
|
36
|
+
excluded_dirs = %r{^(.github|spec)/}
|
37
|
+
excluded_files = %w[.gitignore .rspec .rubocop.yml Gemfile Gemfile.lock Rakefile]
|
38
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
39
|
+
f.match(excluded_dirs) || excluded_files.include?(f)
|
40
|
+
end
|
41
|
+
|
42
|
+
spec.required_ruby_version = '>= 2.7'
|
43
|
+
end
|
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.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gaël-Ian Havard
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-03-07 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
|
-
description: " A Vagrant plugin to automate bindfs mount in the VM.
|
16
|
-
|
17
|
-
|
15
|
+
description: " A Vagrant plugin to automate bindfs mount in the VM. Allows you to
|
16
|
+
change owner, group and permissions on files and work around NFS share permissions
|
17
|
+
issues. "
|
18
18
|
email:
|
19
19
|
- gaelian.havard@gmail.com
|
20
20
|
- igor.serebryany@airbnb.com
|
@@ -22,9 +22,9 @@ executables: []
|
|
22
22
|
extensions: []
|
23
23
|
extra_rdoc_files: []
|
24
24
|
files:
|
25
|
+
- CHANGELOG.md
|
25
26
|
- MIT-LICENSE
|
26
27
|
- README.md
|
27
|
-
- Rakefile
|
28
28
|
- Vagrantfile
|
29
29
|
- lib/vagrant-bindfs.rb
|
30
30
|
- lib/vagrant-bindfs/bindfs.rb
|
@@ -80,30 +80,35 @@ files:
|
|
80
80
|
- lib/vagrant-bindfs/vagrant/plugin.rb
|
81
81
|
- lib/vagrant-bindfs/version.rb
|
82
82
|
- locales/en.yml
|
83
|
+
- vagrant-bindfs.gemspec
|
83
84
|
homepage: https://github.com/gael-ian/vagrant-bindfs
|
84
85
|
licenses:
|
85
86
|
- MIT
|
86
87
|
metadata:
|
87
88
|
allowed_push_host: https://rubygems.org
|
88
|
-
|
89
|
+
rubygems_mfa_required: 'true'
|
90
|
+
bug_tracker_uri: https://github.com/gael-ian/vagrant-bindfs/issues
|
91
|
+
changelog_uri: https://github.com/gael-ian/vagrant-bindfs/blob/main/CHANGELOG.md
|
92
|
+
homepage_uri: https://github.com/gael-ian/vagrant-bindfs
|
93
|
+
source_code_uri: https://github.com/gael-ian/vagrant-bindfs
|
94
|
+
funding_uri: https://opencollective.com/notus-sh
|
89
95
|
post_install_message:
|
90
96
|
rdoc_options: []
|
91
97
|
require_paths:
|
92
98
|
- lib
|
93
99
|
required_ruby_version: !ruby/object:Gem::Requirement
|
94
100
|
requirements:
|
95
|
-
- - "
|
101
|
+
- - ">="
|
96
102
|
- !ruby/object:Gem::Version
|
97
|
-
version: '2.
|
103
|
+
version: '2.7'
|
98
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
105
|
requirements:
|
100
106
|
- - ">="
|
101
107
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
108
|
+
version: '0'
|
103
109
|
requirements: []
|
104
|
-
rubygems_version: 3.
|
110
|
+
rubygems_version: 3.3.7
|
105
111
|
signing_key:
|
106
112
|
specification_version: 4
|
107
113
|
summary: A Vagrant plugin to automate bindfs mount in the VM
|
108
|
-
test_files:
|
109
|
-
- Vagrantfile
|
114
|
+
test_files: []
|
data/Rakefile
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
require 'bundler/setup'
|
5
|
-
require 'rspec/core/rake_task'
|
6
|
-
require 'rubocop/rake_task'
|
7
|
-
|
8
|
-
# Immediately sync all stdout
|
9
|
-
$stdout.sync = true
|
10
|
-
$stderr.sync = true
|
11
|
-
|
12
|
-
# Change to the directory of this file
|
13
|
-
Dir.chdir(__dir__)
|
14
|
-
|
15
|
-
# Installs the tasks for gem creation
|
16
|
-
Bundler::GemHelper.install_tasks
|
17
|
-
|
18
|
-
# Install the `spec` task so that we can run tests
|
19
|
-
RSpec::Core::RakeTask.new
|
20
|
-
|
21
|
-
# Add Rubocop tasks
|
22
|
-
RuboCop::RakeTask.new
|
23
|
-
|
24
|
-
# Default task is to run the unit tests
|
25
|
-
task default: 'spec'
|