vagrant-librarian-chef 0.1.3 → 0.1.4

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: 00f7e7254040996cf4d3b0ac0199a51d9f099d21
4
- data.tar.gz: da9cf5d32d649532a5a2e5fa286c88ffbf51f4dc
3
+ metadata.gz: a89e31c138123cff911268f51b0becf4f6e85fc1
4
+ data.tar.gz: 7d70dd0e3abf2beceb36f32a157ed7d62c2193d2
5
5
  SHA512:
6
- metadata.gz: 8edd1b1483d55b266713a02ea420c77050bea37cb19876fb9c7344bd5756cbd89981559f679d49a083849fc771e04a3babe3dffd3a04931b10c7e4af3f1204e8
7
- data.tar.gz: 7c4a84c08da63f960b909bba6c27f56ad984050c5657e12541ae394df4d7738fa52708ff04924aa1bea3909bc513658f79571bbba6cb178d3bf63dd44cb6e1b0
6
+ metadata.gz: bf46c83c3ead1229a52d68e60d3623a531ef039a4fc624da2b37ca5b736349b450a1bc64e418d9f3942e3ab1704b813757bcaff8224aa4393ff81f5c14a85662
7
+ data.tar.gz: 1fe36730ed152d872bae4e6039085135070d12e3af0adcc659aa1d3bb69bb3e8cdaa6dbe2c56ad42870b6e6c6fd0c6d6e7051bffcf9d3e6a38707d2d6cc6fcf2
@@ -31,10 +31,10 @@ module VagrantPlugins
31
31
 
32
32
  def get_project_path(env, config)
33
33
  # look for a Cheffile in the configured cheffile_dir
34
- if FileTest.exist? config.cheffile_path
35
- return config.cheffile_dir
36
- elsif FileTest.exist? File.join(env[:root_path], config.cheffile_path)
34
+ if FileTest.exist? File.join(env[:root_path], config.cheffile_path)
37
35
  return File.join(env[:root_path], config.cheffile_dir)
36
+ elsif FileTest.exist? File.expand_path(config.cheffile_path)
37
+ return File.expand_path(config.cheffile_dir)
38
38
  end
39
39
  end
40
40
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module LibrarianChef
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-librarian-chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Cuadra