vagrant-digitalocean 0.7.4 → 0.7.6

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 197c341c3da97aa929fc86ed355e958d2f3c204f
4
- data.tar.gz: d36e00bb323c039ff69373b63181e06c9f6bcf81
3
+ metadata.gz: ef5c3f904718ef36fb85e42b715de9a9d5c5bdd6
4
+ data.tar.gz: bca0e6246c88e22102e4889c2d8eef34fee0a907
5
5
  SHA512:
6
- metadata.gz: 61563549121759eaa3ca6b55e2ad32c780d67a73e1eedd7fa4ee901adf7f2d5db36fb7e652e704ac2014aec30388e2ef93488e4da354e8f698be0f265fc03c23
7
- data.tar.gz: bc860f3242cd0e0c9d5798e42fd3c0c8afcd95ee1966a051393530d506e00230857cd97605af00b7e833658b3fbd7bbbb6398bd62f77c6b26853abadaeb0bebf
6
+ metadata.gz: faa1625fadc559371b3a3897caafa27e38f25ee37e0a44ff89dc6723fe90c08a35d37d759109b224cb8345dcfb954609be0bfe76db58db59d3e749b3a9ec1dac
7
+ data.tar.gz: 16396c4e94a5fac78991ef6fc610cd8a12aa7f9c00437a88629d5d567c023b4d2db00e0338d99862dc061c2e60343a1853e23e9b46e0d10e388b43256e26330a
@@ -52,9 +52,14 @@ module VagrantPlugins
52
52
  key = ssh_info[:private_key_path]
53
53
  key = key[0] if key.is_a?(Array)
54
54
 
55
+ # build exclude rules
56
+ # http://docs.vagrantup.com/v2/synced-folders/rsync.html
57
+ excludes = ['.vagrant/', *Array(data[:rsync_excludes])]
58
+
55
59
  # rsync over to the guest path using the ssh info
56
60
  command = [
57
- "rsync", "--verbose", "--archive", "-z", "--delete",
61
+ "rsync", "--verbose", "--archive", "--delete", "-z", "--copy-links",
62
+ *excludes.map{|e|['--exclude', e]}.flatten,
58
63
  "-e", "ssh -p #{ssh_info[:port]} -o StrictHostKeyChecking=no -i '#{key}'",
59
64
  hostpath,
60
65
  "#{ssh_info[:username]}@#{ssh_info[:host]}:#{guestpath}"]
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module DigitalOcean
3
- VERSION = '0.7.4'
3
+ VERSION = '0.7.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-digitalocean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Bender
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-21 00:00:00.000000000 Z
11
+ date: 2015-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  requirements: []
119
119
  rubyforge_project:
120
- rubygems_version: 2.4.4
120
+ rubygems_version: 2.4.6
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Enables Vagrant to manage Digital Ocean droplets
@@ -128,4 +128,3 @@ test_files:
128
128
  - test/test.sh
129
129
  - test/test_id_rsa
130
130
  - test/test_id_rsa.pub
131
- has_rdoc: