beaker-rspec 8.1.0 → 8.2.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 +3 -3
- data/.github/workflows/test.yml +4 -3
- data/.rubocop_todo.yml +4 -1
- data/CHANGELOG.md +17 -0
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/beaker-rspec.gemspec +2 -2
- data/lib/beaker-rspec/spec_helper.rb +3 -3
- data/lib/beaker-rspec/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c46429320ae5aa83876303c5dd74b4e616bf6b6baf6b675a425b535c7faa282
|
4
|
+
data.tar.gz: f71fe4b5b8026cddc415701f66238feb7a9109026facf8595c534e44de6a1a07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dea35921662d220f1d704305a549cb460f22bd18dbb0d9464b3e8a9302ea0607a7593658c702008e240a7782af85b09b70f9172f37351d9678ec363a0fc0bf09
|
7
|
+
data.tar.gz: 281cdf66ea2dcf41471c48b64b9e03d18089ebdcf396ea9325676687eb50505815b67852aef2a359b6145e4278957b0da56d3b1f170e4d8522436335f47c6096
|
@@ -10,11 +10,11 @@ jobs:
|
|
10
10
|
runs-on: ubuntu-latest
|
11
11
|
if: github.repository_owner == 'voxpupuli'
|
12
12
|
steps:
|
13
|
-
- uses: actions/checkout@
|
14
|
-
- name: Install Ruby 3.
|
13
|
+
- uses: actions/checkout@v4
|
14
|
+
- name: Install Ruby 3.3
|
15
15
|
uses: ruby/setup-ruby@v1
|
16
16
|
with:
|
17
|
-
ruby-version: '3.
|
17
|
+
ruby-version: '3.3'
|
18
18
|
bundler: 'none'
|
19
19
|
- name: Build gem
|
20
20
|
run: gem build --strict --verbose *.gemspec
|
data/.github/workflows/test.yml
CHANGED
@@ -14,11 +14,11 @@ jobs:
|
|
14
14
|
rubocop:
|
15
15
|
runs-on: ubuntu-latest
|
16
16
|
steps:
|
17
|
-
- uses: actions/checkout@
|
17
|
+
- uses: actions/checkout@v4
|
18
18
|
- name: Install Ruby ${{ matrix.ruby }}
|
19
19
|
uses: ruby/setup-ruby@v1
|
20
20
|
with:
|
21
|
-
ruby-version: "3.
|
21
|
+
ruby-version: "3.3"
|
22
22
|
bundler-cache: true
|
23
23
|
- name: Run Rubocop
|
24
24
|
run: bundle exec rake rubocop
|
@@ -32,9 +32,10 @@ jobs:
|
|
32
32
|
- "3.0"
|
33
33
|
- "3.1"
|
34
34
|
- "3.2"
|
35
|
+
- "3.3"
|
35
36
|
name: Ruby ${{ matrix.ruby }}
|
36
37
|
steps:
|
37
|
-
- uses: actions/checkout@
|
38
|
+
- uses: actions/checkout@v4
|
38
39
|
- name: Install Ruby ${{ matrix.ruby }}
|
39
40
|
uses: ruby/setup-ruby@v1
|
40
41
|
with:
|
data/.rubocop_todo.yml
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
3
|
+
# on 2024-05-28 09:46:46 UTC using RuboCop version 1.63.5.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
9
|
# Offense count: 3
|
10
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
11
|
+
# Configuration parameters: AutoCorrect.
|
10
12
|
Lint/UselessAssignment:
|
11
13
|
Exclude:
|
12
14
|
- 'lib/beaker-rspec/helpers/serverspec.rb'
|
@@ -22,6 +24,7 @@ Naming/AccessorMethodName:
|
|
22
24
|
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
|
23
25
|
Naming/FileName:
|
24
26
|
Exclude:
|
27
|
+
- 'Rakefile.rb'
|
25
28
|
- 'lib/beaker-rspec.rb'
|
26
29
|
|
27
30
|
# Offense count: 1
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,23 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [8.2.0](https://github.com/voxpupuli/beaker-rspec/tree/8.2.0) (2024-05-28)
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-rspec/compare/8.1.0...8.2.0)
|
8
|
+
|
9
|
+
**Implemented enhancements:**
|
10
|
+
|
11
|
+
- beaker: Allow 6.x [\#137](https://github.com/voxpupuli/beaker-rspec/pull/137) ([bastelfreak](https://github.com/bastelfreak))
|
12
|
+
- Add Ruby 3.3 to CI [\#135](https://github.com/voxpupuli/beaker-rspec/pull/135) ([bastelfreak](https://github.com/bastelfreak))
|
13
|
+
|
14
|
+
**Fixed bugs:**
|
15
|
+
|
16
|
+
- Correct BEAKER\_debug text that it respects no [\#134](https://github.com/voxpupuli/beaker-rspec/pull/134) ([ekohl](https://github.com/ekohl))
|
17
|
+
|
18
|
+
**Merged pull requests:**
|
19
|
+
|
20
|
+
- voxpupuli-rubocop: Require 2.7.0 [\#136](https://github.com/voxpupuli/beaker-rspec/pull/136) ([bastelfreak](https://github.com/bastelfreak))
|
21
|
+
|
5
22
|
## [8.1.0](https://github.com/voxpupuli/beaker-rspec/tree/8.1.0) (2023-07-11)
|
6
23
|
|
7
24
|
[Full Changelog](https://github.com/voxpupuli/beaker-rspec/compare/8.0.1...8.1.0)
|
data/README.md
CHANGED
@@ -48,7 +48,7 @@ cd .vagrant/beaker_vagrant_files/default.yml ; vagrant destroy --force
|
|
48
48
|
### Supported ENV variables
|
49
49
|
|
50
50
|
* `BEAKER_color`: set to `no` to disable color output
|
51
|
-
* `BEAKER_debug`: set to any value to enable beaker debug logging
|
51
|
+
* `BEAKER_debug`: set to any value other than `no` to enable beaker debug logging
|
52
52
|
* `BEAKER_destroy`: set to `no` to keep the VMs after the test run. Set to `onpass` to keep the VMs around only after a test failure.
|
53
53
|
* `BEAKER_keyfile`: specify alternate SSH key to access the test VMs
|
54
54
|
* `BEAKER_options_file`: set to the file path of the options file to be used as the default options for beaker. Equivalent to the `--options-file` parameter.
|
data/Rakefile
CHANGED
@@ -12,7 +12,7 @@ rescue LoadError
|
|
12
12
|
else
|
13
13
|
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
14
14
|
config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
|
15
|
-
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog]
|
15
|
+
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog github_actions]
|
16
16
|
config.user = 'voxpupuli'
|
17
17
|
config.project = 'beaker-rspec'
|
18
18
|
config.future_release = Gem::Specification.load("#{config.project}.gemspec").version
|
data/beaker-rspec.gemspec
CHANGED
@@ -21,10 +21,10 @@ Gem::Specification.new do |s|
|
|
21
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
|
-
s.add_development_dependency 'voxpupuli-rubocop', '~>
|
24
|
+
s.add_development_dependency 'voxpupuli-rubocop', '~> 2.7.0'
|
25
25
|
|
26
26
|
# Run time dependencies
|
27
|
-
s.add_runtime_dependency 'beaker', '>= 4.0', '<
|
27
|
+
s.add_runtime_dependency 'beaker', '>= 4.0', '< 7'
|
28
28
|
s.add_runtime_dependency 'rspec', '~> 3.0'
|
29
29
|
s.add_runtime_dependency 'serverspec', '~> 2'
|
30
30
|
s.add_runtime_dependency 'specinfra', '~> 2'
|
@@ -39,10 +39,10 @@ RSpec.configure do |c|
|
|
39
39
|
# process options to construct beaker command string
|
40
40
|
nodesetdir = options[:nodesetdir] || File.join('spec', 'acceptance', 'nodesets')
|
41
41
|
nodesetfile = options[:nodesetfile] || File.join(nodesetdir, "#{options[:nodeset]}.yml")
|
42
|
-
fresh_nodes = options[:provision] == 'no' ? '--no-provision' : nil
|
42
|
+
fresh_nodes = (options[:provision] == 'no') ? '--no-provision' : nil
|
43
43
|
keyfile = options[:keyfile] ? ['--keyfile', options[:keyfile]] : nil
|
44
|
-
debug = options[:debug] && options[:debug] != 'no' ? ['--log-level', 'debug'] : nil
|
45
|
-
color = options[:color] == 'no' ? ['--no-color'] : nil
|
44
|
+
debug = (options[:debug] && options[:debug] != 'no') ? ['--log-level', 'debug'] : nil
|
45
|
+
color = (options[:color] == 'no') ? ['--no-color'] : nil
|
46
46
|
options_file = options[:optionsfile] ? ['--options-file', options[:optionsfile]] : nil
|
47
47
|
|
48
48
|
# Configure all nodes in nodeset
|
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.2.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:
|
11
|
+
date: 2024-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fakefs
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
67
|
+
version: 2.7.0
|
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:
|
74
|
+
version: 2.7.0
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: beaker
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
version: '4.0'
|
82
82
|
- - "<"
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: '
|
84
|
+
version: '7'
|
85
85
|
type: :runtime
|
86
86
|
prerelease: false
|
87
87
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -91,7 +91,7 @@ dependencies:
|
|
91
91
|
version: '4.0'
|
92
92
|
- - "<"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: '
|
94
|
+
version: '7'
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: rspec
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
184
|
- !ruby/object:Gem::Version
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
|
-
rubygems_version: 3.
|
187
|
+
rubygems_version: 3.5.9
|
188
188
|
signing_key:
|
189
189
|
specification_version: 4
|
190
190
|
summary: RSpec bindings for beaker
|