vagrant-rsync 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YmZhNjg4ODYyZTVjNTM2YmY0YTBhOTA5ODE4MmY3NmE0ZWZlYzU5MQ==
4
+ ZGNmMGI2Mjc4NTBmN2ExNjc2YjBkMDFjZjliZjJhODgxYmFkYjBiOA==
5
5
  data.tar.gz: !binary |-
6
- MGNiMDI0M2E1Zjk3NjRhNzgyMWUxNzYzMmJiZjY1OTRjN2ZjNDQyYQ==
6
+ NDhjYjVhY2EyMjgwZWE5ODEzOWQxYzBjNjYzMjJhZGExZWMxY2RmNA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NTdkNzI1ZmJmZDBkOTNkZmExMGVlYzAxZjc0MGVjYzQ5NmM0ZjE0Njc1NDhm
10
- YzVlMjFkM2MyNmM2YThkZjY1MzI5OTYxMDlhNDgwOTVkMDA2ZWI1NzA4NTJm
11
- ZDQ0NWIwNzU3YzE0MGM0YTFkODQwMjcyMDRiZmYwMDkxYmFlNmE=
9
+ NDNiMjgxNTc2M2U0NzgzMGM5ZjNhZTRlYmY4MWMyN2ZlMWNmODE2OTljYzk0
10
+ YTIxOWQ0MWIwOWZlY2QyNTM1NDBkNmJlMDE0NTg3ZWQ4ZTlmNTJhNTIyMTg3
11
+ OTA3Y2JiYjBmMDUxZmFlNDFhZDdmZjc1MjEyOTZjZTIxYjdlZjg=
12
12
  data.tar.gz: !binary |-
13
- YzU0YjZlYjhlYTY2NWQ0ODhkNGNkNjA2Y2RiNjU2ZjU2ZjRkMzlkYWJlNDAw
14
- YWY1MThmNGIyOWZjYThjYjY4Mzc4MzZmZGI4MmE0NDdiYzkxYjg3ZWFmZDlj
15
- MDNmYmJjM2RlNTI4NzcyMTViODU4NjVlYjc5OWJiYWFkYjIyMjk=
13
+ NGUwZTNkNjk3N2Y2YzI2Nzk5ODdmNzE4OTg5ZWFmMTNiMTdhMjE5ZWNiYzQ4
14
+ ZDFhYTQzNWU4MmQ2NDM4MTE5MDk2MmM4MGY2NDQyNDQ3ODQ3YzE2NGFkMDg3
15
+ ZWJiMGNhODU5NTU3YmRiMmZlZGFlYzkzNWQ4OWFkY2YxMjU2MGU=
data/.gitignore CHANGED
@@ -5,6 +5,8 @@
5
5
  *.gem
6
6
  .bundle
7
7
  pkg/*
8
+ bin/*
9
+ tmp/*
8
10
  tags
9
11
  Gemfile.lock
10
12
 
data/Gemfile CHANGED
@@ -3,5 +3,8 @@ source "https://rubygems.org"
3
3
  gemspec
4
4
 
5
5
  group :development do
6
+ gem "rb-fsevent"
7
+ gem 'guard-shell'
8
+ gem "guard"
6
9
  gem "rake"
7
10
  end
data/Guardfile ADDED
@@ -0,0 +1,8 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+ guard :shell,:all_on_start => true do
4
+ watch /.*/ do |m|
5
+ `vagrant rsync`
6
+ puts `pwd`
7
+ end
8
+ end
@@ -0,0 +1,29 @@
1
+ # -*- mode: ruby -*-
2
+ # vi: set ft=ruby :
3
+
4
+ # to test this plugin, just copy this file to ./Vagrantfile
5
+ # and replace your aws credentials
6
+
7
+
8
+ Vagrant.configure("2") do |config|
9
+ # All Vagrant configuration is done here. The most common configuration
10
+ # options are documented and commented below. For a complete reference,
11
+ # please see the online documentation at vagrantup.com.
12
+
13
+ # Every Vagrant virtual environment requires a box to build off of.
14
+ config.vm.box = "dummy"
15
+
16
+ # The url from where the 'config.vm.box' box will be fetched if it
17
+ # doesn't already exist on the user's system.
18
+ config.vm.box_url = "https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box"
19
+
20
+ config.vm.provider :aws do |aws|
21
+ aws.access_key_id = "your_key"
22
+ aws.secret_access_key = "your_secret"
23
+ aws.keypair_name = "your_keypair"
24
+ aws.ssh_private_key_path = "your_keypair_secret_path"
25
+
26
+ aws.ami = "ami-7747d01e"
27
+ aws.ssh_username = "ubuntu"
28
+ end
29
+ end
data/lib/command.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require 'optparse'
2
- require 'pp'
3
2
  module VagrantPlugins
4
3
  module CommandRSYNC
5
4
  class Command < Vagrant.plugin("2", :command)
@@ -34,7 +33,7 @@ module VagrantPlugins
34
33
  rsync_options << '-vvv' if options[:verbose]
35
34
 
36
35
  command = [
37
- "rsync", "--verbose", "--archive", "-z",
36
+ "rsync", "--verbose", "--delete", "--archive", "-z",
38
37
  "--exclude", ".vagrant/",
39
38
  "-e", "ssh -p #{ssh_info[:port]} -o StrictHostKeyChecking=no -i '#{ssh_info[:private_key_path]}'",
40
39
  hostpath,
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module RSYNC
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
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.1.0
4
+ version: 0.1.1
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-08 00:00:00.000000000 Z
11
+ date: 2013-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -32,6 +32,7 @@ extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
34
  - Gemfile
35
+ - Guardfile
35
36
  - lib/command.rb
36
37
  - lib/plugin.rb
37
38
  - lib/vagrant-rsync.rb
@@ -40,6 +41,7 @@ files:
40
41
  - RakeFile
41
42
  - README.md
42
43
  - vagrant-rsync.gemspec
44
+ - Vagrantfile.testing
43
45
  - .gitignore
44
46
  homepage: https://github.com/cromulus/vagrant-rsync
45
47
  licenses: []