beaker-rspec 6.2.3 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -13
- data/.github/dependabot.yml +8 -0
- data/.github/workflows/release.yml +31 -0
- data/.github/workflows/test.yml +34 -0
- data/.gitignore +1 -0
- data/CHANGELOG.md +1057 -0
- data/Gemfile +13 -5
- data/HISTORY.md +1 -29
- data/README.md +49 -16
- data/Rakefile +20 -0
- data/beaker-rspec.gemspec +8 -12
- data/lib/beaker-rspec/spec_helper.rb +12 -3
- data/lib/beaker-rspec/version.rb +1 -1
- data/spec/acceptance/example_spec.rb +2 -2
- data/spec/spec_helper.rb +1 -1
- metadata +44 -50
- data/.travis.yml +0 -9
- data/sample.cfg +0 -28
data/Gemfile
CHANGED
@@ -10,13 +10,21 @@ def location_for(place, fake_version = nil)
|
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
13
|
-
beaker_version = ENV['BEAKER_VERSION']
|
14
|
-
|
15
|
-
if beaker_version
|
13
|
+
if (beaker_version = ENV['BEAKER_VERSION'])
|
16
14
|
gem 'beaker', *location_for(beaker_version)
|
17
|
-
else
|
18
|
-
gem 'beaker'
|
19
15
|
end
|
20
16
|
|
17
|
+
case ENV['BEAKER_HYPERVISOR']
|
18
|
+
when 'docker'
|
19
|
+
gem 'beaker-docker'
|
20
|
+
when 'vagrant', 'vagrant_libvirt'
|
21
|
+
gem 'beaker-vagrant'
|
22
|
+
when 'vmpooler'
|
23
|
+
gem 'beaker-vmpooler', '~> 1.3'
|
24
|
+
end
|
25
|
+
|
26
|
+
group :release do
|
27
|
+
gem 'github_changelog_generator', '>= 1.16.4', require: false if RUBY_VERSION >= '2.5'
|
28
|
+
end
|
21
29
|
|
22
30
|
gemspec
|
data/HISTORY.md
CHANGED
@@ -1,32 +1,4 @@
|
|
1
|
-
|
2
|
-
## Tags
|
3
|
-
* [LATEST - 29 Mar, 2017 (0197f39f)](#LATEST)
|
4
|
-
* [6.0.0 - 24 Oct, 2016 (77470480)](#6.0.0)
|
5
|
-
* [5.6.0 - 24 Jun, 2016 (bc70fe5a)](#5.6.0)
|
6
|
-
* [5.5.0 - 23 Jun, 2016 (a289ce27)](#5.5.0)
|
7
|
-
* [5.4.0 - 9 Jun, 2016 (f030a8b5)](#5.4.0)
|
8
|
-
* [5.3.0 - 13 Oct, 2015 (2efeb932)](#5.3.0)
|
9
|
-
* [5.2.2 - 3 Sep, 2015 (69980e14)](#5.2.2)
|
10
|
-
* [5.2.1 - 27 Aug, 2015 (49c45f61)](#5.2.1)
|
11
|
-
* [5.2.0 - 15 Jul, 2015 (261dacdb)](#5.2.0)
|
12
|
-
* [5.1.0 - 5 Jun, 2015 (3a72d131)](#5.1.0)
|
13
|
-
* [beaker-rspec5.0.2 - 30 Mar, 2015 (b9831088)](#beaker-rspec5.0.2)
|
14
|
-
* [beaker-rspec5.0.1 - 27 Jan, 2015 (7a64f285)](#beaker-rspec5.0.1)
|
15
|
-
* [beaker-rspec5.0.0 - 8 Jan, 2015 (bbf806a4)](#beaker-rspec5.0.0)
|
16
|
-
* [beaker-rspec4.0.0 - 5 Dec, 2014 (a4fe104a)](#beaker-rspec4.0.0)
|
17
|
-
* [beaker-rspec2.2.6 - 23 Jun, 2014 (c899b70b)](#beaker-rspec2.2.6)
|
18
|
-
* [beaker-rspec2.2.5 - 19 Jun, 2014 (4b9253e3)](#beaker-rspec2.2.5)
|
19
|
-
* [beaker-rspec2.2.4 - 8 May, 2014 (8fdb93a9)](#beaker-rspec2.2.4)
|
20
|
-
* [beaker-rspec2.2.3 - 23 Apr, 2014 (81241746)](#beaker-rspec2.2.3)
|
21
|
-
* [beaker-rspec2.2.2 - 27 Mar, 2014 (bd5717e6)](#beaker-rspec2.2.2)
|
22
|
-
* [beaker-rspec2.2.1 - 24 Mar, 2014 (5ec50c57)](#beaker-rspec2.2.1)
|
23
|
-
* [beaker-rspec2.2.0 - 13 Mar, 2014 (3f2cd006)](#beaker-rspec2.2.0)
|
24
|
-
* [beaker-rspec2.1.1 - 30 Jan, 2014 (94e2423a)](#beaker-rspec2.1.1)
|
25
|
-
* [beaker-rspec2.1.0 - 29 Jan, 2014 (3ffb18f1)](#beaker-rspec2.1.0)
|
26
|
-
* [beaker-rspec2.0.1 - 22 Jan, 2014 (0ece0e8d)](#beaker-rspec2.0.1)
|
27
|
-
* [beaker-rspec2.0.0 - 6 Dec, 2013 (d836ebac)](#beaker-rspec2.0.0)
|
28
|
-
* [beaker-rspec1.0.0 - 3 Dec, 2013 (65e89ec9)](#beaker-rspec1.0.0)
|
29
|
-
|
1
|
+
## [6.1.0](https://github.com/voxpupuli/beaker-rspec/tree/6.1.0) (2017-03-29)
|
30
2
|
## Details
|
31
3
|
### <a name = "LATEST">LATEST - 29 Mar, 2017 (0197f39f)
|
32
4
|
|
data/README.md
CHANGED
@@ -1,19 +1,30 @@
|
|
1
1
|
# beaker-rspec
|
2
2
|
|
3
|
-
|
3
|
+
[](https://github.com/voxpupuli/beaker/blob/master/LICENSE)
|
4
|
+
[](https://github.com/voxpupuli/beaker/actions/workflows/test.yml)
|
5
|
+
[](https://github.com/voxpupuli/beaker/actions/workflows/release.yml)
|
6
|
+
[](https://rubygems.org/gems/beaker)
|
7
|
+
[](https://rubygems.org/gems/beaker)
|
8
|
+
[](#transfer-notice)
|
4
9
|
|
5
|
-
|
10
|
+
beaker-rspec is a bridge between the puppet acceptance test harness ([beaker](https://github.com/voxpupuli/beaker)) and [rspec](https://github.com/rspec/rspec). It also integrates [serverspec](http://serverspec.org/).
|
11
|
+
|
12
|
+
## Upgrading from beaker-rspec 5 to 6
|
6
13
|
|
7
14
|
In beaker-rspec 6, we've picked up the newest beaker, 3.y. In this release, we've
|
8
|
-
given up support for Ruby
|
15
|
+
given up support for EoL Ruby and moved to 2.4 as our lowest tested version,
|
9
16
|
as well as a number of other changes underneath.
|
10
17
|
|
11
18
|
To learn more about those changes, please checkout our
|
12
|
-
[how-to upgrade](https://github.com/
|
19
|
+
[how-to upgrade](https://github.com/voxpupuli/beaker/blob/master/docs/how_to/upgrade_from_2_to_3.md)
|
13
20
|
doc. Note that besides the Ruby version & beaker dependency change, nothing else
|
14
21
|
was changed in beaker-rspec itself.
|
15
22
|
|
16
|
-
|
23
|
+
To figure out our current lowest supported Ruby version, check for the
|
24
|
+
`required_ruby_version` key in `beaker-rspec.gemspec`. To see all Ruby versions
|
25
|
+
we test on, check the list in `.github/workflows/test.yml`.
|
26
|
+
|
27
|
+
## Typical Workflow
|
17
28
|
|
18
29
|
Beaker does setup and provision all nodes from your nodeset on each test run, and cleans up the VMs after use. During development on a module it can be very handy to keep the VMs available for inspection or reuse. Set `BEAKER_destroy=no` do skip the cleanup and `BEAKER_provision=no` once the VMs are created.
|
19
30
|
|
@@ -34,30 +45,30 @@ Beaker does setup and provision all nodes from your nodeset on each test run, an
|
|
34
45
|
cd .vagrant/beaker_vagrant_files/default.yml ; vagrant destroy --force
|
35
46
|
```
|
36
47
|
|
37
|
-
|
48
|
+
### Supported ENV variables
|
38
49
|
|
39
50
|
* `BEAKER_color`: set to `no` to disable color output
|
40
51
|
* `BEAKER_debug`: set to any value to enable beaker debug logging
|
41
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.
|
42
53
|
* `BEAKER_keyfile`: specify alternate SSH key to access the test VMs
|
43
|
-
* `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.
|
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.
|
44
55
|
* `BEAKER_provision`: set to `no` to skip provisioning boxes before testing, beaker will then assume that boxes are already provisioned and reachable
|
45
56
|
* `BEAKER_setdir`: change the directory with nodesets. Defaults to the module's `spec/acceptance/nodesets` directory.
|
46
57
|
* `BEAKER_set`: set to the name of the node file to be used during testing (exclude .yml file extension, it will be added by beaker-rspec). The file is assumed to be in the `setdir` (see `BEAKER_setdir`).
|
47
58
|
* `BEAKER_setfile` - set to the full path to a node file be used during testing (be sure to include full path and file extensions, beaker-rspec will use this path without editing/altering it in any way)
|
48
59
|
|
49
|
-
For details on the specific mappings, the [setup code](https://github.com/
|
60
|
+
For details on the specific mappings, the [setup code](https://github.com/voxpupuli/beaker-rspec/blob/2771b4b1864692690254a969680a57ff22ac0516/lib/beaker-rspec/spec_helper.rb#L26-L32) and the [beaker docs](https://github.com/voxpupuli/beaker/blob/master/docs/tutorials/the_command_line.md).
|
50
61
|
|
51
|
-
|
62
|
+
## Building your Module Testing Environment
|
52
63
|
|
53
64
|
Using puppetlabs-mysql as an example module.
|
54
65
|
|
55
|
-
|
66
|
+
### Clone the module repository of the module where you want to add tests
|
56
67
|
|
57
68
|
git clone https://github.com/puppetlabs/puppetlabs-mysql
|
58
69
|
cd puppetlabs-mysql
|
59
70
|
|
60
|
-
|
71
|
+
### Install beaker-rspec
|
61
72
|
|
62
73
|
In module's top level directory edit the Gemfile. You should see a `:system_tests`
|
63
74
|
or `:acceptance` group there, but if not, add beaker-rspec there:
|
@@ -72,7 +83,7 @@ Then run
|
|
72
83
|
|
73
84
|
bundle install
|
74
85
|
|
75
|
-
|
86
|
+
### Create node files
|
76
87
|
|
77
88
|
These files indicate the nodes (or hosts) that the tests will be run on. By default, any node file called `default.yml` will be used. You can override this using the `BEAKER_set` environment variable to indicate an alternate file. Do not provide full path or the '.yml' file extension to `BEAKER_set`, beaker-rspec expands the filename to '${DIR}/${NAME}.yml'. The directory defaults to `spec/acceptance/nodesets` but can be overridden with the `BEAKER_setdir` variable. `BEAKER_setdir` gives full control over the path (including file extension).
|
78
89
|
|
@@ -80,7 +91,7 @@ Nodes are pulled from [Puppet Labs Vagrant Boxes](https://vagrantcloud.com/puppe
|
|
80
91
|
|
81
92
|
Example node files can be found here:
|
82
93
|
|
83
|
-
* [Puppet Labs example Vagrant node files](https://github.com/
|
94
|
+
* [Puppet Labs example Vagrant node files](https://github.com/voxpupuli/beaker-vagrant/blob/master/docs/vagrant_hosts_file_examples.md)
|
84
95
|
|
85
96
|
Create the nodesets directory. From module's top level directory:
|
86
97
|
|
@@ -88,7 +99,7 @@ Create the nodesets directory. From module's top level directory:
|
|
88
99
|
|
89
100
|
Copy any nodesets that you wish to use into the nodesets directory.
|
90
101
|
|
91
|
-
|
102
|
+
### Create the spec_helper_acceptance.rb
|
92
103
|
|
93
104
|
In the `spec` folder, you should see the project's `spec_helper_acceptance.rb`.
|
94
105
|
This file contains all of the setup logic needed to get your Systems Under Test
|
@@ -138,7 +149,7 @@ This method will install the latest puppet-agent from the specified
|
|
138
149
|
|
139
150
|
Update spec_helper_acceptance.rb to reflect the module under test. You will need to set the correct module name and add any module dependencies. Place the file in the `spec` directory (in this case `puppetlabs-mysql/spec`)
|
140
151
|
|
141
|
-
|
152
|
+
### Create spec tests for your module
|
142
153
|
|
143
154
|
Spec tests are written in [RSpec](http://rspec.info). You can also use [serverspec](http://serverspec.org/) matchers to test [resources](http://serverspec.org/resource_types.html).
|
144
155
|
|
@@ -183,10 +194,32 @@ describe 'mysql::server::account_security class' do
|
|
183
194
|
end
|
184
195
|
```
|
185
196
|
|
186
|
-
|
197
|
+
### Run your spec tests
|
187
198
|
|
188
199
|
From module's top level directory
|
189
200
|
|
190
201
|
```
|
191
202
|
bundle exec rspec spec/acceptance
|
192
203
|
```
|
204
|
+
|
205
|
+
## Transfer Notice
|
206
|
+
|
207
|
+
This plugin was originally authored by [Puppet Inc](http://puppet.com).
|
208
|
+
The maintainer preferred that [Vox Pupuli](https://voxpupuli.org) take ownership of the module for future improvement and maintenance.
|
209
|
+
Existing pull requests and issues were transferred over, please fork and continue to contribute here.
|
210
|
+
|
211
|
+
Previously: https://github.com/puppetlabs/beaker
|
212
|
+
|
213
|
+
## License
|
214
|
+
|
215
|
+
This gem is licensed under the Apache-2 license.
|
216
|
+
|
217
|
+
## Release information
|
218
|
+
|
219
|
+
To make a new release, please do:
|
220
|
+
* update the version in lib/beaker-rspec/version.rb
|
221
|
+
* Install gems with `bundle install --with release --path .vendor`
|
222
|
+
* generate the changelog with `bundle exec rake changelog`
|
223
|
+
* Check if the new version matches the closed issues/PRs in the changelog
|
224
|
+
* Create a PR with it
|
225
|
+
* After it got merged, push a tag. GitHub actions will do the actual release to rubygems and GitHub Packages
|
data/Rakefile
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'beaker-rspec/rake_task'
|
4
|
+
|
5
|
+
task default: :beaker
|
6
|
+
|
7
|
+
begin
|
8
|
+
require 'rubygems'
|
9
|
+
require 'github_changelog_generator/task'
|
10
|
+
rescue LoadError
|
11
|
+
# github_changelog_generator isn't available, so we won't define a rake task with it
|
12
|
+
else
|
13
|
+
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
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]
|
16
|
+
config.user = 'voxpupuli'
|
17
|
+
config.project = 'beaker-rspec'
|
18
|
+
config.future_release = Gem::Specification.load("#{config.project}.gemspec").version
|
19
|
+
end
|
20
|
+
end
|
data/beaker-rspec.gemspec
CHANGED
@@ -5,14 +5,14 @@ require 'beaker-rspec/version'
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "beaker-rspec"
|
7
7
|
s.version = BeakerRSpec::Version::STRING
|
8
|
-
s.authors = ["
|
9
|
-
s.email = ["
|
10
|
-
s.homepage = "https://github.com/
|
8
|
+
s.authors = ["Vox Pupuli"]
|
9
|
+
s.email = ["voxpupuli@groups.io"]
|
10
|
+
s.homepage = "https://github.com/voxpupuli/beaker-rspec"
|
11
11
|
s.summary = %q{RSpec bindings for beaker}
|
12
|
-
s.description = %q{RSpec bindings for beaker, see https://github.com/
|
12
|
+
s.description = %q{RSpec bindings for beaker, see https://github.com/voxpupuli/beaker}
|
13
13
|
s.license = 'Apache-2.0'
|
14
14
|
|
15
|
-
s.required_ruby_version =
|
15
|
+
s.required_ruby_version = '>= 2.4.0', '<4.0.0'
|
16
16
|
|
17
17
|
s.files = `git ls-files`.split("\n")
|
18
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
@@ -21,19 +21,15 @@ Gem::Specification.new do |s|
|
|
21
21
|
|
22
22
|
# Testing dependencies
|
23
23
|
s.add_development_dependency 'minitest', '~> 5.4'
|
24
|
-
s.add_development_dependency 'fakefs', '
|
25
|
-
s.add_development_dependency 'rake', '~>
|
24
|
+
s.add_development_dependency 'fakefs', '>= 0.6', '< 2'
|
25
|
+
s.add_development_dependency 'rake', '~> 13.0'
|
26
26
|
|
27
27
|
# Documentation dependencies
|
28
28
|
s.add_development_dependency 'yard'
|
29
29
|
s.add_development_dependency 'thin'
|
30
30
|
|
31
|
-
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2')
|
32
|
-
s.add_development_dependency 'rack', '~> 1.6'
|
33
|
-
end
|
34
|
-
|
35
31
|
# Run time dependencies
|
36
|
-
s.add_runtime_dependency 'beaker', '
|
32
|
+
s.add_runtime_dependency 'beaker', '> 3.0'
|
37
33
|
s.add_runtime_dependency 'rspec', '~> 3.0'
|
38
34
|
s.add_runtime_dependency 'serverspec', '~> 2'
|
39
35
|
s.add_runtime_dependency 'specinfra', '~> 2'
|
@@ -47,15 +47,24 @@ RSpec.configure do |c|
|
|
47
47
|
|
48
48
|
# Configure all nodes in nodeset
|
49
49
|
c.setup([fresh_nodes, '--hosts', nodesetfile, keyfile, debug, color, options_file].flatten.compact)
|
50
|
-
c.provision
|
51
|
-
c.validate
|
52
|
-
c.configure
|
53
50
|
|
54
51
|
trap "SIGINT" do
|
55
52
|
c.cleanup
|
56
53
|
exit!(1)
|
57
54
|
end
|
58
55
|
|
56
|
+
begin
|
57
|
+
c.provision
|
58
|
+
rescue StandardError => e
|
59
|
+
logger.error(e)
|
60
|
+
logger.info(e.backtrace)
|
61
|
+
c.cleanup
|
62
|
+
exit!(1)
|
63
|
+
end
|
64
|
+
|
65
|
+
c.validate
|
66
|
+
c.configure
|
67
|
+
|
59
68
|
# Destroy nodes if no preserve hosts
|
60
69
|
c.after :suite do
|
61
70
|
case options[:destroy]
|
data/lib/beaker-rspec/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,168 +1,164 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.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:
|
11
|
+
date: 2022-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '5.4'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '5.4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: fakefs
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0.6'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '2'
|
34
37
|
type: :development
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- -
|
41
|
+
- - ">="
|
39
42
|
- !ruby/object:Gem::Version
|
40
43
|
version: '0.6'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '2'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: rake
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
|
-
- - ~>
|
51
|
+
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
53
|
+
version: '13.0'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
|
-
- - ~>
|
58
|
+
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
60
|
+
version: '13.0'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: yard
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
|
-
- -
|
65
|
+
- - ">="
|
60
66
|
- !ruby/object:Gem::Version
|
61
67
|
version: '0'
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
|
-
- -
|
72
|
+
- - ">="
|
67
73
|
- !ruby/object:Gem::Version
|
68
74
|
version: '0'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: thin
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
|
-
- -
|
79
|
+
- - ">="
|
74
80
|
- !ruby/object:Gem::Version
|
75
81
|
version: '0'
|
76
82
|
type: :development
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
|
-
- -
|
86
|
+
- - ">="
|
81
87
|
- !ruby/object:Gem::Version
|
82
88
|
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rack
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ~>
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '1.6'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ~>
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '1.6'
|
97
89
|
- !ruby/object:Gem::Dependency
|
98
90
|
name: beaker
|
99
91
|
requirement: !ruby/object:Gem::Requirement
|
100
92
|
requirements:
|
101
|
-
- -
|
93
|
+
- - ">"
|
102
94
|
- !ruby/object:Gem::Version
|
103
95
|
version: '3.0'
|
104
96
|
type: :runtime
|
105
97
|
prerelease: false
|
106
98
|
version_requirements: !ruby/object:Gem::Requirement
|
107
99
|
requirements:
|
108
|
-
- -
|
100
|
+
- - ">"
|
109
101
|
- !ruby/object:Gem::Version
|
110
102
|
version: '3.0'
|
111
103
|
- !ruby/object:Gem::Dependency
|
112
104
|
name: rspec
|
113
105
|
requirement: !ruby/object:Gem::Requirement
|
114
106
|
requirements:
|
115
|
-
- - ~>
|
107
|
+
- - "~>"
|
116
108
|
- !ruby/object:Gem::Version
|
117
109
|
version: '3.0'
|
118
110
|
type: :runtime
|
119
111
|
prerelease: false
|
120
112
|
version_requirements: !ruby/object:Gem::Requirement
|
121
113
|
requirements:
|
122
|
-
- - ~>
|
114
|
+
- - "~>"
|
123
115
|
- !ruby/object:Gem::Version
|
124
116
|
version: '3.0'
|
125
117
|
- !ruby/object:Gem::Dependency
|
126
118
|
name: serverspec
|
127
119
|
requirement: !ruby/object:Gem::Requirement
|
128
120
|
requirements:
|
129
|
-
- - ~>
|
121
|
+
- - "~>"
|
130
122
|
- !ruby/object:Gem::Version
|
131
123
|
version: '2'
|
132
124
|
type: :runtime
|
133
125
|
prerelease: false
|
134
126
|
version_requirements: !ruby/object:Gem::Requirement
|
135
127
|
requirements:
|
136
|
-
- - ~>
|
128
|
+
- - "~>"
|
137
129
|
- !ruby/object:Gem::Version
|
138
130
|
version: '2'
|
139
131
|
- !ruby/object:Gem::Dependency
|
140
132
|
name: specinfra
|
141
133
|
requirement: !ruby/object:Gem::Requirement
|
142
134
|
requirements:
|
143
|
-
- - ~>
|
135
|
+
- - "~>"
|
144
136
|
- !ruby/object:Gem::Version
|
145
137
|
version: '2'
|
146
138
|
type: :runtime
|
147
139
|
prerelease: false
|
148
140
|
version_requirements: !ruby/object:Gem::Requirement
|
149
141
|
requirements:
|
150
|
-
- - ~>
|
142
|
+
- - "~>"
|
151
143
|
- !ruby/object:Gem::Version
|
152
144
|
version: '2'
|
153
|
-
description: RSpec bindings for beaker, see https://github.com/
|
145
|
+
description: RSpec bindings for beaker, see https://github.com/voxpupuli/beaker
|
154
146
|
email:
|
155
|
-
-
|
147
|
+
- voxpupuli@groups.io
|
156
148
|
executables: []
|
157
149
|
extensions: []
|
158
150
|
extra_rdoc_files: []
|
159
151
|
files:
|
160
|
-
- .
|
161
|
-
- .
|
152
|
+
- ".github/dependabot.yml"
|
153
|
+
- ".github/workflows/release.yml"
|
154
|
+
- ".github/workflows/test.yml"
|
155
|
+
- ".gitignore"
|
156
|
+
- CHANGELOG.md
|
162
157
|
- Gemfile
|
163
158
|
- HISTORY.md
|
164
159
|
- LICENSE
|
165
160
|
- README.md
|
161
|
+
- Rakefile
|
166
162
|
- beaker-rspec.gemspec
|
167
163
|
- lib/beaker-rspec.rb
|
168
164
|
- lib/beaker-rspec/beaker_shim.rb
|
@@ -170,10 +166,9 @@ files:
|
|
170
166
|
- lib/beaker-rspec/rake_task.rb
|
171
167
|
- lib/beaker-rspec/spec_helper.rb
|
172
168
|
- lib/beaker-rspec/version.rb
|
173
|
-
- sample.cfg
|
174
169
|
- spec/acceptance/example_spec.rb
|
175
170
|
- spec/spec_helper.rb
|
176
|
-
homepage: https://github.com/
|
171
|
+
homepage: https://github.com/voxpupuli/beaker-rspec
|
177
172
|
licenses:
|
178
173
|
- Apache-2.0
|
179
174
|
metadata: {}
|
@@ -183,20 +178,19 @@ require_paths:
|
|
183
178
|
- lib
|
184
179
|
required_ruby_version: !ruby/object:Gem::Requirement
|
185
180
|
requirements:
|
186
|
-
- -
|
181
|
+
- - ">="
|
187
182
|
- !ruby/object:Gem::Version
|
188
|
-
version: 2.
|
189
|
-
- - <
|
183
|
+
version: 2.4.0
|
184
|
+
- - "<"
|
190
185
|
- !ruby/object:Gem::Version
|
191
|
-
version:
|
186
|
+
version: 4.0.0
|
192
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
188
|
requirements:
|
194
|
-
- -
|
189
|
+
- - ">="
|
195
190
|
- !ruby/object:Gem::Version
|
196
191
|
version: '0'
|
197
192
|
requirements: []
|
198
|
-
|
199
|
-
rubygems_version: 2.4.8
|
193
|
+
rubygems_version: 3.2.32
|
200
194
|
signing_key:
|
201
195
|
specification_version: 4
|
202
196
|
summary: RSpec bindings for beaker
|
data/.travis.yml
DELETED
data/sample.cfg
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
HOSTS:
|
2
|
-
ubuntu-10-04-4-x64-master:
|
3
|
-
roles:
|
4
|
-
- master
|
5
|
-
- agent
|
6
|
-
- dashboard
|
7
|
-
- database
|
8
|
-
platform: ubuntu-10.04-amd64
|
9
|
-
hypervisor: vagrant
|
10
|
-
box: ubuntu-server-10044-x64-vbox4210
|
11
|
-
box_url: http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210.box
|
12
|
-
ip: 192.168.20.20
|
13
|
-
distmoduledir: .
|
14
|
-
pe_dir: http://enterprise.delivery.puppetlabs.net/3.1/ci-ready/
|
15
|
-
ubuntu-10-04-4-x64-agent:
|
16
|
-
roles:
|
17
|
-
- agent
|
18
|
-
platform: ubuntu-10.04-amd64
|
19
|
-
hypervisor: vagrant
|
20
|
-
box: ubuntu-server-10044-x64-vbox4210
|
21
|
-
box_url: http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210.box
|
22
|
-
ip: 192.168.21.21
|
23
|
-
distmoduledir: .
|
24
|
-
pe_dir: http://enterprise.delivery.puppetlabs.net/3.1/ci-ready/
|
25
|
-
CONFIG:
|
26
|
-
nfs_server: none
|
27
|
-
consoleport: 443
|
28
|
-
type: git
|