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 +4 -4
- data/lib/voxpupuli/test/spec_helper.rb +4 -0
- data/rubocop.yml +12 -5
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc285a4457ed54e1a6ddeed3aa5c7f94e7bfbd60058cdd07e2cd68cb2708c4a1
|
4
|
+
data.tar.gz: 0101673ccfd068f5f26e3c622a5fa6752363c17c476cbbeea86b7b288212ff7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
3
|
+
require:
|
4
|
+
- rubocop-rspec
|
5
|
+
- rubocop-rake
|
4
6
|
|
5
7
|
AllCops:
|
6
|
-
#
|
7
|
-
TargetRubyVersion: 2.
|
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:
|
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-
|
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.
|
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.
|
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:
|
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:
|
196
|
+
version: 2.20.0
|
197
197
|
- !ruby/object:Gem::Dependency
|
198
198
|
name: rubocop-rake
|
199
199
|
requirement: !ruby/object:Gem::Requirement
|