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.
Files changed (5) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +5 -1
  3. data/lib/command.rb +2 -2
  4. data/lib/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWNmZjcwNTE4M2M0ZmRkZWZjN2Y1ZDYzMTUwYWQ4ZGI2OTVmNGRjMw==
4
+ NzBkZGNkNDM2NmMxOGRjNTEyNGViNWE4NzVmOWE1YTBhMDdhMzgxMg==
5
5
  data.tar.gz: !binary |-
6
- YTFiYzdkZGQ2MzM5NmQ2MmY4ZmQyNmI1MWFjYTM2MDg2YWZhMjg4MQ==
6
+ OWFlMWUwNGEyNGExNTU1MTRlYTcxZWY5ZTAyYWQxZjA1MjExYzIxOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YmU5NDRmMWY5M2MwMDUwMzkwYzk2NjllZjQyOWQ2ODg2Yzc2Y2YxYjQwZTA4
10
- MDY4NTIzNzMyMTllZDM4Njk0ZmZhOTIxNDhkMjE4ODIxMWMzOTIxYTRmMWJl
11
- OTZiYzAzNGY0M2NhZTZiZjI5ZWVkYTUxMjJjNzRhNDQyYzMwNGM=
9
+ NTJlOWIxYWZiMzNhNmRiZTg0Mzk4NGJlZTY0OTYyOWZmYjI5ZjhmMGE2MjI3
10
+ MTVkMDYwYmU4NjY2OWRhNjgzOWMzYzU0MjhhODJhZjJiMjViOGVjYWU4OWUy
11
+ YzBhMmIyNjliMDNhOTJkMjJiZjZiMzlhMDRkYTg3NGJiNDdjNzU=
12
12
  data.tar.gz: !binary |-
13
- YmQ4OGYzYTcyNzZiOTQ4MjEwN2M1MjFhODMxNzAzZWY2ODVkNjQzNzkyMTk2
14
- Y2MxMmRhY2YyNzM3OTVjMjAyMjliNTFjNTlkNzdkM2FhMGE5YTc3N2YyZTE4
15
- ZTZkMWQyZTE4YTUzMTdmOGQyODJjYTJkNDI2YTZkODMxOTg2MTQ=
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 (rsync)[http://rsync.samba.org/]
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 opts[:nfs]
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
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module RSYNC
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
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.2
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-05 00:00:00.000000000 Z
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