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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7dd8ae482ce72c699af4193d979a47d227751aaa63a084cf08f349ee004e04b
4
- data.tar.gz: 865104e7c3370cac82cfd2b4a8858fe00ff2dd21392aa44ab9a099670cc451ed
3
+ metadata.gz: 376ed3d043356db8228f9b366356cd017fffcb8de726717be32450e93db7794f
4
+ data.tar.gz: 463007a2862e51a357af9eebffc78b054975bfb2fe3ca0e451ac76b43a181c17
5
5
  SHA512:
6
- metadata.gz: ffd259aba3f1f9ef9f62407e3d112f6b94732b104827716655dc61ab6cbf922b3f2899b6e7540c8b303451a5f181b29de038944818cd75fd0545befd9e05321a
7
- data.tar.gz: 7344115ac28af6df78378a572e59f204953bb0e71291c0dccaab79589c1ca310ab2f1071aa01ba5d1effd858dd1b8e9b622da9d7a2f7ffe7498fc343edcc1b0c
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
@@ -23,7 +23,7 @@ module VagrantBindfs
23
23
  end
24
24
 
25
25
  def format_argument(name, value)
26
- send("format_#{argument_type(name)}", name, value)
26
+ send(:"format_#{argument_type(name)}", name, value)
27
27
  end
28
28
 
29
29
  def format_flag(name, value)
@@ -2,7 +2,7 @@
2
2
 
3
3
  module VagrantBindfs
4
4
  module Bindfs # :nodoc:
5
- SOURCE_VERSION = '1.17.2'
5
+ SOURCE_VERSION = '1.17.7'
6
6
  SOURCE_URLS = [
7
7
  'https://bindfs.org/downloads/%<basename>s.tar.gz',
8
8
  'https://bindfs.dy.fi/downloads/%<basename>s.tar.gz'
@@ -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: 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}".to_sym) do |hook|
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VagrantBindfs
4
- VERSION = '1.2.0'
4
+ VERSION = '1.3.0'
5
5
  end
@@ -39,5 +39,5 @@ Gem::Specification.new do |spec|
39
39
  f.match(excluded_dirs) || excluded_files.include?(f)
40
40
  end
41
41
 
42
- spec.required_ruby_version = '>= 2.7'
42
+ spec.required_ruby_version = '>= 3.0', '< 3.4'
43
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.2.0
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: 2023-03-07 00:00:00.000000000 Z
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: '2.7'
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.7
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