vagrant-ghost 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/vagrant-ghost/Ghost.rb +1 -1
- data/lib/vagrant-ghost/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: 77ac651aed50d276bf475c442e00de6e1bef21da
|
4
|
+
data.tar.gz: 0c2317d1ac3695c1e68d7c3af80d21c88694fb0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f2baf72dcc0b8a13ea1b1a29fe98ea3e1cbd1c6fd77940c682ecc8aec9e3d24ce11247da134200ea2263964a9b4b2193262e737291f93a29f5a1c868daa8ef4
|
7
|
+
data.tar.gz: 6612d2b84f9df9e1eb781f1c4f7bbd7c2f3804780147f06ed3d6195dac2c560d744caabd5ddaf084ce5599f60585a8e5412a2578ae1c50d96061e8baccbea5fc
|
data/README.md
CHANGED
@@ -30,6 +30,9 @@ Additional aliases can be added by creating an `/aliases` file at the root of th
|
|
30
30
|
|
31
31
|
## Changelog
|
32
32
|
|
33
|
+
### 0.2.1
|
34
|
+
* Make the search for `aliases` target the VM's root directory
|
35
|
+
|
33
36
|
### 0.2.0
|
34
37
|
* Use `ghost.config.hosts` to set static hosts while pulling dynamic ones from an `/aliases` file
|
35
38
|
* Update documentation
|
data/lib/vagrant-ghost/Ghost.rb
CHANGED
@@ -26,7 +26,7 @@ module VagrantPlugins
|
|
26
26
|
hostnames = Array(@machine.config.vm.hostname)
|
27
27
|
|
28
28
|
# Regenerate hosts from aliases file
|
29
|
-
paths = Dir[File.join( '**', 'aliases' )]
|
29
|
+
paths = Dir[File.join( @machine.env.root_path.to_s, '**', 'aliases' )]
|
30
30
|
aliases = paths.map do |path|
|
31
31
|
lines = File.readlines(path).map(&:chomp)
|
32
32
|
lines.grep(/\A[^#]/)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-ghost
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John P Bloch
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-05-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|