vagrant-sshfs 0.0.3 → 0.0.4

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
  SHA1:
3
- metadata.gz: a302e9c4226369950fd090db5160c072d215b88a
4
- data.tar.gz: 435515e8e552bbf2c101733b90ca3304bd015faa
3
+ metadata.gz: 5e635dbf5bc509348d441188e6999f0c3f2112d2
4
+ data.tar.gz: 390602f96bed49a4745c22f96e17550086c1cb20
5
5
  SHA512:
6
- metadata.gz: 280a8b7ce6b2162b6ee392e83c13bf6a8375388049ffc16d107d9e4f8b89adb403caf872a6614ac7c67dba2692868da749fa072db0613c8a9a74352e6314d0e0
7
- data.tar.gz: 3f786f46a511550659faf4a26ebb5c239fb25ff42c32150377b1b9740c5c635cef76027e8b48ecaa5f25d96ec33762916095435f6b99fa146ef93efed011651f
6
+ metadata.gz: b0e4854d3fb65f849a4e61aad7f1baa680fe7db6b3c6fc904fe23658e6571b3f7674bea843cf140473a0707959bad5fd7cdb490ac23a56193b0e414b3afd94ac
7
+ data.tar.gz: bbce98be457d3b52513f86cfe8722dc3a73867b50f384a5fdb061417aff26a08a4ffa527aa46261999ef08b4006166a136a25bb1c018118ea8edcdc398428d57
data/CHANGELOG.md CHANGED
@@ -1,16 +1,22 @@
1
- ## vagrant-sshfs 0.0.3 (December 15, 2013 ) ##
1
+ ## vagrant-sshfs 0.0.4 (March 5, 2014) ##
2
+
3
+ * Allows to set a custom ssh username.
4
+
5
+ *Daichi Nakajima*
6
+
7
+ ## vagrant-sshfs 0.0.3 (December 15, 2013) ##
2
8
 
3
9
  * Uses an absolute source for the remote path.
4
10
 
5
11
  *Fabio Kreusch*
6
12
 
7
- ## vagrant-sshfs 0.0.2 (November 29, 2013 ) ##
13
+ ## vagrant-sshfs 0.0.2 (November 29, 2013) ##
8
14
 
9
15
  * Revoked on wrong push.
10
16
 
11
17
  *Fabio Kreusch*
12
18
 
13
- ## vagrant-sshfs 0.0.1 (September 27, 2013 ) ##
19
+ ## vagrant-sshfs 0.0.1 (September 27, 2013) ##
14
20
 
15
21
  * First release.
16
22
 
data/README.md CHANGED
@@ -18,6 +18,10 @@ In the `Vagrantfile`, add a configuration like this:
18
18
 
19
19
  `src` is the source absolute path to the folder in the box, `mountpoint` is the folder in the host machine. `mountpoint` can be an absolute path, or relative to the `Vagrantfile`.
20
20
 
21
+ By default it will use the Vagrant ssh username. You can change that with the following:
22
+
23
+ `config.sshfs.username = "theusername"`
24
+
21
25
  ## Contributing
22
26
 
23
27
  If you have issues or ideas, please contribute! You can create an issue throught Github, or send a Pull Request.
@@ -26,7 +26,7 @@ module Vagrant
26
26
  end
27
27
 
28
28
  def username
29
- ssh_info[:username]
29
+ machine.config.sshfs.username ||= ssh_info[:username]
30
30
  end
31
31
 
32
32
  def host
@@ -2,9 +2,11 @@ module Vagrant
2
2
  module SshFS
3
3
  class Config < Vagrant.plugin(2, :config)
4
4
  attr_accessor :paths
5
+ attr_accessor :username
5
6
 
6
7
  def initialize
7
8
  @paths = {}
9
+ @username = nil
8
10
  end
9
11
 
10
12
  def merge(other)
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module SshFS
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-sshfs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - fabiokr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-24 00:00:00.000000000 Z
11
+ date: 2014-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler