vagrant-gatling-rsync 0.0.4 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7e90735d5b30fc728ce9def9abc606eba65a780
4
- data.tar.gz: 97ffd1da36b10c33132168c0cacf6f68219f9520
3
+ metadata.gz: 3079b3b7c888e7bda1b89a82387084d3de085590
4
+ data.tar.gz: 2a939070a1391b74cc679c25eff274a7ade8b9b2
5
5
  SHA512:
6
- metadata.gz: 88804ec3406328978c34cb02e33ec8e62d7ab7c0459b099d60d13c38357675edad2f2442690902d100d827d836752109b23e66b67327dd0563018d45bdbfdabd
7
- data.tar.gz: d46d7d7848cf6aecff2f7470c597f0b10d4e5d71adb70c281088a0a6f4c3ef5d063fb0fbe88f51d2602418e5500b6f16e91ab7577809868e9011f52136a5a1b9
6
+ metadata.gz: f4cdaf03871c33d5d851809c23a5e5aebd1efa15c9fe41a11abd226dfceedd590a806cc7dfe9c87b03df3d80b64d77fd800670a640fe879027474798a12a152f
7
+ data.tar.gz: ba6ffa6a2719b0b95e81f1fbbeebb943097658ee1724b9a5872b25c0087a2da71391c12ddfbbb70a16cd03705055653246381251a8fe803eb52613ecd7bfe7de
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.1.0 (January 04, 2015)
2
+
3
+ This release adds feature parity with Vagrant core rsync-auto by doing a sync when gatling-rsync is started.
4
+
5
+ FEATURES:
6
+
7
+ - Perform an initial rsync when the watcher starts. [GH-13]
8
+
1
9
  ## 0.0.4 (August 24, 2014)
2
10
 
3
11
  This release adds notification of time and duration of rsyncs.
@@ -41,6 +41,16 @@ module VagrantPlugins
41
41
  folders = synced_folders(machine)[:rsync]
42
42
  next if !folders || folders.empty?
43
43
 
44
+ # Get the SSH info for this machine so we can do an initial
45
+ # sync to the VM, just as core `vagrant rsync-auto` does.
46
+ ssh_info = machine.ssh_info
47
+ if ssh_info
48
+ machine.ui.info(I18n.t("vagrant.rsync_auto_initial"))
49
+ folders.each do |id, folder_opts|
50
+ VagrantPlugins::SyncedFolderRSync::RsyncHelper.rsync_single(machine, ssh_info, folder_opts)
51
+ end
52
+ end
53
+
44
54
  folders.each do |id, folder_opts|
45
55
  # If we marked this folder to not auto sync, then
46
56
  # don't do it.
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module GatlingRsync
3
- VERSION = "0.0.4"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-gatling-rsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Merrill
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-24 00:00:00.000000000 Z
11
+ date: 2015-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler