vagrant-bindfs 1.1.7 → 1.1.8

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: eb3417cbc3128343426040923ca3e7ac4b2f8bdb42fe827d72d96e5e3dc6c383
4
- data.tar.gz: 81d8fcb6135c267ac35b2f99355ffa543648664310b0445f69221191502b409d
3
+ metadata.gz: 1fa28f942676808592e86a1fbad388ad70006aeda091b39486b3d75165292cc2
4
+ data.tar.gz: 21393b9f50debe7e6033643ebe68417652d3197217e9ecfb530cc2ed505a6923
5
5
  SHA512:
6
- metadata.gz: 497f0b59fe30d4aa1f57a2999a3adbfb9d6400ade72e88a62e168ea10149933a501825514a096b06646a8b39cdbbab6ef5b7c65d0a3b2f9bc9365c34612f94c7
7
- data.tar.gz: 7b88615529c76195d46edc91970e0c879f66b3450523db4744afd048e01f7a3ca4a77492cf981b60491fdfd56717afb7a1cf1c5074be76cfc36a1a71622a2ad3
6
+ metadata.gz: d792f4f486dab52ea65ca6a7bf2cfe8f4967449d8a1f88a185b21876a1107360f004111a45b1c7d36d6cda8a7dda62b1b17ae612f77016f408f373d58a48d03d
7
+ data.tar.gz: bb34d7b15db3c38a6138f925c2fd4a29220cc57912b4dd7055cdb7882a56711ae77c76db8cf5f9f5d7ace5d3eceba155c60d0a73e1a53014c1c39ab85f632094
data/README.md CHANGED
@@ -92,7 +92,7 @@ Remember that Vagrant use `/vagrant` on guest side to automatically share your p
92
92
  ### bindfs support
93
93
 
94
94
  The `bind_folder` config accept any option you can pass to bindfs.
95
- vagrant-bindfs is compatible with bindfs from version 1.9 to 1.14.2.
95
+ vagrant-bindfs is compatible with bindfs from version 1.9 to 1.14.7.
96
96
  Check [lib/vagrant-bindfs/bindfs/option_definitions.json](https://github.com/gael-ian/vagrant-bindfs/blob/master/lib/vagrant-bindfs/bindfs/option_definitions.json) for a complete list of supported options and default values and read the [bindfs man page](http://bindfs.org/docs/bindfs.1.html) for full documentation.
97
97
 
98
98
  Both long arguments and shorthand are supported.
@@ -2,7 +2,7 @@
2
2
 
3
3
  module VagrantBindfs
4
4
  module Bindfs
5
- SOURCE_VERSION = '1.14.2'
5
+ SOURCE_VERSION = '1.14.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'
@@ -5,11 +5,10 @@ require 'digest/sha1'
5
5
  module VagrantBindfs
6
6
  module Bindfs
7
7
  class Folder
8
- attr_reader :source
9
- attr_reader :destination
10
- attr_reader :options
11
-
12
- attr_reader :hook
8
+ attr_reader :source,
9
+ :destination,
10
+ :options,
11
+ :hook
13
12
 
14
13
  def initialize(hook, source, destination, options = {})
15
14
  @hook = hook
@@ -7,6 +7,8 @@
7
7
  "mirror": { "long": ["mirror"], "short": ["m"], "type": "option", "since": "0.0.1" },
8
8
  "mirror-only": { "long": ["mirror-only"], "short": ["M"], "type": "option", "since": "0.0.1" },
9
9
  "map": { "long": ["map"], "short": [], "type": "option", "since": "1.10" },
10
+ "map-passwd": { "long": ["map-passwd"], "short": [], "type": "option", "since": "1.14.6" },
11
+ "map-group": { "long": ["map-group"], "short": [], "type": "option", "since": "1.14.6" },
10
12
  "uid-offset": { "long": ["uid-offset"], "short": [], "type": "option", "since": "1.13.2" },
11
13
  "gid-offset": { "long": ["gid-offset"], "short": [], "type": "option", "since": "1.13.2" },
12
14
 
@@ -5,11 +5,10 @@ require 'forwardable'
5
5
  module VagrantBindfs
6
6
  module Bindfs
7
7
  class OptionSet
8
- attr_reader :version
9
-
10
- attr_reader :options
11
- attr_reader :invalid_options
12
- attr_reader :unsupported_options
8
+ attr_reader :version,
9
+ :options,
10
+ :invalid_options,
11
+ :unsupported_options
13
12
 
14
13
  include ::Enumerable
15
14
  extend ::Forwardable
@@ -101,7 +100,7 @@ module VagrantBindfs
101
100
  return true if [true, 'true', 'True', 'yes', 'Yes', 'y', 'Y', 'on', 'On', 1].include?(value)
102
101
  return false if [false, 'false', 'False', 'no', 'No', 'n', 'N', 'off', 'Off', 0].include?(value)
103
102
 
104
- !!value # rubocop:disable Style/DoubleNegation
103
+ !!value
105
104
  end
106
105
 
107
106
  class << self
@@ -6,8 +6,8 @@ module VagrantBindfs
6
6
  module Bindfs
7
7
  module Validators
8
8
  class Config
9
- attr_reader :folder
10
- attr_reader :errors
9
+ attr_reader :folder,
10
+ :errors
11
11
 
12
12
  extend ::Forwardable
13
13
  def_delegators :@folder, :source, :destination, :options
@@ -4,8 +4,8 @@ module VagrantBindfs
4
4
  module Vagrant
5
5
  module Actions
6
6
  class Installer
7
- attr_reader :app
8
- attr_reader :env
7
+ attr_reader :app,
8
+ :env
9
9
 
10
10
  include Concerns::Machine
11
11
  include Concerns::Log
@@ -4,9 +4,9 @@ module VagrantBindfs
4
4
  module Vagrant
5
5
  module Actions
6
6
  class Mounter
7
- attr_reader :app
8
- attr_reader :env
9
- attr_reader :hook
7
+ attr_reader :app,
8
+ :env,
9
+ :hook
10
10
 
11
11
  include Concerns::Machine
12
12
  include Concerns::Log
@@ -61,7 +61,7 @@ module VagrantBindfs
61
61
 
62
62
  def empty_mountpoint?(folder)
63
63
  return false unless config.force_empty_mountpoints
64
- return false if folder.options.key?('o') && !folder.options['o'].match(/nonempty/).nil?
64
+ return false if folder.options.key?('o') && folder.options['o'].include?('nonempty')
65
65
 
66
66
  true
67
67
  end
@@ -9,18 +9,16 @@ module VagrantBindfs
9
9
  'perms' => 'u=rwX:g=rD:o=rD'
10
10
  }.freeze
11
11
 
12
- attr_reader :debug
12
+ attr_reader :debug,
13
+ :install_bindfs_from_source,
14
+ :default_options,
15
+ :force_empty_mountpoints
13
16
 
14
- attr_accessor :bindfs_version
15
- attr_reader :install_bindfs_from_source
17
+ attr_accessor :bindfs_version,
18
+ :bound_folders,
19
+ :skip_validations
16
20
 
17
- attr_reader :default_options
18
- attr_accessor :bound_folders
19
-
20
- attr_accessor :skip_validations
21
- attr_reader :force_empty_mountpoints
22
-
23
- def initialize
21
+ def initialize # rubocop:disable Lint/MissingSuper
24
22
  @debug = false
25
23
 
26
24
  @bindfs_version = UNSET_VALUE
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VagrantBindfs
4
- VERSION = '1.1.7'
4
+ VERSION = '1.1.8'
5
5
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-bindfs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gaël-Ian Havard
8
8
  - Igor Serebryany
9
9
  - Thomas Boerger
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-05-08 00:00:00.000000000 Z
13
+ date: 2020-09-04 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
@@ -86,7 +86,7 @@ licenses:
86
86
  metadata:
87
87
  allowed_push_host: https://rubygems.org
88
88
  issue_tracker: https://github.com/gael-ian/vagrant-bindfs/issues
89
- post_install_message:
89
+ post_install_message:
90
90
  rdoc_options: []
91
91
  require_paths:
92
92
  - lib
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  version: 1.3.6
103
103
  requirements: []
104
104
  rubygems_version: 3.0.3
105
- signing_key:
105
+ signing_key:
106
106
  specification_version: 4
107
107
  summary: A Vagrant plugin to automate bindfs mount in the VM
108
108
  test_files: