puppetlabs_spec_helper 2.6.2 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/dependabot.yml +15 -0
- data/.rspec +1 -1
- data/.rubocop.yml +114 -463
- data/.rubocop_todo.yml +119 -0
- data/.travis.yml +17 -16
- data/CHANGELOG.md +256 -5
- data/CODEOWNERS +2 -0
- data/Gemfile +32 -12
- data/HISTORY.md +498 -0
- data/README.md +130 -100
- data/Rakefile +37 -7
- data/lib/puppetlabs_spec_helper/module_spec_helper.rb +48 -1
- data/lib/puppetlabs_spec_helper/puppet_spec_helper.rb +32 -16
- data/lib/puppetlabs_spec_helper/puppetlabs_spec/files.rb +5 -3
- data/lib/puppetlabs_spec_helper/puppetlabs_spec/fixtures.rb +14 -10
- data/lib/puppetlabs_spec_helper/puppetlabs_spec/matchers.rb +12 -13
- data/lib/puppetlabs_spec_helper/puppetlabs_spec/puppet_internals.rb +20 -17
- data/lib/puppetlabs_spec_helper/puppetlabs_spec_helper.rb +3 -1
- data/lib/puppetlabs_spec_helper/rake_tasks.rb +252 -525
- data/lib/puppetlabs_spec_helper/tasks/check_symlinks.rb +52 -0
- data/lib/puppetlabs_spec_helper/tasks/fixtures.rb +462 -0
- data/lib/puppetlabs_spec_helper/version.rb +3 -1
- data/puppet_spec_helper.rb +3 -1
- data/puppetlabs_spec_helper.gemspec +26 -21
- data/puppetlabs_spec_helper.rb +3 -1
- metadata +75 -31
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppetlabs_spec_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet, Inc.
|
8
8
|
- Community Contributors
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-08-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mocha
|
@@ -25,6 +25,26 @@ dependencies:
|
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: pathspec
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 0.2.1
|
35
|
+
- - "<"
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.1.0
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 0.2.1
|
45
|
+
- - "<"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.1.0
|
28
48
|
- !ruby/object:Gem::Dependency
|
29
49
|
name: puppet-lint
|
30
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -43,16 +63,22 @@ dependencies:
|
|
43
63
|
name: puppet-syntax
|
44
64
|
requirement: !ruby/object:Gem::Requirement
|
45
65
|
requirements:
|
46
|
-
- - "
|
66
|
+
- - ">="
|
47
67
|
- !ruby/object:Gem::Version
|
48
68
|
version: '2.0'
|
69
|
+
- - "<"
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '4'
|
49
72
|
type: :runtime
|
50
73
|
prerelease: false
|
51
74
|
version_requirements: !ruby/object:Gem::Requirement
|
52
75
|
requirements:
|
53
|
-
- - "
|
76
|
+
- - ">="
|
54
77
|
- !ruby/object:Gem::Version
|
55
78
|
version: '2.0'
|
79
|
+
- - "<"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '4'
|
56
82
|
- !ruby/object:Gem::Dependency
|
57
83
|
name: rspec-puppet
|
58
84
|
requirement: !ruby/object:Gem::Requirement
|
@@ -71,16 +97,36 @@ dependencies:
|
|
71
97
|
name: bundler
|
72
98
|
requirement: !ruby/object:Gem::Requirement
|
73
99
|
requirements:
|
74
|
-
- - "
|
100
|
+
- - ">="
|
75
101
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
102
|
+
version: '0'
|
77
103
|
type: :development
|
78
104
|
prerelease: false
|
79
105
|
version_requirements: !ruby/object:Gem::Requirement
|
80
106
|
requirements:
|
81
|
-
- - "
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: fakefs
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 0.13.3
|
117
|
+
- - "<"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '2'
|
120
|
+
type: :development
|
121
|
+
prerelease: false
|
122
|
+
version_requirements: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
82
125
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
126
|
+
version: 0.13.3
|
127
|
+
- - "<"
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '2'
|
84
130
|
- !ruby/object:Gem::Dependency
|
85
131
|
name: pry
|
86
132
|
requirement: !ruby/object:Gem::Requirement
|
@@ -113,16 +159,22 @@ dependencies:
|
|
113
159
|
name: rake
|
114
160
|
requirement: !ruby/object:Gem::Requirement
|
115
161
|
requirements:
|
116
|
-
- - "
|
162
|
+
- - ">="
|
117
163
|
- !ruby/object:Gem::Version
|
118
164
|
version: '10.0'
|
165
|
+
- - "<"
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '14'
|
119
168
|
type: :development
|
120
169
|
prerelease: false
|
121
170
|
version_requirements: !ruby/object:Gem::Requirement
|
122
171
|
requirements:
|
123
|
-
- - "
|
172
|
+
- - ">="
|
124
173
|
- !ruby/object:Gem::Version
|
125
174
|
version: '10.0'
|
175
|
+
- - "<"
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '14'
|
126
178
|
- !ruby/object:Gem::Dependency
|
127
179
|
name: rspec
|
128
180
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,20 +203,6 @@ dependencies:
|
|
151
203
|
- - ">="
|
152
204
|
- !ruby/object:Gem::Version
|
153
205
|
version: '0'
|
154
|
-
- !ruby/object:Gem::Dependency
|
155
|
-
name: gettext-setup
|
156
|
-
requirement: !ruby/object:Gem::Requirement
|
157
|
-
requirements:
|
158
|
-
- - "~>"
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
version: '0.29'
|
161
|
-
type: :development
|
162
|
-
prerelease: false
|
163
|
-
version_requirements: !ruby/object:Gem::Requirement
|
164
|
-
requirements:
|
165
|
-
- - "~>"
|
166
|
-
- !ruby/object:Gem::Version
|
167
|
-
version: '0.29'
|
168
206
|
description: Contains rake tasks and a standard spec_helper for running spec tests
|
169
207
|
on puppet modules.
|
170
208
|
email:
|
@@ -173,14 +211,18 @@ executables: []
|
|
173
211
|
extensions: []
|
174
212
|
extra_rdoc_files: []
|
175
213
|
files:
|
214
|
+
- ".github/dependabot.yml"
|
176
215
|
- ".gitignore"
|
177
216
|
- ".noexec.yaml"
|
178
217
|
- ".rspec"
|
179
218
|
- ".rubocop.yml"
|
219
|
+
- ".rubocop_todo.yml"
|
180
220
|
- ".travis.yml"
|
181
221
|
- CHANGELOG.md
|
222
|
+
- CODEOWNERS
|
182
223
|
- CONTRIBUTING.md
|
183
224
|
- Gemfile
|
225
|
+
- HISTORY.md
|
184
226
|
- LICENSE
|
185
227
|
- README.md
|
186
228
|
- Rakefile
|
@@ -192,14 +234,17 @@ files:
|
|
192
234
|
- lib/puppetlabs_spec_helper/puppetlabs_spec/puppet_internals.rb
|
193
235
|
- lib/puppetlabs_spec_helper/puppetlabs_spec_helper.rb
|
194
236
|
- lib/puppetlabs_spec_helper/rake_tasks.rb
|
237
|
+
- lib/puppetlabs_spec_helper/tasks/check_symlinks.rb
|
238
|
+
- lib/puppetlabs_spec_helper/tasks/fixtures.rb
|
195
239
|
- lib/puppetlabs_spec_helper/version.rb
|
196
240
|
- puppet_spec_helper.rb
|
197
241
|
- puppetlabs_spec_helper.gemspec
|
198
242
|
- puppetlabs_spec_helper.rb
|
199
243
|
homepage: http://github.com/puppetlabs/puppetlabs_spec_helper
|
200
|
-
licenses:
|
244
|
+
licenses:
|
245
|
+
- Apache-2.0
|
201
246
|
metadata: {}
|
202
|
-
post_install_message:
|
247
|
+
post_install_message:
|
203
248
|
rdoc_options: []
|
204
249
|
require_paths:
|
205
250
|
- lib
|
@@ -207,16 +252,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
207
252
|
requirements:
|
208
253
|
- - ">="
|
209
254
|
- !ruby/object:Gem::Version
|
210
|
-
version: '
|
255
|
+
version: '2.4'
|
211
256
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
257
|
requirements:
|
213
258
|
- - ">="
|
214
259
|
- !ruby/object:Gem::Version
|
215
260
|
version: '0'
|
216
261
|
requirements: []
|
217
|
-
|
218
|
-
|
219
|
-
signing_key:
|
262
|
+
rubygems_version: 3.1.6
|
263
|
+
signing_key:
|
220
264
|
specification_version: 4
|
221
265
|
summary: Standard tasks and configuration for module spec tests.
|
222
266
|
test_files: []
|