vagrant-rsync-only-changed 0.8.0 → 0.8.2

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: c71c09bb27acab0bee6e77041c848e0b37134c67
4
- data.tar.gz: 098e4876ef7ecac52863a6c6225c55c1ae5593ec
3
+ metadata.gz: 84335fb9a319e405195abf2856b75f0f1d825da1
4
+ data.tar.gz: 2edf9d16d90568943ac0a4d10504d04841eb48be
5
5
  SHA512:
6
- metadata.gz: d4fc62069297ca3b54f264d3d0c63212bb0b7cec7a8f68f644a219886b5f2bdc31a5031608f796cd5c06163b94e4471c4b30c92e4e652b67a7344a79cdcc6dd5
7
- data.tar.gz: 72c31f8fad47f63a35c51172ea6bde1e17578cce9bcce6dcfcae437223b5c8c189a8e417173ba65b18515e73ba28743569c50ab8c2fda78b3e4e28d63e133fec
6
+ metadata.gz: bd06495a655aa03c2337e04bb4c63edd5a1a8b667c7535c55f6512a0b58d49a11c4a17fbb3bc737183e8db4a121db41b33064e6caa682d5751c640b07044e4ec
7
+ data.tar.gz: 39cf93794b53c6abfbe4f7d93941c0932d8e0ffcdb86a54140603fab6f3bc5048ef2d158416d7075bb1e9216695ece9ef79c033f60657f9de5669bb484913110
@@ -187,7 +187,10 @@ module VagrantPlugins
187
187
 
188
188
  ssh_info = opts[:machine].ssh_info
189
189
  begin
190
+ start = Time.now
190
191
  VagrantPlugins::RsyncOnlyChanged::RsyncHelper.rsync_single(opts[:machine], ssh_info, opts[:opts], changed_paths)
192
+ finish = Time.now
193
+ @logger.info("Time spent in rsync: #{finish-start} (in seconds)")
191
194
  rescue Vagrant::Errors::MachineGuestNotReady
192
195
  # Error communicating to the machine, probably a reload or
193
196
  # halt is happening. Just notify the user but don't fail out.
@@ -11,7 +11,7 @@ module VagrantPlugins
11
11
 
12
12
  def finalize!
13
13
  if @rsync_on_startup == UNSET_VALUE
14
- @rsync_on_startup = true
14
+ @rsync_on_startup = false
15
15
  else
16
16
  @rsync_on_startup = !!@rsync_on_startup
17
17
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module RsyncOnlyChanged
3
- VERSION = "0.8.0"
3
+ VERSION = "0.8.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-rsync-only-changed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flávio Botelho