onceover 3.15.0 → 3.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +72 -82
  4. data/.travis.yml +3 -8
  5. data/Gemfile +9 -2
  6. data/README.md +66 -3
  7. data/bin/onceover +3 -3
  8. data/factsets/Ubuntu-18.04-64.json +556 -0
  9. data/features/step_definitions/common.rb +12 -1
  10. data/features/windows.feature +30 -0
  11. data/features/{run.feature → zzz_run.feature} +5 -0
  12. data/lib/onceover/beaker.rb +6 -0
  13. data/lib/onceover/cli.rb +1 -1
  14. data/lib/onceover/cli/init.rb +1 -1
  15. data/lib/onceover/cli/run.rb +4 -3
  16. data/lib/onceover/cli/show.rb +3 -3
  17. data/lib/onceover/cli/update.rb +2 -2
  18. data/lib/onceover/controlrepo.rb +10 -6
  19. data/lib/onceover/deploy.rb +3 -1
  20. data/lib/onceover/group.rb +1 -1
  21. data/lib/onceover/logger.rb +2 -1
  22. data/lib/onceover/rake_tasks.rb +2 -1
  23. data/lib/onceover/rspec/formatters.rb +17 -5
  24. data/lib/onceover/runner.rb +17 -5
  25. data/lib/onceover/testconfig.rb +24 -14
  26. data/onceover.gemspec +13 -17
  27. data/spec/fixtures/controlrepos/caching/spec/r10k.yaml +3 -0
  28. data/spec/fixtures/controlrepos/windows/Gemfile +3 -0
  29. data/spec/fixtures/controlrepos/windows/Puppetfile +3 -0
  30. data/spec/fixtures/controlrepos/windows/environment.conf +1 -0
  31. data/spec/fixtures/controlrepos/windows/site-modules/role/manifests/acl.pp +12 -0
  32. data/spec/fixtures/controlrepos/windows/site-modules/role/manifests/groups.pp +8 -0
  33. data/spec/fixtures/controlrepos/windows/site-modules/role/manifests/users.pp +9 -0
  34. data/spec/fixtures/controlrepos/windows/site/role/manifests/groups.pp +8 -0
  35. data/spec/fixtures/controlrepos/windows/site/role/manifests/users.pp +9 -0
  36. data/spec/fixtures/controlrepos/windows/spec/onceover.yaml +24 -0
  37. data/templates/test_spec.rb.erb +60 -0
  38. metadata +81 -110
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "onceover"
7
- s.version = "3.15.0"
7
+ s.version = "3.17.1"
8
8
  s.authors = ["Dylan Ratcliffe"]
9
9
  s.email = ["dylan.ratcliffe@puppet.com"]
10
10
  s.homepage = "https://github.com/dylanratcliffe/onceover"
@@ -18,27 +18,23 @@ Gem::Specification.new do |s|
18
18
  s.executables = 'onceover'
19
19
 
20
20
  # Runtime dependencies, but also probably dependencies of requiring projects
21
- s.add_runtime_dependency 'rake', '>= 10.0.0'
22
- s.add_runtime_dependency 'multi_json', '~> 1.10'
23
21
  s.add_runtime_dependency 'backticks', '>= 1.0.2'
24
- s.add_runtime_dependency 'rspec-puppet', ">= 2.4.0"
22
+ s.add_runtime_dependency 'colored', '~> 1.2'
23
+ s.add_runtime_dependency 'cri', '>= 2.6'
24
+ s.add_runtime_dependency 'deep_merge', '>= 1.0.0'
25
+ s.add_runtime_dependency 'facter', '< 4.0.0'
26
+ s.add_runtime_dependency 'git'
27
+ s.add_runtime_dependency 'logging', '>= 2.0.0'
28
+ s.add_runtime_dependency 'multi_json', '~> 1.10'
25
29
  s.add_runtime_dependency 'parallel_tests', ">= 2.0.0"
30
+ s.add_runtime_dependency 'puppet', '>=4.0'
26
31
  s.add_runtime_dependency 'puppetlabs_spec_helper', ">= 0.4.0"
27
- s.add_runtime_dependency 'rspec', '>= 3.0.0'
28
32
  s.add_runtime_dependency 'r10k', '>=2.1.0'
29
- s.add_runtime_dependency 'puppet', '>=3.4.0'
30
- s.add_runtime_dependency 'git'
31
- s.add_runtime_dependency 'cri', '>= 2.6'
32
- s.add_runtime_dependency 'colored', '~> 1.2'
33
- s.add_runtime_dependency 'logging', '>= 2.0.0'
34
- s.add_runtime_dependency 'deep_merge', '>= 1.0.0'
33
+ s.add_runtime_dependency 'rake', '>= 10.0.0'
34
+ s.add_runtime_dependency 'rspec', '>= 3.0.0'
35
+ s.add_runtime_dependency 'rspec-puppet', ">= 2.4.0"
36
+ s.add_runtime_dependency 'rspec_junit_formatter', '>= 0.2.0'
35
37
  s.add_runtime_dependency 'table_print', '>= 1.0.0'
36
38
  s.add_runtime_dependency 'versionomy', '>= 0.5.0'
37
- s.add_runtime_dependency 'rspec_junit_formatter', '>= 0.2.0'
38
39
 
39
- # Development
40
- s.add_development_dependency 'rubocop', '~> 0.49.0'
41
- s.add_development_dependency 'rubygems-tasks', '~> 0.2.0'
42
- s.add_development_dependency 'pry', '~> 0.10.0'
43
- s.add_development_dependency 'cucumber', '~> 2.0'
44
40
  end
@@ -0,0 +1,3 @@
1
+ ---
2
+ # Just for testing
3
+ pool_size: 10
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'onceover'
@@ -0,0 +1,3 @@
1
+ forge "http://forge.puppetlabs.com"
2
+
3
+ mod 'puppetlabs-acl', '3.1.1'
@@ -0,0 +1 @@
1
+ modulepath = site-modules:modules:$basemodulepath
@@ -0,0 +1,12 @@
1
+ class role::acl {
2
+ # ACL often causes failures such as this:
3
+ # https://github.com/rodjek/rspec-puppet/issues/665
4
+ #
5
+ # Onceover should handle this out of the box
6
+ acl { 'L:\\SQLBackup':
7
+ inherit_parent_permissions => false,
8
+ permissions => [
9
+ { 'identity' => 'foo', 'rights' => ['read'] }
10
+ ],
11
+ }
12
+ }
@@ -0,0 +1,8 @@
1
+ # Class: role::groups
2
+ #
3
+ #
4
+ class role::groups {
5
+ group {'Administrators':
6
+ members => ['foo'],
7
+ }
8
+ }
@@ -0,0 +1,9 @@
1
+ # Class: role::users
2
+ #
3
+ #
4
+ class role::users {
5
+ user { 'dylan':
6
+ ensure => 'present',
7
+ groups => ['Administrators'],
8
+ }
9
+ }
@@ -0,0 +1,8 @@
1
+ # Class: role::groups
2
+ #
3
+ #
4
+ class role::groups {
5
+ group {'Administrators':
6
+ members => ['foo'],
7
+ }
8
+ }
@@ -0,0 +1,9 @@
1
+ # Class: role::users
2
+ #
3
+ #
4
+ class role::users {
5
+ user { 'dylan':
6
+ ensure => 'present',
7
+ groups => ['Administrators'],
8
+ }
9
+ }
@@ -0,0 +1,24 @@
1
+ # Classes to be tested
2
+ classes:
3
+ - /role::/
4
+
5
+ # Nodes to tests classes on, this refers to a 'factset' or 'nodeset'
6
+ # depending on whether you are running 'spec' or 'acceptance' tests
7
+ nodes:
8
+ - Windows_Server-2012r2-64
9
+ - windows-10-64
10
+ - Windows_Server-2008r2-64
11
+
12
+ # You can group classes here to save typing
13
+ class_groups:
14
+
15
+ # You can group nodes here to save typing
16
+ # We have created a 'non_windows_nodes' group because we can't
17
+ # give you Windows vagrant boxes to test with because licensing,
18
+ # we can give you fact sets though so go crazy with spec testing!
19
+ node_groups:
20
+
21
+ test_matrix:
22
+ - all_nodes:
23
+ classes: "all_classes"
24
+ tests: "spec"
@@ -29,6 +29,7 @@ describe "<%= cls.name %>" do
29
29
  end
30
30
  <% end -%>
31
31
 
32
+ <% unless opts[:no_workarounds] -%>
32
33
  before :each do
33
34
  # Curtrently there is some code within Puppet that will try to execute
34
35
  # commands when compiling a catalog even though it shouldn't. One example is
@@ -41,7 +42,66 @@ describe "<%= cls.name %>" do
41
42
  unless File.exist? expected_null_file
42
43
  allow(Puppet::Util::Execution).to receive(:execute).and_raise(Puppet::ExecutionFailure.new("Onceover caused this"))
43
44
  end
45
+
46
+ # The windows ACL module causes issues when compiled on other platforms
47
+ # These are detailed in the following ticket:
48
+ # https://github.com/rodjek/rspec-puppet/issues/665
49
+ #
50
+ # The below should work around this common issue
51
+ if Puppet::Type.type(:acl)
52
+ allow_any_instance_of(Puppet::Type.type(:acl).provider(:windows)).to receive(:validate)
53
+ allow_any_instance_of(Puppet::Type.type(:acl).provider(:windows)).to receive(:respond_to?).with(:get_account_name).and_return(false)
54
+ allow_any_instance_of(Puppet::Type.type(:acl).provider(:windows)).to receive(:respond_to?).with(:get_group_name).and_return(false)
55
+ allow_any_instance_of(Puppet::Type.type(:acl).provider(:windows)).to receive(:respond_to?).with(:validate).and_return(true)
56
+ end
57
+
58
+ # The windows_adsi provider also has an issue where the contructor takes
59
+ # a different number of arguments depending on whether the ADSI
60
+ # underlying connectivity exists. This causes the following error:
61
+ #
62
+ # wrong number of arguments (given 1, expected 0)
63
+ #
64
+ # This fixes that if we aren't using Windows
65
+ begin
66
+ # Test to see if this works without modification
67
+ require 'puppet/util/windows'
68
+ require 'puppet/util/windows/adsi'
69
+ Puppet::Util::Windows::ADSI.computer_name
70
+ rescue LoadError, StandardError
71
+ # Declare an entire mocked module because for some reason we can't load it unless we are on Windows
72
+ module Puppet::Util::Windows
73
+ module ADSI
74
+ class ADSIObject; end
75
+ class User < ADSIObject; end
76
+ class UserProfile; end
77
+ class Group < ADSIObject; end
78
+ end
79
+ module File; end
80
+ module Registry
81
+ end
82
+ module SID
83
+ class Principal; end
84
+ end
85
+ class EventLog; end
86
+ end
87
+
88
+ # Mock commonly used things
89
+ allow(Puppet::Util::Windows::SID).to receive(:name_to_sid).and_return('S-1-5-32-544')
90
+ allow(Puppet::Util::Windows::SID).to receive(:name_to_principal).and_return(nil)
91
+
92
+ allow_any_instance_of(Puppet::Util::Windows::ADSI::User).to receive(:initialize)
93
+ allow_any_instance_of(Puppet::Util::Windows::ADSI::User).to receive(:groups).and_return([])
94
+ allow_any_instance_of(Puppet::Util::Windows::ADSI::User).to receive(:name_sid_hash).and_return({})
95
+
96
+ # Group instance methods
97
+ allow_any_instance_of(Puppet::Util::Windows::ADSI::Group).to receive(:members).and_return([])
98
+ allow_any_instance_of(Puppet::Util::Windows::ADSI::Group).to receive(:members_sids).and_return([])
99
+
100
+ # Class methods
101
+ allow(Puppet::Util::Windows::ADSI::Group).to receive(:name_sid_hash).and_return({})
102
+ end
44
103
  end
104
+ <% end -%>
45
105
 
46
106
  <% if @after_conditions -%>
47
107
  after :each do
metadata CHANGED
@@ -1,239 +1,225 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onceover
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.15.0
4
+ version: 3.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Ratcliffe
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-19 00:00:00.000000000 Z
11
+ date: 2020-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rake
14
+ name: backticks
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 10.0.0
19
+ version: 1.0.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 10.0.0
26
+ version: 1.0.2
27
27
  - !ruby/object:Gem::Dependency
28
- name: multi_json
28
+ name: colored
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.10'
33
+ version: '1.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.10'
40
+ version: '1.2'
41
41
  - !ruby/object:Gem::Dependency
42
- name: backticks
42
+ name: cri
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 1.0.2
47
+ version: '2.6'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 1.0.2
54
+ version: '2.6'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rspec-puppet
56
+ name: deep_merge
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 2.4.0
61
+ version: 1.0.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 2.4.0
68
+ version: 1.0.0
69
69
  - !ruby/object:Gem::Dependency
70
- name: parallel_tests
70
+ name: facter
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "<"
74
74
  - !ruby/object:Gem::Version
75
- version: 2.0.0
75
+ version: 4.0.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "<"
81
81
  - !ruby/object:Gem::Version
82
- version: 2.0.0
82
+ version: 4.0.0
83
83
  - !ruby/object:Gem::Dependency
84
- name: puppetlabs_spec_helper
84
+ name: git
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 0.4.0
89
+ version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 0.4.0
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: rspec
98
+ name: logging
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 3.0.0
103
+ version: 2.0.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: 3.0.0
110
+ version: 2.0.0
111
111
  - !ruby/object:Gem::Dependency
112
- name: r10k
112
+ name: multi_json
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 2.1.0
117
+ version: '1.10'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 2.1.0
124
+ version: '1.10'
125
125
  - !ruby/object:Gem::Dependency
126
- name: puppet
126
+ name: parallel_tests
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ">="
130
130
  - !ruby/object:Gem::Version
131
- version: 3.4.0
131
+ version: 2.0.0
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: 3.4.0
138
+ version: 2.0.0
139
139
  - !ruby/object:Gem::Dependency
140
- name: git
140
+ name: puppet
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: '0'
145
+ version: '4.0'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: '0'
152
+ version: '4.0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: cri
154
+ name: puppetlabs_spec_helper
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: '2.6'
159
+ version: 0.4.0
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: '2.6'
167
- - !ruby/object:Gem::Dependency
168
- name: colored
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: '1.2'
174
- type: :runtime
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: '1.2'
166
+ version: 0.4.0
181
167
  - !ruby/object:Gem::Dependency
182
- name: logging
168
+ name: r10k
183
169
  requirement: !ruby/object:Gem::Requirement
184
170
  requirements:
185
171
  - - ">="
186
172
  - !ruby/object:Gem::Version
187
- version: 2.0.0
173
+ version: 2.1.0
188
174
  type: :runtime
189
175
  prerelease: false
190
176
  version_requirements: !ruby/object:Gem::Requirement
191
177
  requirements:
192
178
  - - ">="
193
179
  - !ruby/object:Gem::Version
194
- version: 2.0.0
180
+ version: 2.1.0
195
181
  - !ruby/object:Gem::Dependency
196
- name: deep_merge
182
+ name: rake
197
183
  requirement: !ruby/object:Gem::Requirement
198
184
  requirements:
199
185
  - - ">="
200
186
  - !ruby/object:Gem::Version
201
- version: 1.0.0
187
+ version: 10.0.0
202
188
  type: :runtime
203
189
  prerelease: false
204
190
  version_requirements: !ruby/object:Gem::Requirement
205
191
  requirements:
206
192
  - - ">="
207
193
  - !ruby/object:Gem::Version
208
- version: 1.0.0
194
+ version: 10.0.0
209
195
  - !ruby/object:Gem::Dependency
210
- name: table_print
196
+ name: rspec
211
197
  requirement: !ruby/object:Gem::Requirement
212
198
  requirements:
213
199
  - - ">="
214
200
  - !ruby/object:Gem::Version
215
- version: 1.0.0
201
+ version: 3.0.0
216
202
  type: :runtime
217
203
  prerelease: false
218
204
  version_requirements: !ruby/object:Gem::Requirement
219
205
  requirements:
220
206
  - - ">="
221
207
  - !ruby/object:Gem::Version
222
- version: 1.0.0
208
+ version: 3.0.0
223
209
  - !ruby/object:Gem::Dependency
224
- name: versionomy
210
+ name: rspec-puppet
225
211
  requirement: !ruby/object:Gem::Requirement
226
212
  requirements:
227
213
  - - ">="
228
214
  - !ruby/object:Gem::Version
229
- version: 0.5.0
215
+ version: 2.4.0
230
216
  type: :runtime
231
217
  prerelease: false
232
218
  version_requirements: !ruby/object:Gem::Requirement
233
219
  requirements:
234
220
  - - ">="
235
221
  - !ruby/object:Gem::Version
236
- version: 0.5.0
222
+ version: 2.4.0
237
223
  - !ruby/object:Gem::Dependency
238
224
  name: rspec_junit_formatter
239
225
  requirement: !ruby/object:Gem::Requirement
@@ -249,61 +235,33 @@ dependencies:
249
235
  - !ruby/object:Gem::Version
250
236
  version: 0.2.0
251
237
  - !ruby/object:Gem::Dependency
252
- name: rubocop
253
- requirement: !ruby/object:Gem::Requirement
254
- requirements:
255
- - - "~>"
256
- - !ruby/object:Gem::Version
257
- version: 0.49.0
258
- type: :development
259
- prerelease: false
260
- version_requirements: !ruby/object:Gem::Requirement
261
- requirements:
262
- - - "~>"
263
- - !ruby/object:Gem::Version
264
- version: 0.49.0
265
- - !ruby/object:Gem::Dependency
266
- name: rubygems-tasks
267
- requirement: !ruby/object:Gem::Requirement
268
- requirements:
269
- - - "~>"
270
- - !ruby/object:Gem::Version
271
- version: 0.2.0
272
- type: :development
273
- prerelease: false
274
- version_requirements: !ruby/object:Gem::Requirement
275
- requirements:
276
- - - "~>"
277
- - !ruby/object:Gem::Version
278
- version: 0.2.0
279
- - !ruby/object:Gem::Dependency
280
- name: pry
238
+ name: table_print
281
239
  requirement: !ruby/object:Gem::Requirement
282
240
  requirements:
283
- - - "~>"
241
+ - - ">="
284
242
  - !ruby/object:Gem::Version
285
- version: 0.10.0
286
- type: :development
243
+ version: 1.0.0
244
+ type: :runtime
287
245
  prerelease: false
288
246
  version_requirements: !ruby/object:Gem::Requirement
289
247
  requirements:
290
- - - "~>"
248
+ - - ">="
291
249
  - !ruby/object:Gem::Version
292
- version: 0.10.0
250
+ version: 1.0.0
293
251
  - !ruby/object:Gem::Dependency
294
- name: cucumber
252
+ name: versionomy
295
253
  requirement: !ruby/object:Gem::Requirement
296
254
  requirements:
297
- - - "~>"
255
+ - - ">="
298
256
  - !ruby/object:Gem::Version
299
- version: '2.0'
300
- type: :development
257
+ version: 0.5.0
258
+ type: :runtime
301
259
  prerelease: false
302
260
  version_requirements: !ruby/object:Gem::Requirement
303
261
  requirements:
304
- - - "~>"
262
+ - - ">="
305
263
  - !ruby/object:Gem::Version
306
- version: '2.0'
264
+ version: 0.5.0
307
265
  description: Automatically generates tests for your Puppet code
308
266
  email:
309
267
  - dylan.ratcliffe@puppet.com
@@ -341,6 +299,7 @@ files:
341
299
  - factsets/Ubuntu-12.04-64.json
342
300
  - factsets/Ubuntu-14.04-32.json
343
301
  - factsets/Ubuntu-14.04-64.json
302
+ - factsets/Ubuntu-18.04-64.json
344
303
  - factsets/Windows_Server-2008r2-64.json
345
304
  - factsets/Windows_Server-2012r2-64.json
346
305
  - factsets/solaris-10_u9-sparc-64.json
@@ -351,7 +310,6 @@ files:
351
310
  - features/formatting.feature
352
311
  - features/help.feature
353
312
  - features/init.feature
354
- - features/run.feature
355
313
  - features/show.feature
356
314
  - features/step_definitions/cache.rb
357
315
  - features/step_definitions/common.rb
@@ -362,6 +320,8 @@ files:
362
320
  - features/support/command_helper.rb
363
321
  - features/support/controlrepo_helper.rb
364
322
  - features/support/env.rb
323
+ - features/windows.feature
324
+ - features/zzz_run.feature
365
325
  - lib/onceover/beaker.rb
366
326
  - lib/onceover/beaker/spec_helper.rb
367
327
  - lib/onceover/class.rb
@@ -411,6 +371,7 @@ files:
411
371
  - spec/fixtures/controlrepos/caching/spec/onceover.yaml
412
372
  - spec/fixtures/controlrepos/caching/spec/pre_conditions/README.md
413
373
  - spec/fixtures/controlrepos/caching/spec/pre_conditions/escaping.pp
374
+ - spec/fixtures/controlrepos/caching/spec/r10k.yaml
414
375
  - spec/fixtures/controlrepos/control_branch/Puppetfile
415
376
  - spec/fixtures/controlrepos/control_branch/environment.conf
416
377
  - spec/fixtures/controlrepos/factsets/environment.conf
@@ -429,6 +390,15 @@ files:
429
390
  - spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_new_functions.pp
430
391
  - spec/fixtures/controlrepos/function_mocking/spec/onceover.yaml
431
392
  - spec/fixtures/controlrepos/minimal/environment.conf
393
+ - spec/fixtures/controlrepos/windows/Gemfile
394
+ - spec/fixtures/controlrepos/windows/Puppetfile
395
+ - spec/fixtures/controlrepos/windows/environment.conf
396
+ - spec/fixtures/controlrepos/windows/site-modules/role/manifests/acl.pp
397
+ - spec/fixtures/controlrepos/windows/site-modules/role/manifests/groups.pp
398
+ - spec/fixtures/controlrepos/windows/site-modules/role/manifests/users.pp
399
+ - spec/fixtures/controlrepos/windows/site/role/manifests/groups.pp
400
+ - spec/fixtures/controlrepos/windows/site/role/manifests/users.pp
401
+ - spec/fixtures/controlrepos/windows/spec/onceover.yaml
432
402
  - spec/onceover/controlrepo_spec.rb
433
403
  - spec/spec_helper.rb
434
404
  - templates/.fixtures.yml.erb
@@ -448,7 +418,7 @@ homepage: https://github.com/dylanratcliffe/onceover
448
418
  licenses:
449
419
  - Apache-2.0
450
420
  metadata: {}
451
- post_install_message:
421
+ post_install_message:
452
422
  rdoc_options: []
453
423
  require_paths:
454
424
  - lib
@@ -463,8 +433,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
463
433
  - !ruby/object:Gem::Version
464
434
  version: '0'
465
435
  requirements: []
466
- rubygems_version: 3.0.3
467
- signing_key:
436
+ rubyforge_project:
437
+ rubygems_version: 2.7.6.2
438
+ signing_key:
468
439
  specification_version: 4
469
440
  summary: Testing tools for Puppet controlrepos
470
441
  test_files: []