beaker-rspec 5.6.0 → 6.0.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 +8 -8
- data/HISTORY.md +35 -2
- data/README.md +13 -2
- data/beaker-rspec.gemspec +2 -7
- data/lib/beaker-rspec/version.rb +1 -1
- metadata +5 -34
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YWQ4MDM5MzU0ZmU3NDc4NWVlNDA3Zjg4YTRmZTJlNDEyNjczMjA1ZA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
Yjk5MDgzNzY2NDk3YjFhNTQ0MmNlNmEyYmQ5YjkyMjc4MDRhYThhMA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NGZiYzg0YzU2ZDBkNzJjZTliNjg4YTM2OTI5ZDY1OWUzOWE1YjIyYzEwYTQ5
|
|
10
|
+
ZmU3ZjQzNDc5ODE5NTk1YzNmNjFlOTgzYjA4OWY2NDMyYTkxYjRiMjA3ZTM2
|
|
11
|
+
ZWY3MWJkNmU1YWU0ZjA0MmZjNWIwOWE3MmFmOGFkMDE5ZGJmMDE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
N2Q2NDRkYjdiNGVjM2ZkMzQ0NjdhNTI2OWI4Zjk5ZGIyN2M5ODA2ZTlhYjBk
|
|
14
|
+
Y2FhYmYxYTgzNjcxMjQ3MzU1NmIxZGUzNzg1NTAxMWIwMDNlYzlkYTViOTcy
|
|
15
|
+
MTk3YWZkYTQ3MmViZTQwZmU5MTViZTQ0YjkxZDY0MmI3MDFhNDI=
|
data/HISTORY.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# default - History
|
|
2
2
|
## Tags
|
|
3
|
-
* [LATEST - 24
|
|
3
|
+
* [LATEST - 24 Oct, 2016 (b02c1c50)](#LATEST)
|
|
4
|
+
* [5.6.0 - 24 Jun, 2016 (bc70fe5a)](#5.6.0)
|
|
4
5
|
* [5.5.0 - 23 Jun, 2016 (a289ce27)](#5.5.0)
|
|
5
6
|
* [5.4.0 - 9 Jun, 2016 (f030a8b5)](#5.4.0)
|
|
6
7
|
* [5.3.0 - 13 Oct, 2015 (2efeb932)](#5.3.0)
|
|
@@ -26,7 +27,39 @@
|
|
|
26
27
|
* [beaker-rspec1.0.0 - 3 Dec, 2013 (65e89ec9)](#beaker-rspec1.0.0)
|
|
27
28
|
|
|
28
29
|
## Details
|
|
29
|
-
### <a name = "LATEST">LATEST - 24
|
|
30
|
+
### <a name = "LATEST">LATEST - 24 Oct, 2016 (b02c1c50)
|
|
31
|
+
|
|
32
|
+
* (GEM) update beaker-rspec version to 6.0.0 (b02c1c50)
|
|
33
|
+
|
|
34
|
+
* Merge pull request #87 from kevpl/bkr946_beaker3 (6dc15bb5)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
Merge pull request #87 from kevpl/bkr946_beaker3
|
|
39
|
+
|
|
40
|
+
(BKR-946) update beaker dependency & docs
|
|
41
|
+
```
|
|
42
|
+
* (BKR-946) update beaker dependency & docs (401a62ac)
|
|
43
|
+
|
|
44
|
+
* (MAINT) Fix broken links to Beaker docs in README (#84) (1ffe6cff)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
(MAINT) Fix broken links to Beaker docs in README (#84)
|
|
49
|
+
|
|
50
|
+
* Fix broken link to Vagrant node examples in README
|
|
51
|
+
|
|
52
|
+
Beaker recently reorganized the directory structure of their docs, which broke this link.
|
|
53
|
+
|
|
54
|
+
See: https://github.com/puppetlabs/beaker/commit/f3e01b0c3ef1ab02776b0f0a5f76d3a848e5d279
|
|
55
|
+
|
|
56
|
+
* Fix broken link to beaker command line docs
|
|
57
|
+
|
|
58
|
+
The old link goes to an empty wiki page, this fixes the link to point to the new page.
|
|
59
|
+
```
|
|
60
|
+
### <a name = "5.6.0">5.6.0 - 24 Jun, 2016 (bc70fe5a)
|
|
61
|
+
|
|
62
|
+
* (HISTORY) update beaker-rspec history for gem release 5.6.0 (bc70fe5a)
|
|
30
63
|
|
|
31
64
|
* (GEM) update beaker-rspec version to 5.6.0 (b11dfe76)
|
|
32
65
|
|
data/README.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
beaker-rspec is a bridge between the puppet acceptance test harness ([beaker](https://github.com/puppetlabs/beaker)) and [rspec](https://github.com/rspec/rspec). It also integrates [serverspec](http://serverspec.org/).
|
|
4
4
|
|
|
5
|
+
#Upgrading from beaker-rspec 5 to 6
|
|
6
|
+
|
|
7
|
+
In beaker-rspec 6, we've picked up the newest beaker, 3.y. In this release, we've
|
|
8
|
+
given up support for Ruby 1.9 and moved to 2.2.5 as our lowest tested version,
|
|
9
|
+
as well as a number of other changes underneath.
|
|
10
|
+
|
|
11
|
+
To learn more about those changes, please checkout our
|
|
12
|
+
[how-to upgrade](https://github.com/puppetlabs/beaker/blob/master/docs/how_to/upgrade_from_2_to_3.md)
|
|
13
|
+
doc. Note that besides the Ruby version & beaker dependency change, nothing else
|
|
14
|
+
was changed in beaker-rspec itself.
|
|
15
|
+
|
|
5
16
|
#Typical Workflow
|
|
6
17
|
|
|
7
18
|
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.
|
|
@@ -30,7 +41,7 @@ Beaker does setup and provision all nodes from your nodeset on each test run, an
|
|
|
30
41
|
* `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 module's spec/acceptance/nodesets directory.
|
|
31
42
|
* `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)
|
|
32
43
|
|
|
33
|
-
For details on the specific mappings, the [setup code](https://github.com/puppetlabs/beaker-rspec/blob/2771b4b1864692690254a969680a57ff22ac0516/lib/beaker-rspec/spec_helper.rb#L26-L32) and the [beaker docs](https://github.com/puppetlabs/beaker/
|
|
44
|
+
For details on the specific mappings, the [setup code](https://github.com/puppetlabs/beaker-rspec/blob/2771b4b1864692690254a969680a57ff22ac0516/lib/beaker-rspec/spec_helper.rb#L26-L32) and the [beaker docs](https://github.com/puppetlabs/beaker/blob/master/docs/tutorials/the_command_line.md).
|
|
34
45
|
|
|
35
46
|
#Building your Module Testing Environment
|
|
36
47
|
|
|
@@ -63,7 +74,7 @@ Nodes are pulled from [Puppet Labs Vagrant Boxes](https://vagrantcloud.com/puppe
|
|
|
63
74
|
|
|
64
75
|
Example node files can be found here:
|
|
65
76
|
|
|
66
|
-
* [Puppet Labs example Vagrant node files](https://github.com/puppetlabs/beaker/blob/master/docs/hypervisors/vagrant_hosts_file_examples.md)
|
|
77
|
+
* [Puppet Labs example Vagrant node files](https://github.com/puppetlabs/beaker/blob/master/docs/how_to/hypervisors/vagrant_hosts_file_examples.md)
|
|
67
78
|
|
|
68
79
|
Create the nodesets directory. From module's top level directory:
|
|
69
80
|
|
data/beaker-rspec.gemspec
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
2
|
$:.push File.expand_path("../lib", __FILE__)
|
|
3
|
-
require 'rbconfig'
|
|
4
3
|
require 'beaker-rspec/version'
|
|
5
4
|
|
|
6
|
-
ruby_conf = defined?(RbConfig) ? RbConfig::CONFIG : Config::CONFIG
|
|
7
|
-
less_than_one_nine = ruby_conf['MAJOR'].to_i == 1 && ruby_conf['MINOR'].to_i < 9
|
|
8
|
-
|
|
9
5
|
Gem::Specification.new do |s|
|
|
10
6
|
s.name = "beaker-rspec"
|
|
11
7
|
s.version = BeakerRSpec::Version::STRING
|
|
@@ -16,6 +12,7 @@ Gem::Specification.new do |s|
|
|
|
16
12
|
s.description = %q{RSpec bindings for beaker, see https://github.com/puppetlabs/beaker}
|
|
17
13
|
s.license = 'Apache2'
|
|
18
14
|
|
|
15
|
+
s.required_ruby_version = Gem::Requirement.new('>= 2.2.5')
|
|
19
16
|
|
|
20
17
|
s.files = `git ls-files`.split("\n")
|
|
21
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
@@ -26,15 +23,13 @@ Gem::Specification.new do |s|
|
|
|
26
23
|
s.add_development_dependency 'minitest', '~> 5.4'
|
|
27
24
|
s.add_development_dependency 'fakefs', '~> 0.6'
|
|
28
25
|
s.add_development_dependency 'rake'
|
|
29
|
-
s.add_development_dependency 'simplecov' unless less_than_one_nine
|
|
30
26
|
|
|
31
27
|
# Documentation dependencies
|
|
32
28
|
s.add_development_dependency 'yard'
|
|
33
|
-
s.add_development_dependency 'markdown' unless less_than_one_nine
|
|
34
29
|
s.add_development_dependency 'thin'
|
|
35
30
|
|
|
36
31
|
# Run time dependencies
|
|
37
|
-
s.add_runtime_dependency 'beaker', '~>
|
|
32
|
+
s.add_runtime_dependency 'beaker', '~> 3.0'
|
|
38
33
|
s.add_runtime_dependency 'rspec'
|
|
39
34
|
s.add_runtime_dependency 'serverspec', '~> 2'
|
|
40
35
|
s.add_runtime_dependency 'specinfra', '~> 2'
|
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:
|
|
4
|
+
version: 6.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppetlabs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-10-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: minitest
|
|
@@ -52,20 +52,6 @@ dependencies:
|
|
|
52
52
|
- - ! '>='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
|
-
- !ruby/object:Gem::Dependency
|
|
56
|
-
name: simplecov
|
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
|
58
|
-
requirements:
|
|
59
|
-
- - ! '>='
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: '0'
|
|
62
|
-
type: :development
|
|
63
|
-
prerelease: false
|
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
-
requirements:
|
|
66
|
-
- - ! '>='
|
|
67
|
-
- !ruby/object:Gem::Version
|
|
68
|
-
version: '0'
|
|
69
55
|
- !ruby/object:Gem::Dependency
|
|
70
56
|
name: yard
|
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -80,20 +66,6 @@ dependencies:
|
|
|
80
66
|
- - ! '>='
|
|
81
67
|
- !ruby/object:Gem::Version
|
|
82
68
|
version: '0'
|
|
83
|
-
- !ruby/object:Gem::Dependency
|
|
84
|
-
name: markdown
|
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
|
86
|
-
requirements:
|
|
87
|
-
- - ! '>='
|
|
88
|
-
- !ruby/object:Gem::Version
|
|
89
|
-
version: '0'
|
|
90
|
-
type: :development
|
|
91
|
-
prerelease: false
|
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
-
requirements:
|
|
94
|
-
- - ! '>='
|
|
95
|
-
- !ruby/object:Gem::Version
|
|
96
|
-
version: '0'
|
|
97
69
|
- !ruby/object:Gem::Dependency
|
|
98
70
|
name: thin
|
|
99
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -114,14 +86,14 @@ dependencies:
|
|
|
114
86
|
requirements:
|
|
115
87
|
- - ~>
|
|
116
88
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: '
|
|
89
|
+
version: '3.0'
|
|
118
90
|
type: :runtime
|
|
119
91
|
prerelease: false
|
|
120
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
93
|
requirements:
|
|
122
94
|
- - ~>
|
|
123
95
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: '
|
|
96
|
+
version: '3.0'
|
|
125
97
|
- !ruby/object:Gem::Dependency
|
|
126
98
|
name: rspec
|
|
127
99
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -198,7 +170,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
198
170
|
requirements:
|
|
199
171
|
- - ! '>='
|
|
200
172
|
- !ruby/object:Gem::Version
|
|
201
|
-
version:
|
|
173
|
+
version: 2.2.5
|
|
202
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
203
175
|
requirements:
|
|
204
176
|
- - ! '>='
|
|
@@ -211,4 +183,3 @@ signing_key:
|
|
|
211
183
|
specification_version: 4
|
|
212
184
|
summary: RSpec bindings for beaker
|
|
213
185
|
test_files: []
|
|
214
|
-
has_rdoc:
|