vagrant-rsync 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +5 -1
- data/lib/command.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzBkZGNkNDM2NmMxOGRjNTEyNGViNWE4NzVmOWE1YTBhMDdhMzgxMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWFlMWUwNGEyNGExNTU1MTRlYTcxZWY5ZTAyYWQxZjA1MjExYzIxOQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTJlOWIxYWZiMzNhNmRiZTg0Mzk4NGJlZTY0OTYyOWZmYjI5ZjhmMGE2MjI3
|
10
|
+
MTVkMDYwYmU4NjY2OWRhNjgzOWMzYzU0MjhhODJhZjJiMjViOGVjYWU4OWUy
|
11
|
+
YzBhMmIyNjliMDNhOTJkMjJiZjZiMzlhMDRkYTg3NGJiNDdjNzU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
N2RhZjZiOTEwOThiZGM2NzExYmJjOWEyNWEyMzkxZmFjYjhmYTQzNmE5NTFh
|
14
|
+
ZTUzZGExMWI0ZDdjYTEzNWY2MDRiN2I2NzVjNDYxZGVlNTUxYmZjZDAzZjFk
|
15
|
+
NDlkNTI0OGE2YzZkZmJlZGIwMjQ0ZTU1N2JmY2MwNmYyNjc0NmI=
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Vagrant Rsync Plugin
|
2
2
|
This is a [Vagrant](http://www.vagrantup.com) 1.1+ plugin that adds an rsync command to vagrant, allowing you to use a filesystem watcher to sync your shared directories with your guest machines.
|
3
3
|
|
4
|
-
**NOTE:** This plugin requires Vagrant 1.1+, and (
|
4
|
+
**NOTE:** This plugin requires Vagrant 1.1+, and [rsync](http://rsync.samba.org/)
|
5
5
|
|
6
6
|
Based off of [Vagrant-Sync](https://github.com/calavera/vagrant-sync)
|
7
7
|
|
@@ -27,3 +27,7 @@ It might destroy all your data and turn your co-workers into angry badgers. Be f
|
|
27
27
|
|
28
28
|
Can be mixed in with Guard or kicker or what-have-you to rsync whenever the host filesystem changes.
|
29
29
|
|
30
|
+
```bash
|
31
|
+
kicker -e "vagrant rsync" .
|
32
|
+
```
|
33
|
+
|
data/lib/command.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'optparse'
|
2
|
+
require 'pp'
|
2
3
|
module VagrantPlugins
|
3
4
|
module CommandRSYNC
|
4
5
|
class Command < Vagrant.plugin("2", :command)
|
@@ -23,8 +24,7 @@ module VagrantPlugins
|
|
23
24
|
|
24
25
|
with_target_vms(argv) do |vm|
|
25
26
|
vm.config.vm.synced_folders.each do |id, data|
|
26
|
-
next if
|
27
|
-
|
27
|
+
next if data[:nfs]
|
28
28
|
hostpath = File.expand_path(data[:hostpath], vm.env.root_path)
|
29
29
|
hostpath = "#{hostpath}/" if hostpath !~ /\/$/
|
30
30
|
guestpath = data[:guestpath]
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-rsync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bill Cromie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|