beaker-rspec 5.1.0 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/HISTORY.md +27 -2
- data/lib/beaker-rspec/spec_helper.rb +3 -1
- data/lib/beaker-rspec/version.rb +1 -1
- metadata +4 -6
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjZkMDY0NTQ2YWM4OWMxNGNjN2VlZGU1MTFhZTM1MTIzODJmODhhOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDk0MmQ0OTc4OGFlMzk3ZjhmNmIxYzY5NjI1N2QzYTZlYWUxNmJmYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzJhZWZiNjk0ZGRmOTZkYWY4YWI3YzgxNGQxZTI0NzkxYTM1OGUwMjczYTFj
|
10
|
+
NTdhZTAzNmQyY2Y2NDRkMWNlOTFjYmI0YmI4ODQ4ZTUxZDAzYjA2NDMwY2Ni
|
11
|
+
OGUzMWZmM2NmODlmZDUwYmM2NDkyNmQwN2I5M2RkZDUzNWExNDU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2ExNGU1ODg1N2VkOTM0NjNiNDUyYmZhNzg5MTk5OGM5YzQwODE1OTIzZTcz
|
14
|
+
ODEzZjIzNDhhNTUzYjE1ZTVmMjBlZjI4M2VjNWRjNWExNTEyY2RmZTFkNjI3
|
15
|
+
NTQwZDgwMmEwNzQ4YzU3YzRlMGExYWNmM2NmN2NkYjRhNGY4ZWE=
|
data/HISTORY.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# default - History
|
2
2
|
## Tags
|
3
|
-
* [LATEST -
|
3
|
+
* [LATEST - 15 Jul, 2015 (25f27502)](#LATEST)
|
4
|
+
* [5.1.0 - 5 Jun, 2015 (3a72d131)](#5.1.0)
|
4
5
|
* [beaker-rspec5.0.2 - 30 Mar, 2015 (b9831088)](#beaker-rspec5.0.2)
|
5
6
|
* [beaker-rspec5.0.1 - 27 Jan, 2015 (7a64f285)](#beaker-rspec5.0.1)
|
6
7
|
* [beaker-rspec5.0.0 - 8 Jan, 2015 (bbf806a4)](#beaker-rspec5.0.0)
|
@@ -19,7 +20,31 @@
|
|
19
20
|
* [beaker-rspec1.0.0 - 3 Dec, 2013 (65e89ec9)](#beaker-rspec1.0.0)
|
20
21
|
|
21
22
|
## Details
|
22
|
-
### <a name = "LATEST">LATEST -
|
23
|
+
### <a name = "LATEST">LATEST - 15 Jul, 2015 (25f27502)
|
24
|
+
|
25
|
+
* (GEM) update beaker-rspec version to 5.2.0 (25f27502)
|
26
|
+
|
27
|
+
* Merge pull request #70 from cmurphy/colors (80f60a7c)
|
28
|
+
|
29
|
+
|
30
|
+
```
|
31
|
+
Merge pull request #70 from cmurphy/colors
|
32
|
+
|
33
|
+
Add environment variable to expose --no-color
|
34
|
+
```
|
35
|
+
* Add environment variable to expose --no-color (d2f8ad39)
|
36
|
+
|
37
|
+
|
38
|
+
```
|
39
|
+
Add environment variable to expose --no-color
|
40
|
+
|
41
|
+
When running CI on puppet modules with beaker-rspec, colors tend to get
|
42
|
+
mistranslated into hard-to-read ascii strings that make reading logs
|
43
|
+
painful. This patch adds the option to turn colors off.
|
44
|
+
```
|
45
|
+
### <a name = "5.1.0">5.1.0 - 5 Jun, 2015 (3a72d131)
|
46
|
+
|
47
|
+
* (HISTORY) update beaker-rspec history for gem release 5.1.0 (3a72d131)
|
23
48
|
|
24
49
|
* (GEM) update beaker-rspec version to 5.1.0 (6ca92bf3)
|
25
50
|
|
@@ -23,6 +23,7 @@ RSpec.configure do |c|
|
|
23
23
|
}
|
24
24
|
#read env vars
|
25
25
|
env_vars = {
|
26
|
+
:color => ENV['BEAKER_color'] || ENV['RS_COLOR'],
|
26
27
|
:nodeset => ENV['BEAKER_set'] || ENV['RS_SET'],
|
27
28
|
:nodesetfile => ENV['BEAKER_setfile'] || ENV['RS_SETFILE'],
|
28
29
|
:provision => ENV['BEAKER_provision'] || ENV['RS_PROVISION'],
|
@@ -38,9 +39,10 @@ RSpec.configure do |c|
|
|
38
39
|
fresh_nodes = options[:provision] == 'no' ? '--no-provision' : nil
|
39
40
|
keyfile = options[:keyfile] ? ['--keyfile', options[:keyfile]] : nil
|
40
41
|
debug = options[:debug] ? ['--log-level', 'debug'] : nil
|
42
|
+
color = options[:color] == 'no' ? ['--no-color'] : nil
|
41
43
|
|
42
44
|
# Configure all nodes in nodeset
|
43
|
-
c.setup([fresh_nodes, '--hosts', nodesetfile, keyfile, debug].flatten.compact)
|
45
|
+
c.setup([fresh_nodes, '--hosts', nodesetfile, keyfile, debug, color].flatten.compact)
|
44
46
|
c.provision
|
45
47
|
c.validate
|
46
48
|
c.configure
|
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: 5.
|
4
|
+
version: 5.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppetlabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -206,11 +206,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
206
|
version: '0'
|
207
207
|
requirements: []
|
208
208
|
rubyforge_project:
|
209
|
-
rubygems_version: 2.4.
|
209
|
+
rubygems_version: 2.4.6
|
210
210
|
signing_key:
|
211
211
|
specification_version: 4
|
212
212
|
summary: RSpec bindings for beaker
|
213
|
-
test_files:
|
214
|
-
- spec/acceptance/example_spec.rb
|
215
|
-
- spec/spec_helper.rb
|
213
|
+
test_files: []
|
216
214
|
has_rdoc:
|