rspec-puppet-facts 1.9.6 → 2.0.2
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 +8 -0
- data/.github/workflows/release.yml +32 -0
- data/.github/workflows/test.yml +37 -0
- data/.gitignore +1 -0
- data/CHANGELOG.md +48 -0
- data/Gemfile +10 -1
- data/HISTORY.md +209 -0
- data/README.md +126 -23
- data/Rakefile +47 -0
- data/ext/puppet_agent_components.json +1 -0
- data/lib/rspec-puppet-facts.rb +89 -41
- data/lib/rspec-puppet-facts/version.rb +1 -1
- data/rspec-puppet-facts.gemspec +6 -8
- data/spec/rspec_puppet_facts_spec.rb +157 -36
- data/spec/spec_helper.rb +22 -3
- metadata +13 -42
- data/.travis.yml +0 -29
data/spec/spec_helper.rb
CHANGED
@@ -1,6 +1,25 @@
|
|
1
|
-
|
2
|
-
require '
|
3
|
-
|
1
|
+
begin
|
2
|
+
require 'simplecov'
|
3
|
+
require 'simplecov-console'
|
4
|
+
require 'codecov'
|
5
|
+
rescue LoadError
|
6
|
+
else
|
7
|
+
SimpleCov.start do
|
8
|
+
track_files 'lib/**/*.rb'
|
9
|
+
|
10
|
+
add_filter '/spec'
|
11
|
+
|
12
|
+
enable_coverage :branch
|
13
|
+
|
14
|
+
# do not track vendored files
|
15
|
+
add_filter '/vendor'
|
16
|
+
add_filter '/.vendor'
|
17
|
+
end
|
18
|
+
|
19
|
+
SimpleCov.formatters = [
|
20
|
+
SimpleCov::Formatter::Console,
|
21
|
+
SimpleCov::Formatter::Codecov,
|
22
|
+
]
|
4
23
|
end
|
5
24
|
|
6
25
|
require 'rspec'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-puppet-facts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Vox Pupuli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mime-types
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: coveralls
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: rake
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,20 +80,6 @@ dependencies:
|
|
94
80
|
- - ">="
|
95
81
|
- !ruby/object:Gem::Version
|
96
82
|
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: json
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
83
|
- !ruby/object:Gem::Dependency
|
112
84
|
name: facter
|
113
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -138,19 +110,23 @@ dependencies:
|
|
138
110
|
version: 0.5.0
|
139
111
|
description: Contains facts from many Facter version on many Operating Systems
|
140
112
|
email:
|
141
|
-
-
|
113
|
+
- voxpupuli@groups.io
|
142
114
|
executables: []
|
143
115
|
extensions: []
|
144
116
|
extra_rdoc_files: []
|
145
117
|
files:
|
118
|
+
- ".github/dependabot.yml"
|
119
|
+
- ".github/workflows/release.yml"
|
120
|
+
- ".github/workflows/test.yml"
|
146
121
|
- ".gitignore"
|
147
122
|
- ".rspec"
|
148
|
-
- ".travis.yml"
|
149
123
|
- CHANGELOG.md
|
150
124
|
- Gemfile
|
125
|
+
- HISTORY.md
|
151
126
|
- LICENSE
|
152
127
|
- README.md
|
153
128
|
- Rakefile
|
129
|
+
- ext/puppet_agent_components.json
|
154
130
|
- lib/rspec-puppet-facts.rb
|
155
131
|
- lib/rspec-puppet-facts/version.rb
|
156
132
|
- rspec-puppet-facts.gemspec
|
@@ -158,7 +134,7 @@ files:
|
|
158
134
|
- spec/fixtures/metadata.json_with_missing_operatingsystem_support
|
159
135
|
- spec/rspec_puppet_facts_spec.rb
|
160
136
|
- spec/spec_helper.rb
|
161
|
-
homepage: http://github.com/
|
137
|
+
homepage: http://github.com/voxpupuli/rspec-puppet-facts
|
162
138
|
licenses:
|
163
139
|
- Apache-2.0
|
164
140
|
metadata: {}
|
@@ -170,20 +146,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
170
146
|
requirements:
|
171
147
|
- - ">="
|
172
148
|
- !ruby/object:Gem::Version
|
173
|
-
version: 2.
|
149
|
+
version: 2.4.0
|
174
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
151
|
requirements:
|
176
152
|
- - ">="
|
177
153
|
- !ruby/object:Gem::Version
|
178
154
|
version: '0'
|
179
155
|
requirements: []
|
180
|
-
|
181
|
-
rubygems_version: 2.6.14.1
|
156
|
+
rubygems_version: 3.2.22
|
182
157
|
signing_key:
|
183
158
|
specification_version: 4
|
184
159
|
summary: Standard facts fixtures for Puppet
|
185
|
-
test_files:
|
186
|
-
- spec/fixtures/metadata.json
|
187
|
-
- spec/fixtures/metadata.json_with_missing_operatingsystem_support
|
188
|
-
- spec/rspec_puppet_facts_spec.rb
|
189
|
-
- spec/spec_helper.rb
|
160
|
+
test_files: []
|
data/.travis.yml
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
sudo: false
|
3
|
-
cache: bundler
|
4
|
-
script:
|
5
|
-
- bundle exec rake spec
|
6
|
-
- bundle exec rake build
|
7
|
-
rvm:
|
8
|
-
- 2.1
|
9
|
-
- 2.2
|
10
|
-
- 2.3
|
11
|
-
- 2.4
|
12
|
-
- 2.5
|
13
|
-
matrix:
|
14
|
-
fast_finish: true
|
15
|
-
include:
|
16
|
-
- rvm: 2.6
|
17
|
-
env: COVERAGE=true
|
18
|
-
notifications:
|
19
|
-
email: false
|
20
|
-
deploy:
|
21
|
-
provider: rubygems
|
22
|
-
api_key:
|
23
|
-
secure: EGvtHfBYUSjhZjLPGZHHH7Exsu9xyYSNlbI/F9SNRDmY568tBZs1Pw05Pr9dhUXajs3xXPkHQwMEBgNs2Rg2SPc6+dCyvabbNM2U58yj5R5D7+ZdUWC1APgjiDvBhm0N5hihmAnoBKPlmPKMh91OQwKI/8/GOhWAQaIZRnNBzMQ+gwHQ8xIkqt3unxJ/LtRybFDzTF5aMtIHrfE8kV08BLaKUzJptzj7Wt5Ms1zE/2UV1S7DhSvZnxWaWtNZwaQPo9NFhjHr5k3nLIoWi6Ge3khVSukZcAki9cR37Tjeyms5B10hp6jW5c6EgCDQp5VNcD/1LgtTs8fWI6mvTsa3YCyaQdVy2SvhUD88/CohFvLXbGcdkFFzwhPa57aCKazq14fh5epScRzAfGpJojkPcxdc5/fiuZiaPg+jmT/OMFqNjQW1C6m2S+VltlXVCyjT83Ri9J9/AEu708akErhz7XjcspxJL8//KVvS/3o4hjtoef1OXxRN+oh3VGwbEZSiqOmjxr6/AigaYsrWOTdz+OZa4fGYbUb9hMHnq314cjgGUMyzZ9tQN8v4mMZb1ZKZPuqrP6um1Y7WbHQJvwl3sXEUuDN68eyWp103M1nyma6hON4+F+r58kTuoWRmy06ZsaEjz57bFxdnDjB8It8V7pI0bcmfs/q5tMIPw6Gh14w=
|
24
|
-
gem: rspec-puppet-facts
|
25
|
-
on:
|
26
|
-
tags: true
|
27
|
-
repo: mcanevet/rspec-puppet-facts
|
28
|
-
all_branches: true
|
29
|
-
rvm: 2.6
|