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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7dd8ae482ce72c699af4193d979a47d227751aaa63a084cf08f349ee004e04b
4
- data.tar.gz: 865104e7c3370cac82cfd2b4a8858fe00ff2dd21392aa44ab9a099670cc451ed
3
+ metadata.gz: 7c04ce40b98593e640f85659cae56352246df505d58442e0be0a109acf9b7032
4
+ data.tar.gz: aef4916a5a0985479bf6521033aa60bb0e19f4c7c03b291091d2e4f5a8952dbf
5
5
  SHA512:
6
- metadata.gz: ffd259aba3f1f9ef9f62407e3d112f6b94732b104827716655dc61ab6cbf922b3f2899b6e7540c8b303451a5f181b29de038944818cd75fd0545befd9e05321a
7
- data.tar.gz: 7344115ac28af6df78378a572e59f204953bb0e71291c0dccaab79589c1ca310ab2f1071aa01ba5d1effd858dd1b8e9b622da9d7a2f7ffe7498fc343edcc1b0c
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
@@ -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'
@@ -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.1'
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.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: 2023-03-07 00:00:00.000000000 Z
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: '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