voxpupuli-test 9.0.0 → 9.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +40 -1
- 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: de5c4c45c655748d32946dd4996b350123da84b4de37dcbdefad71d073a99f1e
|
4
|
+
data.tar.gz: 4688827b9faa18c63744ec5949051578e34e71496ca5e79cbf537231456bd425
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4812da35ffe384f2bf4a1914d26337be1a49bf0912a67d8170d1643783cb303bdef7016f66b3cb7631820aeebdd07d0d52dddac14b017b7ac62af1887dfc325b
|
7
|
+
data.tar.gz: 80cadbb87158f50124cde42336209ae013ffdc0d2862314a297c28b97c03395ccdfb6a24def7d85cf74ddb86773eb9b769419e49fe8b75323aa31234ed6e8501
|
data/README.md
CHANGED
@@ -7,7 +7,9 @@
|
|
7
7
|
[![RubyGem Version](https://img.shields.io/gem/v/voxpupuli-test.svg)](https://rubygems.org/gems/voxpupuli-test)
|
8
8
|
[![RubyGem Downloads](https://img.shields.io/gem/dt/voxpupuli-test.svg)](https://rubygems.org/gems/voxpupuli-test)
|
9
9
|
|
10
|
-
This is a helper Gem to test the various Vox Pupuli Puppet modules.
|
10
|
+
This is a helper Gem to test the various Vox Pupuli Puppet modules.
|
11
|
+
This Gem provides common functionality for rspec-puppet based testing and static code analysis.
|
12
|
+
The aim is to reduce the boiler plate and need for modulesync.
|
11
13
|
|
12
14
|
## Usage
|
13
15
|
|
@@ -36,6 +38,43 @@ inherit_gem:
|
|
36
38
|
voxpupuli-test: rubocop.yml
|
37
39
|
```
|
38
40
|
|
41
|
+
To run the linter, the syntax checker and the unit tests:
|
42
|
+
|
43
|
+
```sh
|
44
|
+
bundle exec rake test
|
45
|
+
```
|
46
|
+
|
47
|
+
To run your all the unit tests:
|
48
|
+
|
49
|
+
```sh
|
50
|
+
bundle exec rake spec
|
51
|
+
```
|
52
|
+
|
53
|
+
To run a specific spec test set the `SPEC` variable:
|
54
|
+
|
55
|
+
```sh
|
56
|
+
SPEC=spec/classes/foo_spec.rb bundle exec rake spec
|
57
|
+
```
|
58
|
+
|
59
|
+
To run all the static code analysis and linting:
|
60
|
+
|
61
|
+
```sh
|
62
|
+
bundle exec rake validate lint check rubocop
|
63
|
+
```
|
64
|
+
|
65
|
+
|
66
|
+
To autocorrect Puppet files:
|
67
|
+
|
68
|
+
```sh
|
69
|
+
bundle exec rake lint_fix
|
70
|
+
```
|
71
|
+
|
72
|
+
To autocorrect Ruby files:
|
73
|
+
|
74
|
+
```sh
|
75
|
+
bundle exec rake rubocop:autocorrect
|
76
|
+
```
|
77
|
+
|
39
78
|
## Rake tasks
|
40
79
|
|
41
80
|
### `check:trailing_whitespace`
|
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: 9.
|
4
|
+
version: 9.1.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: 2024-
|
11
|
+
date: 2024-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -106,14 +106,14 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
109
|
+
version: '5.0'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
116
|
+
version: '5.0'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: rspec-puppet-facts
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|