puppet_fixtures 2.2.0 → 2.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 +4 -4
- data/lib/puppet_fixtures.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ed33d177f1da2927fda9f8aa4fac29e2f7ad74c988f13b7f82bb224515866187
|
|
4
|
+
data.tar.gz: 2574f3ec170d3c57d30992d6087ae536b88309bccc52a1252b15c0fb5588adee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bad7bfe9797907c11092d4587b495adb6b62dd0f5302bd02a8677f622e2d7c9492ea763d7d95456b00effc4ae9e93c60c3e3b43a51da6232e7956ef88110f4fe
|
|
7
|
+
data.tar.gz: ae2c18af6e1f060aa736aab51f36500df22b66d7fb199dbe28b7e20e3c6dd7d458549682334c002f71a3af0511a6b8eeea2294552b41914fe4c22877e7f7b30b
|
data/lib/puppet_fixtures.rb
CHANGED
|
@@ -424,7 +424,7 @@ module PuppetFixtures
|
|
|
424
424
|
rescue LoadError
|
|
425
425
|
# the require only works on windows
|
|
426
426
|
end
|
|
427
|
-
target = File.join(File.dirname(@link), @target)
|
|
427
|
+
target = Pathname.new(@target).absolute? ? @target : File.join(File.dirname(@link), @target)
|
|
428
428
|
if Dir.respond_to?(:create_junction)
|
|
429
429
|
Dir.create_junction(@link, target)
|
|
430
430
|
else
|