beaker-rspec 8.0.0 → 8.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +1 -1
- data/.github/workflows/test.yml +1 -1
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +21 -0
- data/Gemfile +2 -1
- data/README.md +2 -2
- data/Rakefile +2 -9
- data/beaker-rspec.gemspec +2 -12
- data/lib/beaker-rspec/spec_helper.rb +1 -1
- data/lib/beaker-rspec/version.rb +1 -1
- metadata +8 -92
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: baa473925f13a9aaf3a8798494f6d1f4265914412077017e4f5af95f134c68eb
|
4
|
+
data.tar.gz: f268cc99394abe1874426b4ea2ff6140384c3a3aa5dcd2a1719cbdbf148f7f44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '004909731c8373146773879cf7e57412547ffa04a2b6a2722c8d139f02cbfb45fbfda4a7dfa9b63eb263a8d006d2d328154c62fc0a8595e6a2501a44cdb79ccd'
|
7
|
+
data.tar.gz: 45acad2d91b9185f109693ea538843ec27f475b732f84177a301f2270012ee2e91bab477ce6fcd905a5977a3286100502f978927d21b6242e5e265b9cadbb36f
|
data/.github/workflows/test.yml
CHANGED
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,27 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [8.1.0](https://github.com/voxpupuli/beaker-rspec/tree/8.1.0) (2023-07-11)
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-rspec/compare/8.0.1...8.1.0)
|
8
|
+
|
9
|
+
**Implemented enhancements:**
|
10
|
+
|
11
|
+
- fakefs: Allow 2.x [\#131](https://github.com/voxpupuli/beaker-rspec/pull/131) ([bastelfreak](https://github.com/bastelfreak))
|
12
|
+
|
13
|
+
**Merged pull requests:**
|
14
|
+
|
15
|
+
- Drop docs dev dependencies & CI: Build gems with strictness and verbosity [\#130](https://github.com/voxpupuli/beaker-rspec/pull/130) ([bastelfreak](https://github.com/bastelfreak))
|
16
|
+
|
17
|
+
## [8.0.1](https://github.com/voxpupuli/beaker-rspec/tree/8.0.1) (2023-05-05)
|
18
|
+
|
19
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-rspec/compare/8.0.0...8.0.1)
|
20
|
+
|
21
|
+
**Merged pull requests:**
|
22
|
+
|
23
|
+
- switch to voxpupuli-rubocop [\#128](https://github.com/voxpupuli/beaker-rspec/pull/128) ([bastelfreak](https://github.com/bastelfreak))
|
24
|
+
- fix wrong example [\#127](https://github.com/voxpupuli/beaker-rspec/pull/127) ([rwaffen](https://github.com/rwaffen))
|
25
|
+
|
5
26
|
## [8.0.0](https://github.com/voxpupuli/beaker-rspec/tree/8.0.0) (2023-03-27)
|
6
27
|
|
7
28
|
[Full Changelog](https://github.com/voxpupuli/beaker-rspec/compare/7.1.0...8.0.0)
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -170,7 +170,7 @@ describe 'mysql::server::account_security class' do
|
|
170
170
|
|
171
171
|
it 'should run without errors' do
|
172
172
|
result = apply_manifest(manifest, :catch_failures => true)
|
173
|
-
expect(
|
173
|
+
expect(result.exit_code).to eq 2
|
174
174
|
end
|
175
175
|
|
176
176
|
it 'should delete accounts' do
|
@@ -185,7 +185,7 @@ describe 'mysql::server::account_security class' do
|
|
185
185
|
|
186
186
|
it 'should run a second time without changes' do
|
187
187
|
result = apply_manifest(manifest, :catch_failures => true)
|
188
|
-
expect(
|
188
|
+
expect(result.exit_code).to eq 0
|
189
189
|
end
|
190
190
|
|
191
191
|
describe package('mysql-server') do
|
data/Rakefile
CHANGED
@@ -20,14 +20,7 @@ else
|
|
20
20
|
end
|
21
21
|
|
22
22
|
begin
|
23
|
-
require 'rubocop/
|
23
|
+
require 'voxpupuli/rubocop/rake'
|
24
24
|
rescue LoadError
|
25
|
-
#
|
26
|
-
else
|
27
|
-
RuboCop::RakeTask.new(:rubocop) do |task|
|
28
|
-
# These make the rubocop experience maybe slightly less terrible
|
29
|
-
task.options = ['--display-cop-names', '--display-style-guide', '--extra-details']
|
30
|
-
# Use Rubocop's Github Actions formatter if possible
|
31
|
-
task.formatters << 'github' if ENV['GITHUB_ACTIONS'] == 'true'
|
32
|
-
end
|
25
|
+
# the voxpupuli-rubocop gem is optional
|
33
26
|
end
|
data/beaker-rspec.gemspec
CHANGED
@@ -18,20 +18,10 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.require_paths = ['lib']
|
19
19
|
|
20
20
|
# Testing dependencies
|
21
|
-
s.add_development_dependency 'fakefs', '>= 0.6', '<
|
21
|
+
s.add_development_dependency 'fakefs', '>= 0.6', '< 3'
|
22
22
|
s.add_development_dependency 'minitest', '~> 5.4'
|
23
23
|
s.add_development_dependency 'rake', '~> 13.0'
|
24
|
-
|
25
|
-
# rubocop
|
26
|
-
s.add_development_dependency 'rubocop', '~> 1.48.1'
|
27
|
-
s.add_development_dependency 'rubocop-minitest'
|
28
|
-
s.add_development_dependency 'rubocop-performance'
|
29
|
-
s.add_development_dependency 'rubocop-rake'
|
30
|
-
s.add_development_dependency 'rubocop-rspec'
|
31
|
-
|
32
|
-
# Documentation dependencies
|
33
|
-
s.add_development_dependency 'thin'
|
34
|
-
s.add_development_dependency 'yard'
|
24
|
+
s.add_development_dependency 'voxpupuli-rubocop', '~> 1.3'
|
35
25
|
|
36
26
|
# Run time dependencies
|
37
27
|
s.add_runtime_dependency 'beaker', '>= 4.0', '< 6'
|
@@ -32,7 +32,7 @@ RSpec.configure do |c|
|
|
32
32
|
debug: ENV['BEAKER_DEBUG'] || ENV['BEAKER_debug'] || ENV.fetch('RS_DEBUG', nil),
|
33
33
|
destroy: ENV['BEAKER_DESTROY'] || ENV['BEAKER_destroy'] || ENV.fetch('RS_DESTROY', nil),
|
34
34
|
optionsfile: ENV['BEAKER_OPTIONS_FILE'] || ENV['BEAKER_options_file'] || ENV.fetch('RS_OPTIONS_FILE', nil),
|
35
|
-
}.
|
35
|
+
}.compact
|
36
36
|
# combine defaults and env_vars to determine overall options
|
37
37
|
options = defaults.merge(env_vars)
|
38
38
|
|
data/lib/beaker-rspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.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: 2023-
|
11
|
+
date: 2023-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fakefs
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '0.6'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '3'
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '0.6'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '3'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: minitest
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,103 +59,19 @@ dependencies:
|
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '13.0'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
|
-
name: rubocop
|
62
|
+
name: voxpupuli-rubocop
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 1.
|
67
|
+
version: '1.3'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: 1.
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: rubocop-minitest
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - ">="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '0'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '0'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: rubocop-performance
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - ">="
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '0'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - ">="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '0'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rubocop-rake
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: rubocop-rspec
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ">="
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - ">="
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: thin
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - ">="
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '0'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - ">="
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '0'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: yard
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - ">="
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - ">="
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0'
|
74
|
+
version: '1.3'
|
159
75
|
- !ruby/object:Gem::Dependency
|
160
76
|
name: beaker
|
161
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -268,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
268
184
|
- !ruby/object:Gem::Version
|
269
185
|
version: '0'
|
270
186
|
requirements: []
|
271
|
-
rubygems_version: 3.4.
|
187
|
+
rubygems_version: 3.4.10
|
272
188
|
signing_key:
|
273
189
|
specification_version: 4
|
274
190
|
summary: RSpec bindings for beaker
|