vagrant-hostsupdater 1.2.2 → 1.2.3
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0371cf411522954cf291b4e87ed341c14d6b8cb21cc94f4cc03986adc5ad803a
|
4
|
+
data.tar.gz: 5af3574a4307a52e64754b8c9b370be54f7336ad7b31154cdcb88f07987b1b31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 178761d6c30e2c1f24d904583deea679b55d0761b17e2a3f59545e7982289faf51290cc167795758868cda17302eacf76452eecb61766072710f90c3d276ad4c
|
7
|
+
data.tar.gz: f86f197b4c899f45d9de3b20abf6d2d03d01c62d30e9b5c0c961664434f5dfacd9bf468cfab96fa9a044395b763a7f452e2b6cbb922ef507916c887037e6efc6
|
@@ -21,9 +21,14 @@ module VagrantPlugins
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def call(env)
|
24
|
-
|
24
|
+
# Check whether the plugin has been executed for a particular
|
25
|
+
# VM as it may happen that a single Vagrantfile defines multiple
|
26
|
+
# machines and having a static flag will result in a plugin being
|
27
|
+
# executed just once.
|
28
|
+
# https://github.com/agiledivider/vagrant-hostsupdater/issues/198
|
29
|
+
if not @@completed.key?(@machine.name)
|
25
30
|
run(env)
|
26
|
-
@@completed[
|
31
|
+
@@completed[@machine.name] = true
|
27
32
|
end
|
28
33
|
|
29
34
|
@app.call(env)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-hostsupdater
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Falk Kühnel
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-04-
|
12
|
+
date: 2021-04-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|