vagrant-sshfs 0.0.1 → 0.0.2.beta1

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: 9649700d1265ecdc898d9024e70bb09f8a305a3f
4
- data.tar.gz: 247f6c8331af219fcb9851276a59f06ec5a8cf28
3
+ metadata.gz: 81d061c188d45b25b9cc5bf9d85932ca7f679ce9
4
+ data.tar.gz: c7ce8acc278fda4ef846c73c945aeb539673033b
5
5
  SHA512:
6
- metadata.gz: 550760e3094176dc379e85daef499d8086b32a054324733190f4bdc86d2bcf88698d363c86cf2814964eeec92515ef74c6f377742f3c883d959453155d031294
7
- data.tar.gz: b067dbda53d44fafc86cf23f47f368c7d2b3773130015f8e1c7f3e4c7dea731d627ef45ceba766d3a5cc5297b863ea20cf52207e762d3d8c8120590f30552dcb
6
+ metadata.gz: 5d3ccb43760691cf645866610877f2fe2d63baf10d49892d5f9ec051e8d7634d02764b0e63f69d6cd03504f01e63f4e9394cc355e1cbc9e2bde9c301bff83528
7
+ data.tar.gz: d68b314e0390ca2eca85e4da0838b5f11a8f16da910c6a109b5bdb4a8ec8cfd0b02c2e993bcf19888f776b13f573371e55e6de209d30662507341dd285ed170d
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  mountpoint
2
2
  .vagrant
3
+ *.gem
data/CHANGELOG.md ADDED
@@ -0,0 +1,11 @@
1
+ ## vagrant-sshfs 0.0.2 (November 29, 2013 ) ##
2
+
3
+ * Uses an absolute source for the remote path.
4
+
5
+ *Fabio Kreusch*
6
+
7
+ ## vagrant-sshfs 0.0.1 (September 27, 2013 ) ##
8
+
9
+ * First release.
10
+
11
+ *Fabio Kreusch*
data/Gemfile CHANGED
@@ -1,9 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in vagrant-dnsmasq.gemspec
4
-
5
3
  group :development do
6
- gem 'vagrant', :git => 'git://github.com/mitchellh/vagrant.git', :tag => 'v1.2.2'
4
+ gem 'vagrant', :git => 'git://github.com/mitchellh/vagrant.git', :tag => 'v1.4.0'
7
5
  end
8
6
 
9
7
  gemspec
data/Gemfile.lock CHANGED
@@ -1,45 +1,34 @@
1
1
  GIT
2
2
  remote: git://github.com/mitchellh/vagrant.git
3
- revision: 7e400d00a3c5a0fdf2809c8b5001a035415a607b
4
- tag: v1.2.2
3
+ revision: 059de113a705f84ff165a4df049d38a2abcc60a8
4
+ tag: v1.4.0
5
5
  specs:
6
- vagrant (1.2.2)
6
+ vagrant (1.4.0)
7
7
  childprocess (~> 0.3.7)
8
8
  erubis (~> 2.7.0)
9
9
  i18n (~> 0.6.0)
10
- json (>= 1.5.1, < 1.8.0)
11
10
  log4r (~> 1.1.9)
12
11
  net-scp (~> 1.1.0)
13
- net-ssh (~> 2.6.6)
12
+ net-ssh (>= 2.6.6, < 2.8.0)
14
13
 
15
14
  PATH
16
15
  remote: .
17
16
  specs:
18
- vagrant-sshfs (0.0.1)
17
+ vagrant-sshfs (0.0.2)
19
18
 
20
19
  GEM
21
20
  remote: https://rubygems.org/
22
21
  specs:
23
22
  childprocess (0.3.9)
24
23
  ffi (~> 1.0, >= 1.0.11)
25
- diff-lcs (1.2.4)
26
24
  erubis (2.7.0)
27
- ffi (1.9.0)
28
- i18n (0.6.5)
29
- json (1.7.7)
25
+ ffi (1.9.3)
26
+ i18n (0.6.9)
30
27
  log4r (1.1.10)
31
28
  net-scp (1.1.2)
32
29
  net-ssh (>= 2.6.5)
33
- net-ssh (2.6.8)
30
+ net-ssh (2.7.0)
34
31
  rake (10.1.0)
35
- rspec (2.14.1)
36
- rspec-core (~> 2.14.0)
37
- rspec-expectations (~> 2.14.0)
38
- rspec-mocks (~> 2.14.0)
39
- rspec-core (2.14.5)
40
- rspec-expectations (2.14.3)
41
- diff-lcs (>= 1.1.3, < 2.0)
42
- rspec-mocks (2.14.3)
43
32
 
44
33
  PLATFORMS
45
34
  ruby
@@ -47,6 +36,5 @@ PLATFORMS
47
36
  DEPENDENCIES
48
37
  bundler (~> 1.3)
49
38
  rake
50
- rspec
51
39
  vagrant!
52
40
  vagrant-sshfs!
data/README.md CHANGED
@@ -16,7 +16,7 @@ In the `Vagrantfile`, add a configuration like this:
16
16
 
17
17
  `config.sshfs.paths = { "src" => "mountpoint" }`
18
18
 
19
- `src` is the source folder in the box, `mountpoint` is the folder in the host machine. `src` is relative to the vagrant use home folder, usually `/home/vagrant`. `mountpoint` is relative to the `Vagrantfile`.
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
21
  ## Contributing
22
22
 
data/Vagrantfile CHANGED
@@ -3,5 +3,5 @@ Vagrant.require_plugin "vagrant-sshfs"
3
3
  Vagrant.configure("2") do |config|
4
4
  config.vm.box = "precise64"
5
5
 
6
- config.sshfs.paths = { "src" => "mountpoint" }
6
+ config.sshfs.paths = { "/home/vagrant/src" => "mountpoint" }
7
7
  end
@@ -38,26 +38,20 @@ module Vagrant
38
38
  end
39
39
 
40
40
  def private_key
41
- ssh_info[:private_key_path]
41
+ Array(ssh_info[:private_key_path]).first
42
42
  end
43
43
 
44
44
  def check_src!(src)
45
- folder = src_folder(src)
46
-
47
- unless machine.communicate.test("test -d #{folder}")
48
- if ask("create_src", src: folder) == "y"
49
- machine.communicate.execute("mkdir -p #{folder}")
50
- info("created_src", src: folder)
45
+ unless machine.communicate.test("test -d #{src}")
46
+ if ask("create_src", src: src) == "y"
47
+ machine.communicate.execute("mkdir -p #{src}")
48
+ info("created_src", src: src)
51
49
  else
52
- error("not_created_src", src: folder)
50
+ error("not_created_src", src: src)
53
51
  end
54
52
  end
55
53
 
56
- folder
57
- end
58
-
59
- def src_folder(src)
60
- "/home/#{username}/#{src}"
54
+ src
61
55
  end
62
56
 
63
57
  def check_target!(target)
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module SshFS
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2.beta1"
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.1
4
+ version: 0.0.2.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - fabiokr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-27 00:00:00.000000000 Z
11
+ date: 2013-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -46,6 +46,7 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - .gitignore
49
+ - CHANGELOG.md
49
50
  - Gemfile
50
51
  - Gemfile.lock
51
52
  - LICENSE.txt
@@ -74,12 +75,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
74
75
  version: '0'
75
76
  required_rubygems_version: !ruby/object:Gem::Requirement
76
77
  requirements:
77
- - - '>='
78
+ - - '>'
78
79
  - !ruby/object:Gem::Version
79
- version: '0'
80
+ version: 1.3.1
80
81
  requirements: []
81
82
  rubyforge_project:
82
- rubygems_version: 2.1.3
83
+ rubygems_version: 2.0.14
83
84
  signing_key:
84
85
  specification_version: 4
85
86
  summary: A Vagrant plugin that mounts folders with sshfs in the host machine.