vagrant-winnfsd 1.1.0 → 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.
data/.gitignore CHANGED
File without changes
data/CHANGELOG CHANGED
@@ -1,11 +1,18 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 1.2.0
5
+ ------
6
+
7
+ Updated binary to version 2.1.0 (many fixes from the winnfsd project, see https://github.com/winnfsd/winnfsd/releases/tag/2.1.0 for details)
8
+
9
+
4
10
  1.1.0
5
11
  ------
6
12
 
7
13
  Update binary again (contains many fixes from the winnfsd project, thanks to all contributors, especially to Yann Schepens)
8
14
 
15
+
9
16
  1.0.11
10
17
  ------
11
18
 
data/Gemfile CHANGED
File without changes
data/LICENSE CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
File without changes
Binary file
File without changes
File without changes
File without changes
@@ -6,11 +6,13 @@ module VagrantWinNFSd
6
6
  attr_accessor :logging
7
7
  attr_accessor :uid
8
8
  attr_accessor :gid
9
+ attr_accessor :host_ip
9
10
 
10
11
  def initialize
11
12
  @logging = UNSET_VALUE
12
13
  @uid = UNSET_VALUE
13
14
  @gid = UNSET_VALUE
15
+ @host_ip = UNSET_VALUE
14
16
  end
15
17
 
16
18
  def validate(machine)
@@ -19,6 +21,7 @@ module VagrantWinNFSd
19
21
  errors << 'winnfsd.logging cannot only be \'on\' or \'off\'.' unless (machine.config.winnfsd.logging == 'on' || machine.config.winnfsd.logging == 'off')
20
22
  errors << 'winnfsd.uid cannot be nil.' if machine.config.winnfsd.uid.nil?
21
23
  errors << 'winnfsd.gid cannot be nil.' if machine.config.winnfsd.gid.nil?
24
+ errors << 'winnfsd.host_ip cannot be nil.' if machine.config.winnfsd.host_ip.nil?
22
25
 
23
26
  { "WinNFSd" => errors }
24
27
  end
@@ -27,6 +30,7 @@ module VagrantWinNFSd
27
30
  @logging = 'off' if @logging == UNSET_VALUE
28
31
  @uid = 0 if @uid == UNSET_VALUE
29
32
  @gid = 0 if @gid == UNSET_VALUE
33
+ @host_ip = "" if @host_ip == UNSET_VALUE
30
34
  end
31
35
  end
32
36
  end
File without changes
@@ -70,9 +70,16 @@ module VagrantWinNFSd
70
70
  mount_folders[id] = opts.dup if opts[:guestpath]
71
71
  end
72
72
 
73
+ # Allow override of the host IP via config.
74
+ # TODO: This should be configurable somewhere deeper in Vagrant core.
75
+ host_ip = nfsopts[:nfs_host_ip]
76
+ if (!machine.env.vagrantfile.config.winnfsd.host_ip.empty?)
77
+ host_ip = machine.env.vagrantfile.config.winnfsd.host_ip
78
+ end
79
+
73
80
  # Mount them!
74
81
  machine.guest.capability(
75
- :mount_nfs_folder, nfsopts[:nfs_host_ip], mount_folders)
82
+ :mount_nfs_folder, host_ip, mount_folders)
76
83
  end
77
84
  end
78
85
  end
@@ -1,4 +1,4 @@
1
1
 
2
2
  module VagrantWinNFSd
3
- VERSION = '1.1.0'
3
+ VERSION = '1.2.0'
4
4
  end
File without changes
File without changes
@@ -10,9 +10,9 @@ Gem::Specification.new do |gem|
10
10
  Manage and adds support for NFS on windows.
11
11
  EOD
12
12
 
13
- gem.authors = 'Alexander Schneider'
14
- gem.email = 'alexander.schneider@jankowfsky.com'
15
- gem.homepage = 'https://github.com/gm-alex/vagrant-winnfsd'
13
+ gem.authors = ['Alexander Schneider', 'Marc Harding']
14
+ gem.email = ['alexander.schneider@jankowfsky.com', 'info@marcharding.de']
15
+ gem.homepage = 'https://github.com/winnfsd/vagrant-winnfsd'
16
16
 
17
17
  gem.has_rdoc = true
18
18
  gem.license = 'Apache 2.0'
metadata CHANGED
@@ -1,63 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-winnfsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Alexander Schneider
9
+ - Marc Harding
8
10
  autorequire:
9
11
  bindir: bin
10
12
  cert_chain: []
11
- date: 2015-07-20 00:00:00.000000000 Z
13
+ date: 2016-06-24 00:00:00.000000000 Z
12
14
  dependencies: []
13
- description: |2
14
- Manage and adds support for NFS on windows.
15
- email: alexander.schneider@jankowfsky.com
15
+ description: ! ' Manage and adds support for NFS on windows.
16
+
17
+ '
18
+ email:
19
+ - alexander.schneider@jankowfsky.com
20
+ - info@marcharding.de
16
21
  executables: []
17
22
  extensions: []
18
23
  extra_rdoc_files: []
19
24
  files:
20
- - ".gitignore"
21
- - CHANGELOG
22
- - Gemfile
23
- - LICENSE
24
- - README.md
25
- - Rakefile
26
25
  - bin/nfsservice.bat
27
26
  - bin/setupfirewall.vbs
28
27
  - bin/winnfsd.exe
29
- - lib/vagrant-winnfsd.rb
28
+ - CHANGELOG
29
+ - Gemfile
30
30
  - lib/vagrant-winnfsd/cap/nfs.rb
31
31
  - lib/vagrant-winnfsd/config/config.rb
32
32
  - lib/vagrant-winnfsd/config/winnfsd.rb
33
33
  - lib/vagrant-winnfsd/plugin.rb
34
34
  - lib/vagrant-winnfsd/synced_folder.rb
35
35
  - lib/vagrant-winnfsd/version.rb
36
+ - lib/vagrant-winnfsd.rb
37
+ - LICENSE
36
38
  - locales/en.yml
39
+ - Rakefile
40
+ - README.md
37
41
  - spec/vagrant-winnfsd/config_spec.rb
38
42
  - vagrant-winnfsd.gemspec
39
- homepage: https://github.com/gm-alex/vagrant-winnfsd
43
+ - .gitignore
44
+ homepage: https://github.com/winnfsd/vagrant-winnfsd
40
45
  licenses:
41
46
  - Apache 2.0
42
- metadata: {}
43
47
  post_install_message:
44
48
  rdoc_options: []
45
49
  require_paths:
46
50
  - lib
47
51
  required_ruby_version: !ruby/object:Gem::Requirement
52
+ none: false
48
53
  requirements:
49
- - - ">="
54
+ - - ! '>='
50
55
  - !ruby/object:Gem::Version
51
56
  version: '0'
52
57
  required_rubygems_version: !ruby/object:Gem::Requirement
58
+ none: false
53
59
  requirements:
54
- - - ">="
60
+ - - ! '>='
55
61
  - !ruby/object:Gem::Version
56
62
  version: '0'
57
63
  requirements: []
58
64
  rubyforge_project:
59
- rubygems_version: 2.4.8
65
+ rubygems_version: 1.8.23
60
66
  signing_key:
61
- specification_version: 4
67
+ specification_version: 3
62
68
  summary: Adds NFS support for Windows
63
69
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: d83623589bcd234eb662186435ce92b2f866d083
4
- data.tar.gz: ad44d9b98594df521a9902741be1f7a902a492f9
5
- SHA512:
6
- metadata.gz: e1b2690df3a7d3b470f4efd7185b24fc52cf8cb8487d6b4d301d43d74680e362b97ef870afbb653fab5cdd61f4208e3a43effa3d62d59dd85ac0480d87f9d22e
7
- data.tar.gz: 63b8b9be67d7f3efcc350f1090c44bbdfab9e56414491c3035b8845f7d8c0ebfd8e6151cea7d678f3f927b6e80a7fbd0b4f02d722ee0ab1ecb7f3191f3709bd9