puppet_fixtures 2.2.0 → 2.2.2
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 +3 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d397099970fa19973da08260eb936175f0f1b48476aff2a1657ae72051a73299
|
|
4
|
+
data.tar.gz: 41c6a233b16cabda4d28061f2f7132f57a62a0d0b87964bf4e81b0cdd46b8525
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 79f0073560b9e9e17ed1b852e3480d1d7c57e2f94e9fc75ae257bee4ea9adaa4e832853cd46d468eb397ef142aa716ddb726de186b9e00e3a3b9c44d7b6e5e81
|
|
7
|
+
data.tar.gz: 9fb2ae0ca47a3757e5564f820a91d4f1d28897ba74800a240cbfbccf59451e715d030954dafa34340e3e255c68a38a78d5e493b3de859af03fd33d6fb2137448
|
data/lib/puppet_fixtures.rb
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
require 'fileutils'
|
|
3
4
|
require 'json'
|
|
4
5
|
require 'open3'
|
|
5
6
|
require 'yaml'
|
|
@@ -48,7 +49,7 @@ module PuppetFixtures
|
|
|
48
49
|
# @example
|
|
49
50
|
# {
|
|
50
51
|
# "puppetlabs-stdlib"=>{
|
|
51
|
-
# "
|
|
52
|
+
# "repo"=>"https://gitlab.com/puppetlabs/puppet-stdlib.git",
|
|
52
53
|
# "ref"=>nil,
|
|
53
54
|
# "branch"=>"main",
|
|
54
55
|
# "scm"=>nil,
|
|
@@ -424,7 +425,7 @@ module PuppetFixtures
|
|
|
424
425
|
rescue LoadError
|
|
425
426
|
# the require only works on windows
|
|
426
427
|
end
|
|
427
|
-
target = File.join(File.dirname(@link), @target)
|
|
428
|
+
target = Pathname.new(@target).absolute? ? @target : File.join(File.dirname(@link), @target)
|
|
428
429
|
if Dir.respond_to?(:create_junction)
|
|
429
430
|
Dir.create_junction(@link, target)
|
|
430
431
|
else
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puppet_fixtures
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ewoud Kohl van Wijngaarden
|
|
@@ -44,14 +44,14 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 5.
|
|
47
|
+
version: 5.2.0
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 5.
|
|
54
|
+
version: 5.2.0
|
|
55
55
|
description: |
|
|
56
56
|
Originally part of puppetlabs_spec_helper, but with a significant
|
|
57
57
|
refactoring to make it available standalone.
|
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
86
86
|
- !ruby/object:Gem::Version
|
|
87
87
|
version: '0'
|
|
88
88
|
requirements: []
|
|
89
|
-
rubygems_version: 4.0.
|
|
89
|
+
rubygems_version: 4.0.10
|
|
90
90
|
specification_version: 4
|
|
91
91
|
summary: Set up fixtures for Puppet testing
|
|
92
92
|
test_files: []
|