voxpupuli-test 5.7.0 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ed0fad470e31284805b25d230978285df868d43b2277431f2c99d0e0f4a96bc
4
- data.tar.gz: 2fdfcbd04079e81d5fa01db6ba99464a02c919b43c6234114e9be1de04f53446
3
+ metadata.gz: cc285a4457ed54e1a6ddeed3aa5c7f94e7bfbd60058cdd07e2cd68cb2708c4a1
4
+ data.tar.gz: 0101673ccfd068f5f26e3c622a5fa6752363c17c476cbbeea86b7b288212ff7f
5
5
  SHA512:
6
- metadata.gz: 0bd07f289f7dc3697c3de48500c8c265867d55609ebb04c97af2001ccda53cc540a0673fb9a9f1cd42e8461866df6e7c9116efbfab45ae3126bd758cc38b8f1d
7
- data.tar.gz: 27a3c794f8d0d1d501b5f964dac0d6442d15599bb53a6e8385c488840390e47ba6205e803a7c93e85bfc7bd9b888297ae9a3f1e857a251f69e61d5e580552f80
6
+ metadata.gz: d928154758a59b3e2145dfb99f5fc349ec044f49245beb2d6e961d2703c009192d2afdfe2bd9df8b4c9a4bbfc50f78500e85c1f311ae56fa2285c9ef172ffa35
7
+ data.tar.gz: a81e76e24eed9241266915601e232ce6a926fc09881b4aeea1d8acc2b91b4e52b77d6e11318c5f34deb5c067152339e9df6324b4b7bf89c5899fa4f0f5462cfc
@@ -17,6 +17,10 @@ RSpec.configure do |config|
17
17
  # and 7.12+ and requires rspec-puppet 2.11.0+.
18
18
  config.facter_implementation = 'rspec'
19
19
 
20
+ # always mock trusted/server side facts
21
+ config.trusted_node_data = true
22
+ config.trusted_server_facts = true
23
+
20
24
  config.after(:suite) do
21
25
  RSpec::Puppet::Coverage.report!
22
26
  end
data/rubocop.yml CHANGED
@@ -1,10 +1,15 @@
1
1
  # This is a shared config for easy consumption in other modules, without having
2
2
  # to sync over a large file
3
- require: rubocop-rspec
3
+ require:
4
+ - rubocop-rspec
5
+ - rubocop-rake
4
6
 
5
7
  AllCops:
6
- # Puppet agent 6 ships with ruby 2.5. Puppetserver 6 uses JRuby 9.2.x (Ruby 2.5 compatible) since version 6.1.0.
7
- TargetRubyVersion: 2.5
8
+ # Puppetserver 7 uses Jruby 9.3 which is compatible to C Ruby 2.6
9
+ TargetRubyVersion: 2.6
10
+ DisplayCopNames: true
11
+ ExtraDetails: true
12
+ DisplayStyleGuide: true
8
13
  Include:
9
14
  - '**/*.rb'
10
15
  Exclude:
@@ -17,6 +22,7 @@ AllCops:
17
22
  - Rakefile
18
23
  - Guardfile
19
24
  - Vagrantfile
25
+ NewCops: enable
20
26
 
21
27
  Layout/ConditionPosition:
22
28
  Enabled: True
@@ -564,8 +570,6 @@ Naming/MethodParameterName:
564
570
  AllowedNames: ['at', 'by', 'to', 'db', 'id', 'in', 'io', 'ip', 'of', 'on', 'os', 'pp', 'is']
565
571
 
566
572
  # New cops available after rubocop upgrade
567
- Gemspec/DateAssignment: # (new in 1.10)
568
- Enabled: true
569
573
  Lint/AmbiguousAssignment: # (new in 1.7)
570
574
  Enabled: true
571
575
  Lint/DeprecatedConstants: # (new in 1.8)
@@ -662,3 +666,6 @@ RSpec/Rails/AvoidSetupHook: # new in 2.4
662
666
  Enabled: true
663
667
  RSpec/ImplicitSubject:
664
668
  Enabled: false
669
+ # new configurations since rubocop 1.50.0
670
+ RSpec/NoExpectationExample:
671
+ Enabled: false
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voxpupuli-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.7.0
4
+ version: 7.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-28 00:00:00.000000000 Z
11
+ date: 2023-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '13.0'
17
20
  - - ">="
18
21
  - !ruby/object:Gem::Version
19
- version: '0'
22
+ version: 13.0.6
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '13.0'
24
30
  - - ">="
25
31
  - !ruby/object:Gem::Version
26
- version: '0'
32
+ version: 13.0.6
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: facterdb
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -31,6 +37,9 @@ dependencies:
31
37
  - - ">="
32
38
  - !ruby/object:Gem::Version
33
39
  version: 1.4.0
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '2'
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -38,144 +47,153 @@ dependencies:
38
47
  - - ">="
39
48
  - !ruby/object:Gem::Version
40
49
  version: 1.4.0
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '2'
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: metadata-json-lint
43
55
  requirement: !ruby/object:Gem::Requirement
44
56
  requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '3.0'
45
60
  - - ">="
46
61
  - !ruby/object:Gem::Version
47
- version: 3.0.1
62
+ version: 3.0.3
48
63
  type: :runtime
49
64
  prerelease: false
50
65
  version_requirements: !ruby/object:Gem::Requirement
51
66
  requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.0'
52
70
  - - ">="
53
71
  - !ruby/object:Gem::Version
54
- version: 3.0.1
72
+ version: 3.0.3
55
73
  - !ruby/object:Gem::Dependency
56
74
  name: parallel_tests
57
75
  requirement: !ruby/object:Gem::Requirement
58
76
  requirements:
59
- - - ">="
77
+ - - "~>"
60
78
  - !ruby/object:Gem::Version
61
- version: '0'
79
+ version: '4.2'
62
80
  type: :runtime
63
81
  prerelease: false
64
82
  version_requirements: !ruby/object:Gem::Requirement
65
83
  requirements:
66
- - - ">="
84
+ - - "~>"
67
85
  - !ruby/object:Gem::Version
68
- version: '0'
86
+ version: '4.2'
69
87
  - !ruby/object:Gem::Dependency
70
88
  name: puppetlabs_spec_helper
71
89
  requirement: !ruby/object:Gem::Requirement
72
90
  requirements:
91
+ - - "~>"
92
+ - !ruby/object:Gem::Version
93
+ version: '6.0'
73
94
  - - ">="
74
95
  - !ruby/object:Gem::Version
75
- version: 5.0.3
96
+ version: 6.0.1
76
97
  type: :runtime
77
98
  prerelease: false
78
99
  version_requirements: !ruby/object:Gem::Requirement
79
100
  requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '6.0'
80
104
  - - ">="
81
105
  - !ruby/object:Gem::Version
82
- version: 5.0.3
106
+ version: 6.0.1
83
107
  - !ruby/object:Gem::Dependency
84
108
  name: puppet-strings
85
109
  requirement: !ruby/object:Gem::Requirement
86
110
  requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '2.9'
90
- - - "<"
111
+ - - "~>"
91
112
  - !ruby/object:Gem::Version
92
- version: '4'
113
+ version: '4.0'
93
114
  type: :runtime
94
115
  prerelease: false
95
116
  version_requirements: !ruby/object:Gem::Requirement
96
117
  requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- version: '2.9'
100
- - - "<"
118
+ - - "~>"
101
119
  - !ruby/object:Gem::Version
102
- version: '4'
120
+ version: '4.0'
103
121
  - !ruby/object:Gem::Dependency
104
122
  name: rspec-puppet
105
123
  requirement: !ruby/object:Gem::Requirement
106
124
  requirements:
107
- - - ">="
125
+ - - "~>"
108
126
  - !ruby/object:Gem::Version
109
- version: 2.11.0
127
+ version: '3.0'
110
128
  type: :runtime
111
129
  prerelease: false
112
130
  version_requirements: !ruby/object:Gem::Requirement
113
131
  requirements:
114
- - - ">="
132
+ - - "~>"
115
133
  - !ruby/object:Gem::Version
116
- version: 2.11.0
134
+ version: '3.0'
117
135
  - !ruby/object:Gem::Dependency
118
136
  name: rspec-puppet-facts
119
137
  requirement: !ruby/object:Gem::Requirement
120
138
  requirements:
121
- - - ">="
139
+ - - "~>"
122
140
  - !ruby/object:Gem::Version
123
- version: 2.0.1
124
- - - "<"
141
+ version: '2.0'
142
+ - - ">="
125
143
  - !ruby/object:Gem::Version
126
- version: '3'
144
+ version: 2.0.5
127
145
  type: :runtime
128
146
  prerelease: false
129
147
  version_requirements: !ruby/object:Gem::Requirement
130
148
  requirements:
131
- - - ">="
149
+ - - "~>"
132
150
  - !ruby/object:Gem::Version
133
- version: 2.0.1
134
- - - "<"
151
+ version: '2.0'
152
+ - - ">="
135
153
  - !ruby/object:Gem::Version
136
- version: '3'
154
+ version: 2.0.5
137
155
  - !ruby/object:Gem::Dependency
138
156
  name: rspec-puppet-utils
139
157
  requirement: !ruby/object:Gem::Requirement
140
158
  requirements:
141
- - - ">="
159
+ - - "~>"
142
160
  - !ruby/object:Gem::Version
143
- version: 1.9.5
161
+ version: '3.4'
144
162
  type: :runtime
145
163
  prerelease: false
146
164
  version_requirements: !ruby/object:Gem::Requirement
147
165
  requirements:
148
- - - ">="
166
+ - - "~>"
149
167
  - !ruby/object:Gem::Version
150
- version: 1.9.5
168
+ version: '3.4'
151
169
  - !ruby/object:Gem::Dependency
152
170
  name: rubocop
153
171
  requirement: !ruby/object:Gem::Requirement
154
172
  requirements:
155
173
  - - "~>"
156
174
  - !ruby/object:Gem::Version
157
- version: 1.22.3
175
+ version: 1.50.0
158
176
  type: :runtime
159
177
  prerelease: false
160
178
  version_requirements: !ruby/object:Gem::Requirement
161
179
  requirements:
162
180
  - - "~>"
163
181
  - !ruby/object:Gem::Version
164
- version: 1.22.3
182
+ version: 1.50.0
165
183
  - !ruby/object:Gem::Dependency
166
184
  name: rubocop-rspec
167
185
  requirement: !ruby/object:Gem::Requirement
168
186
  requirements:
169
187
  - - "~>"
170
188
  - !ruby/object:Gem::Version
171
- version: '2.5'
189
+ version: 2.20.0
172
190
  type: :runtime
173
191
  prerelease: false
174
192
  version_requirements: !ruby/object:Gem::Requirement
175
193
  requirements:
176
194
  - - "~>"
177
195
  - !ruby/object:Gem::Version
178
- version: '2.5'
196
+ version: 2.20.0
179
197
  - !ruby/object:Gem::Dependency
180
198
  name: rubocop-rake
181
199
  requirement: !ruby/object:Gem::Requirement
@@ -196,28 +214,28 @@ dependencies:
196
214
  requirements:
197
215
  - - "~>"
198
216
  - !ruby/object:Gem::Version
199
- version: '4.0'
217
+ version: '5.0'
200
218
  type: :runtime
201
219
  prerelease: false
202
220
  version_requirements: !ruby/object:Gem::Requirement
203
221
  requirements:
204
222
  - - "~>"
205
223
  - !ruby/object:Gem::Version
206
- version: '4.0'
224
+ version: '5.0'
207
225
  - !ruby/object:Gem::Dependency
208
226
  name: rspec
209
227
  requirement: !ruby/object:Gem::Requirement
210
228
  requirements:
211
- - - ">="
229
+ - - "~>"
212
230
  - !ruby/object:Gem::Version
213
- version: '0'
231
+ version: '3.12'
214
232
  type: :development
215
233
  prerelease: false
216
234
  version_requirements: !ruby/object:Gem::Requirement
217
235
  requirements:
218
- - - ">="
236
+ - - "~>"
219
237
  - !ruby/object:Gem::Version
220
- version: '0'
238
+ version: '3.12'
221
239
  description: A package that depends on all the gems Vox Pupuli modules need and methods
222
240
  to simplify spec helpers
223
241
  email:
@@ -243,7 +261,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
243
261
  requirements:
244
262
  - - ">="
245
263
  - !ruby/object:Gem::Version
246
- version: 2.5.0
264
+ version: 2.7.0
247
265
  required_rubygems_version: !ruby/object:Gem::Requirement
248
266
  requirements:
249
267
  - - ">="