voxpupuli-test 6.0.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: 6d5b93d645e0c342ac84c9ba3b591072d18c07c00138712da681358f92cf230f
4
- data.tar.gz: 922e9c7618a2178f8cab03df2351d156d9f7d0e302679d4d549e8a3d2d721c30
3
+ metadata.gz: cc285a4457ed54e1a6ddeed3aa5c7f94e7bfbd60058cdd07e2cd68cb2708c4a1
4
+ data.tar.gz: 0101673ccfd068f5f26e3c622a5fa6752363c17c476cbbeea86b7b288212ff7f
5
5
  SHA512:
6
- metadata.gz: 7924bf502b56fcc95356c290e3b30d1def3ad77aec175ed1af0e6fd63a1bb9b5f20eb596edcee55518e37411960ec5908e1a65e4f3503d0b99884ef643d15b75
7
- data.tar.gz: bdd50950eb55fc25beb000f2a933b36bbfa5e98fa0db969764f1956b0b46e9140ab761c55652b609d2c0f5bc0c21eaa23a33e921caa17efeabd3d2a16597ce07
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voxpupuli-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.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-05-05 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
@@ -172,28 +172,28 @@ dependencies:
172
172
  requirements:
173
173
  - - "~>"
174
174
  - !ruby/object:Gem::Version
175
- version: 1.22.3
175
+ version: 1.50.0
176
176
  type: :runtime
177
177
  prerelease: false
178
178
  version_requirements: !ruby/object:Gem::Requirement
179
179
  requirements:
180
180
  - - "~>"
181
181
  - !ruby/object:Gem::Version
182
- version: 1.22.3
182
+ version: 1.50.0
183
183
  - !ruby/object:Gem::Dependency
184
184
  name: rubocop-rspec
185
185
  requirement: !ruby/object:Gem::Requirement
186
186
  requirements:
187
187
  - - "~>"
188
188
  - !ruby/object:Gem::Version
189
- version: '2.5'
189
+ version: 2.20.0
190
190
  type: :runtime
191
191
  prerelease: false
192
192
  version_requirements: !ruby/object:Gem::Requirement
193
193
  requirements:
194
194
  - - "~>"
195
195
  - !ruby/object:Gem::Version
196
- version: '2.5'
196
+ version: 2.20.0
197
197
  - !ruby/object:Gem::Dependency
198
198
  name: rubocop-rake
199
199
  requirement: !ruby/object:Gem::Requirement