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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/vagrant-gatling-rsync/command/rsync_auto.rb +10 -0
- data/lib/vagrant-gatling-rsync/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3079b3b7c888e7bda1b89a82387084d3de085590
|
4
|
+
data.tar.gz: 2a939070a1391b74cc679c25eff274a7ade8b9b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
+
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:
|
11
|
+
date: 2015-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|