vagrant-bindfs 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vagrant-bindfs.rb +2 -3
- data/lib/vagrant-bindfs/error.rb +1 -1
- data/lib/vagrant-bindfs/middleware.rb +1 -2
- data/lib/vagrant-bindfs/version.rb +1 -1
- metadata +8 -24
data/lib/vagrant-bindfs.rb
CHANGED
@@ -6,9 +6,8 @@ require 'vagrant-bindfs/middleware'
|
|
6
6
|
# Register Bindfs config
|
7
7
|
Vagrant.config_keys.register(:bindfs) { VagrantBindfs::Config }
|
8
8
|
|
9
|
-
# Insert Bindfs before the
|
10
|
-
Vagrant.actions[:start].insert Vagrant::Action::VM::
|
11
|
-
Vagrant.actions[:up].insert Vagrant::Action::VM::NFS, VagrantBindfs::Middleware
|
9
|
+
# Insert Bindfs before the Provisions middleware in the ":start" and ":up" Action stack
|
10
|
+
Vagrant.actions[:start].insert Vagrant::Action::VM::Provision, VagrantBindfs::Middleware
|
12
11
|
|
13
12
|
# Add custom translations to the load path
|
14
13
|
I18n.load_path << File.expand_path("../../locales/en.yml", __FILE__)
|
data/lib/vagrant-bindfs/error.rb
CHANGED
@@ -78,7 +78,6 @@ module VagrantBindfs
|
|
78
78
|
def bind_folders
|
79
79
|
@env[:ui].info I18n.t("vagrant.guest.linux.bindfs.status.binding")
|
80
80
|
binded_folders.each do |opts|
|
81
|
-
|
82
81
|
path, bindpath, args = normalize_options opts
|
83
82
|
|
84
83
|
@env[:vm].channel.sudo("mkdir -p #{bindpath}")
|
@@ -89,4 +88,4 @@ module VagrantBindfs
|
|
89
88
|
end
|
90
89
|
|
91
90
|
end
|
92
|
-
end
|
91
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-bindfs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 11
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 8
|
10
|
-
version: 0.1.8
|
5
|
+
version: 0.1.9
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- "Folken La\xC3\xABneck"
|
@@ -15,7 +10,7 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date: 2012-
|
13
|
+
date: 2012-12-18 00:00:00 Z
|
19
14
|
dependencies:
|
20
15
|
- !ruby/object:Gem::Dependency
|
21
16
|
name: vagrant
|
@@ -23,14 +18,9 @@ dependencies:
|
|
23
18
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
19
|
none: false
|
25
20
|
requirements:
|
26
|
-
- -
|
21
|
+
- - ~>
|
27
22
|
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 9
|
32
|
-
- 4
|
33
|
-
version: 0.9.4
|
23
|
+
version: 1.0.5
|
34
24
|
type: :runtime
|
35
25
|
version_requirements: *id001
|
36
26
|
description: A Vagrant plugin to automate bindfs mount in the VM. This allow you to change owner, group and permissions on files and, for example, work around NFS share permissions issues.
|
@@ -43,12 +33,12 @@ extensions: []
|
|
43
33
|
extra_rdoc_files: []
|
44
34
|
|
45
35
|
files:
|
46
|
-
- lib/vagrant-bindfs/version.rb
|
47
36
|
- lib/vagrant-bindfs/error.rb
|
48
|
-
- lib/vagrant-bindfs/config.rb
|
49
37
|
- lib/vagrant-bindfs/middleware.rb
|
50
|
-
- lib/
|
38
|
+
- lib/vagrant-bindfs/version.rb
|
39
|
+
- lib/vagrant-bindfs/config.rb
|
51
40
|
- lib/vagrant-bindfs.rb
|
41
|
+
- lib/vagrant_init.rb
|
52
42
|
- locales/en.yml
|
53
43
|
- README.md
|
54
44
|
- LICENSE.txt
|
@@ -65,23 +55,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
55
|
requirements:
|
66
56
|
- - ">="
|
67
57
|
- !ruby/object:Gem::Version
|
68
|
-
hash: 3
|
69
|
-
segments:
|
70
|
-
- 0
|
71
58
|
version: "0"
|
72
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
60
|
none: false
|
74
61
|
requirements:
|
75
62
|
- - ">="
|
76
63
|
- !ruby/object:Gem::Version
|
77
|
-
hash: 3
|
78
|
-
segments:
|
79
|
-
- 0
|
80
64
|
version: "0"
|
81
65
|
requirements: []
|
82
66
|
|
83
67
|
rubyforge_project:
|
84
|
-
rubygems_version: 1.8.
|
68
|
+
rubygems_version: 1.8.24
|
85
69
|
signing_key:
|
86
70
|
specification_version: 3
|
87
71
|
summary: A Vagrant plugin to automate bindfs mount in the VM
|