vagrant-ghost 0.2.0 → 0.2.1

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: fdcee953a7b942812d06c3a2311c74c18e24dd42
4
- data.tar.gz: 44e3a97e416b4da90a8066bdf80ca11db4addda2
3
+ metadata.gz: 77ac651aed50d276bf475c442e00de6e1bef21da
4
+ data.tar.gz: 0c2317d1ac3695c1e68d7c3af80d21c88694fb0f
5
5
  SHA512:
6
- metadata.gz: 128a6e57ddd0658057f9961e27828c8d1380c9d3b7442d6170da2d6ed59eb7b5d2ec16fe788e449e815bee87c7413b5d7955e7a8fb47cf0b1bea4ca12a260119
7
- data.tar.gz: b0586fa5d86ba5d5ba603ef09e5f743d706f36b1086b8e669ad786ffba077c033d6dfc506231e6f636c960df0111c372ddef1d9a7ac575b65ed8d177ce5088a3
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
@@ -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[^#]/)
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Ghost
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
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.0
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-04-09 00:00:00.000000000 Z
12
+ date: 2015-05-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler