vagrant-bindfs 1.1.8 → 1.1.9

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: 1fa28f942676808592e86a1fbad388ad70006aeda091b39486b3d75165292cc2
4
- data.tar.gz: 21393b9f50debe7e6033643ebe68417652d3197217e9ecfb530cc2ed505a6923
3
+ metadata.gz: 800a3b50cbd19c5884f697e0957aab4bf0daa59eda7ab32cc99ba27ad71b5c57
4
+ data.tar.gz: ae67d5c8a1cada029ef51fa381abdb31b5f7ad10aac0620b842f83cb263957de
5
5
  SHA512:
6
- metadata.gz: d792f4f486dab52ea65ca6a7bf2cfe8f4967449d8a1f88a185b21876a1107360f004111a45b1c7d36d6cda8a7dda62b1b17ae612f77016f408f373d58a48d03d
7
- data.tar.gz: bb34d7b15db3c38a6138f925c2fd4a29220cc57912b4dd7055cdb7882a56711ae77c76db8cf5f9f5d7ace5d3eceba155c60d0a73e1a53014c1c39ab85f632094
6
+ metadata.gz: d9e690f89355198da51afe1741be3c0e8c93cbe2fb5c934b6517d5e2973919c3e54c8990789f7a1ddb900c4116ecdab32cb6a09405b2f9d042d4aa7656f7e7e0
7
+ data.tar.gz: a24dec7d238c4fc61a3689030ab4e8807ecbbf236af2bed3b1f008877998a4994c8f27ffc9e4cc17d410d362b8088c0da9803aab5d2aa6d8eb0d4f1dea562ba4
@@ -12,7 +12,7 @@ module VagrantBindfs
12
12
 
13
13
  include ::Enumerable
14
14
  extend ::Forwardable
15
- def_delegators :@options, :each, :[], :keys, :key?
15
+ def_delegators :@options, :each, :[], :keys, :key?, :to_h
16
16
 
17
17
  def initialize(version = nil, options = {})
18
18
  @version = version
@@ -2,7 +2,7 @@
2
2
 
3
3
  module VagrantBindfs
4
4
  module Bindfs
5
- SOURCE_VERSION = '1.14.7'
5
+ SOURCE_VERSION = '1.15.1'
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'
@@ -14,11 +14,9 @@ module VagrantBindfs
14
14
  end
15
15
 
16
16
  def bound_folders(hook = nil)
17
- @bound_folders ||= begin
18
- config.bound_folders.each_with_object({}) do |(id, folder), bound|
19
- bound[id] = folder if hook.nil? || folder.hook == hook
20
- bound
21
- end
17
+ @bound_folders ||= config.bound_folders.each_with_object({}) do |(id, folder), bound|
18
+ bound[id] = folder if hook.nil? || folder.hook == hook
19
+ bound
22
20
  end
23
21
  end
24
22
 
@@ -27,7 +27,7 @@ module VagrantBindfs
27
27
  # Ensure equery is installed
28
28
  comm.sudo('emerge app-portage/gentoolkit')
29
29
  comm.sudo("equery -q list -po -F '$fullversion' #{bindfs_package_name} || true") do |_, output|
30
- output.strip.gsub(/\s+/, ' ').split(' ').each do |package_version|
30
+ output.strip.gsub(/\s+/, ' ').split.each do |package_version|
31
31
  return package_version unless package_version.match(/^#{version}/).nil?
32
32
  end
33
33
  end
@@ -25,12 +25,10 @@ module VagrantBindfs
25
25
 
26
26
  class << self
27
27
  def hooks
28
- @hooks ||= begin
29
- {
30
- synced_folders: synced_folders_hook,
31
- provision: ::Vagrant::Action::Builtin::Provision
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,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VagrantBindfs
4
- VERSION = '1.1.8'
4
+ VERSION = '1.1.9'
5
5
  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.1.8
4
+ version: 1.1.9
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: 2020-09-04 00:00:00.000000000 Z
13
+ date: 2021-09-21 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: " A Vagrant plugin to automate bindfs mount in the VM. This allow you
16
16
  to change owner, group and permissions on files and, for example, work around NFS
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: 1.3.6
103
103
  requirements: []
104
- rubygems_version: 3.0.3
104
+ rubygems_version: 3.1.2
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: A Vagrant plugin to automate bindfs mount in the VM